<commit_before>{
  'targets': [
    {
      'target_name': 'wrap',
      'type':'none',
      'dependencies': [
        'publish'
      ],
      'actions':[
        {
          'action_name':'npm',
          'inputs':[''],
          'outputs':[''],
          'conditions':[
            ['OS!="win"', {
              'action':['<(module_root_dir)/data/add-dependencies.sh','<(module_root_dir)/publish/node_modules/appjs-<(OS)']
            }],
            ['OS=="win"', {
              'action':['"<(module_root_dir)/data/add-dependencies.bat"','<(module_root_dir)/publish/node_modules/appjs-<(OS)']
            }]
          ]
        },
      ],
      'copies':[
        {
          'destination': '<(module_root_dir)/publish/node_modules/',
          'files': [
            '<(module_root_dir)/data/common/appjs/'
          ]
        }
      ]
    },
    {
      'target_name': 'publish',
      'type':'none',
      'dependencies': [
        'appjs'
      ],
      'copies':[
        {
          'destination': '<(module_root_dir)/publish/node_modules/appjs-<(OS)',
          'files': [
            '<(module_root_dir)/lib/',
            '<(module_root_dir)/index.js',
            '<(module_root_dir)/examples/',
            '<(module_root_dir)/data/common/README.md'
          ]
        },
        {
          'destination': '<(module_root_dir)/publish/',
          'files': [
            '<(module_root_dir)/data/common/app.js'
          ]
        }
      ],
      'conditions': [
        ['OS=="mac"', {
          'copies': [
            {
              'destination': '<(module_root_dir)/build/Release/',
              'files': [
                '<(module_root_dir)/deps/cef/Release/lib.target/libcef.dylib',
              ]
            },
            {
              'destination': '<(module_root_dir)/publish/node_modules/appjs-mac/build/Release',
              'files': [
                '<(module_root_dir)/deps/cef/Release/lib.target/libcef.dylib',
                '<(module_root_dir)/deps/cef/Release/lib.target/ffmpegsumo.so',
                '<(PRODUCT_DIR)/appjs.node'
              ],
            },
            {
              'destination': '<(module_root_dir)/publish/node_modules/appjs-mac',
              'files': [
                '<(module_root_dir)/data/mac/package.json',
              ],
            },
            {
              'destination': '<(module_root_dir)/publish/',
              'files': [
                '<(module_root_dir)/data/mac/launch.sh',
              ]
            },
            {
              'destination': '<(module_root_dir)/publish/bin/',
              'files': [
                '<(module_root_dir)/data/mac/node-bin/node/',
              ]
            }
          ]
        }],
        ['OS=="linux"', {
          'copies': [
            {
              'destination': '<(module_root_dir)/build/Release/',
              'files': [
                '<(module_root_dir)/deps/cef/Release/lib.target/libcef.so',
              ]
            },
            {
              'destination': '<(module_root_dir)/publish/node_modules/appjs-linux/build/Release/',
              'files': [
                '<(module_root_dir)/deps/cef/Release/lib.target/libcef.so',
                '<(PRODUCT_DIR)/appjs.node'
              ],
            },
            {
              'destination': '<(module_root_dir)/publish/node_modules/appjs-linux/',
              'files': [
                '<(module_root_dir)/data/linux/package.json',
              ],
            },
            {
              'destination': '<(module_root_dir)/publish/',
              'files': [
                '<(module_root_dir)/data/linux/launch.sh',
              ]
            },
            {
              'destination': '<(module_root_dir)/publish/bin/',
              'files': [
                '<(module_root_dir)/data/linux/node-bin/<!@(node -e "console.log(require(\'os\').arch())")/node',
              ]
            }
          ]
        }],
        ['OS=="win"', {
          'copies': [
            {
              'destination': '<(module_root_dir)/build/Release/',
              'files': [
                '<(module_root_dir)/deps/cef/Release/libcef.dll',
                '<(module_root_dir)/deps/cef/Release/avcodec-54.dll',
                '<(module_root_dir)/deps/cef/Release/avformat-54.dll',
                '<(module_root_dir)/deps/cef/Release/avutil-51.dll',
                '<(module_root_dir)/deps/cef/Release/d3dcompiler_43.dll',
                '<(module_root_dir)/deps/cef/Release/d3dx9_43.dll',
                '<(module_root_dir)/deps/cef/Release/icudt.dll',
                '<(module_root_dir)/deps/cef/Release/libEGL.dll',
                '<(module_root_dir)/deps/cef/Release/libGLESv2.dll'
              ]
            },
            {
              'destination': '<(module_root_dir)/publish/node_modules/appjs-win/build/Release/',
              'files': [
                '<(module_root_dir)/deps/cef/Release/libcef.dll',
                '<(module_root_dir)/deps/cef/Release/avcodec-54.dll',
                '<(module_root_dir)/deps/cef/Release/avformat-54.dll',
                '<(module_root_dir)/deps/cef/Release/avutil-51.dll',
                '<(module_root_dir)/deps/cef/Release/d3dcompiler_43.dll',
                '<(module_root_dir)/deps/cef/Release/d3dx9_43.dll',
                '<(module_root_dir)/deps/cef/Release/icudt.dll',
                '<(module_root_dir)/deps/cef/Release/libEGL.dll',
                '<(module_root_dir)/deps/cef/Release/libGLESv2.dll',
                '<(PRODUCT_DIR)/appjs.node'
              ],
            },
            {
              'destination': '<(module_root_dir)/publish/node_modules/appjs-win/',
              'files': [
                '<(module_root_dir)/data/win/package.json',
              ],
            },
            {
              'destination': '<(module_root_dir)/publish/',
              'files': [
                '<(module_root_dir)/data/win/launch.exe',
              ]
            },
            {
              'destination': '<(module_root_dir)/publish/bin/',
              'files': [
                '<(module_root_dir)/data/win/node-bin/node.exe',
              ]
            }
          ]
        }]
      ]
    },
    {
      'target_name': 'appjs',
      'msvs_guid': 'A9D6DC71-C0DC-4549-AEB1-3B15B44E86A9',
      'sources': [ 
        'src/main.cpp',
        'src/appjs.cpp',
        'src/appjs_app.cpp',
        'src/appjs_window.cpp',
        'src/includes/cef_handler.cpp',
        'src/includes/cef.cpp',
        'src/includes/cef_loop.cpp',
        'src/includes/cef_scheme_handler.cpp',
        'src/includes/util.cpp',
      ],
      'dependencies': [
        '<(module_root_dir)/deps/cef/dll_wrapper.gyp:libcef_dll_wrapper'
      ],
      'include_dirs': [
        'src/',
        'deps/cef/'
      ],
      'cflags': [
        '-fPIC',<commit_msg>change bindings.gyp to match renaming of launch.exe<commit_after>{
  'targets': [
    {
      'target_name': 'wrap',
      'type':'none',
      'dependencies': [
        'publish'
      ],
      'actions':[
        {
          'action_name':'npm',
          'inputs':[''],
          'outputs':[''],
          'conditions':[
            ['OS!="win"', {
              'action':['<(module_root_dir)/data/add-dependencies.sh','<(module_root_dir)/publish/node_modules/appjs-<(OS)']
            }],
            ['OS=="win"', {
              'action':['"<(module_root_dir)/data/add-dependencies.bat"','<(module_root_dir)/publish/node_modules/appjs-<(OS)']
            }]
          ]
        },
      ],
      'copies':[
        {
          'destination': '<(module_root_dir)/publish/node_modules/',
          'files': [
            '<(module_root_dir)/data/common/appjs/'
          ]
        }
      ]
    },
    {
      'target_name': 'publish',
      'type':'none',
      'dependencies': [
        'appjs'
      ],
      'copies':[
        {
          'destination': '<(module_root_dir)/publish/node_modules/appjs-<(OS)',
          'files': [
            '<(module_root_dir)/lib/',
            '<(module_root_dir)/index.js',
            '<(module_root_dir)/examples/',
            '<(module_root_dir)/data/common/README.md'
          ]
        },
        {
          'destination': '<(module_root_dir)/publish/',
          'files': [
            '<(module_root_dir)/data/common/app.js'
          ]
        }
      ],
      'conditions': [
        ['OS=="mac"', {
          'copies': [
            {
              'destination': '<(module_root_dir)/build/Release/',
              'files': [
                '<(module_root_dir)/deps/cef/Release/lib.target/libcef.dylib',
              ]
            },
            {
              'destination': '<(module_root_dir)/publish/node_modules/appjs-mac/build/Release',
              'files': [
                '<(module_root_dir)/deps/cef/Release/lib.target/libcef.dylib',
                '<(module_root_dir)/deps/cef/Release/lib.target/ffmpegsumo.so',
                '<(PRODUCT_DIR)/appjs.node'
              ],
            },
            {
              'destination': '<(module_root_dir)/publish/node_modules/appjs-mac',
              'files': [
                '<(module_root_dir)/data/mac/package.json',
              ],
            },
            {
              'destination': '<(module_root_dir)/publish/',
              'files': [
                '<(module_root_dir)/data/mac/launch.sh',
              ]
            },
            {
              'destination': '<(module_root_dir)/publish/bin/',
              'files': [
                '<(module_root_dir)/data/mac/node-bin/node/',
              ]
            }
          ]
        }],
        ['OS=="linux"', {
          'copies': [
            {
              'destination': '<(module_root_dir)/build/Release/',
              'files': [
                '<(module_root_dir)/deps/cef/Release/lib.target/libcef.so',
              ]
            },
            {
              'destination': '<(module_root_dir)/publish/node_modules/appjs-linux/build/Release/',
              'files': [
                '<(module_root_dir)/deps/cef/Release/lib.target/libcef.so',
                '<(PRODUCT_DIR)/appjs.node'
              ],
            },
            {
              'destination': '<(module_root_dir)/publish/node_modules/appjs-linux/',
              'files': [
                '<(module_root_dir)/data/linux/package.json',
              ],
            },
            {
              'destination': '<(module_root_dir)/publish/',
              'files': [
                '<(module_root_dir)/data/linux/launch.sh',
              ]
            },
            {
              'destination': '<(module_root_dir)/publish/bin/',
              'files': [
                '<(module_root_dir)/data/linux/node-bin/<!@(node -e "console.log(require(\'os\').arch())")/node',
              ]
            }
          ]
        }],
        ['OS=="win"', {
          'copies': [
            {
              'destination': '<(module_root_dir)/build/Release/',
              'files': [
                '<(module_root_dir)/deps/cef/Release/libcef.dll',
                '<(module_root_dir)/deps/cef/Release/avcodec-54.dll',
                '<(module_root_dir)/deps/cef/Release/avformat-54.dll',
                '<(module_root_dir)/deps/cef/Release/avutil-51.dll',
                '<(module_root_dir)/deps/cef/Release/d3dcompiler_43.dll',
                '<(module_root_dir)/deps/cef/Release/d3dx9_43.dll',
                '<(module_root_dir)/deps/cef/Release/icudt.dll',
                '<(module_root_dir)/deps/cef/Release/libEGL.dll',
                '<(module_root_dir)/deps/cef/Release/libGLESv2.dll'
              ]
            },
            {
              'destination': '<(module_root_dir)/publish/node_modules/appjs-win/build/Release/',
              'files': [
                '<(module_root_dir)/deps/cef/Release/libcef.dll',
                '<(module_root_dir)/deps/cef/Release/avcodec-54.dll',
                '<(module_root_dir)/deps/cef/Release/avformat-54.dll',
                '<(module_root_dir)/deps/cef/Release/avutil-51.dll',
                '<(module_root_dir)/deps/cef/Release/d3dcompiler_43.dll',
                '<(module_root_dir)/deps/cef/Release/d3dx9_43.dll',
                '<(module_root_dir)/deps/cef/Release/icudt.dll',
                '<(module_root_dir)/deps/cef/Release/libEGL.dll',
                '<(module_root_dir)/deps/cef/Release/libGLESv2.dll',
                '<(PRODUCT_DIR)/appjs.node'
              ],
            },
            {
              'destination': '<(module_root_dir)/publish/node_modules/appjs-win/',
              'files': [
                '<(module_root_dir)/data/win/package.json',
              ],
            },
            {
              'destination': '<(module_root_dir)/publish/',
              'files': [
                '<(module_root_dir)/data/win/app.exe',
              ]
            },
            {
              'destination': '<(module_root_dir)/publish/bin/',
              'files': [
                '<(module_root_dir)/data/win/node-bin/node.exe',
              ]
            }
          ]
        }]
      ]
    },
    {
      'target_name': 'appjs',
      'msvs_guid': 'A9D6DC71-C0DC-4549-AEB1-3B15B44E86A9',
      'sources': [
        'src/main.cpp',
        'src/appjs.cpp',
        'src/appjs_app.cpp',
        'src/appjs_window.cpp',
        'src/includes/cef_handler.cpp',
        'src/includes/cef.cpp',
        'src/includes/cef_loop.cpp',
        'src/includes/cef_scheme_handler.cpp',
        'src/includes/util.cpp',
      ],
      'dependencies': [
        '<(module_root_dir)/deps/cef/dll_wrapper.gyp:libcef_dll_wrapper'
      ],
      'include_dirs': [
        'src/',
        'deps/cef/'
      ],
      'cflags': [
        '-fPIC',
{'fraction_non_alphanumeric': 0.17126269956458637, 'fraction_numerical': 0.006676342525399129, 'mean_word_length': 1.3867336335296154, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2163696', 'n_tokens_mistral': 4555, 'n_tokens_neox': 4498, 'n_words': 301}