<commit_before>{
  'includes': [ 'common.gypi' ],
  'variables': {
    'coverage': 'false'
  },
  'targets': [
    {
      'target_name': 'action_before_build',
      'hard_dependency': 1,
      'type': 'none',
      'actions': [
        {
          'action_name': 'generate_protoc_files',
          'inputs': [
            './node_modules/mapnik-vector-tile/proto/'
          ],
          'outputs': [
            '<(SHARED_INTERMEDIATE_DIR)/vector_tile.pb.cc',
            '<(SHARED_INTERMEDIATE_DIR)/vector_tile.pb.h'
          ],
          'action': [ 'protoc',
            '-I<(RULE_INPUT_PATH)',
            '--cpp_out=<(SHARED_INTERMEDIATE_DIR)/',
            '<(RULE_INPUT_PATH)/vector_tile.proto']
        },
        {
          'action_name': 'generate_setting',
          'inputs': [
            'gen_settings.py'
          ],
          'outputs': [
            '<(SHARED_INTERMEDIATE_DIR)/mapnik_settings.js'
          ],
          'action': ['python', 'gen_settings.py', '<(SHARED_INTERMEDIATE_DIR)/mapnik_settings.js']
        }
      ],
      'copies': [
        {
          'files': [ '<(SHARED_INTERMEDIATE_DIR)/mapnik_settings.js' ],
          'destination': '<(module_path)'
        }
      ]
    },
    {
      'target_name': '<(module_name)',
      'dependencies': [ 'action_before_build' ],
      'sources': [
        "src/mapnik_logger.cpp",
        "src/node_mapnik.cpp",
        "src/blend.cpp",
        "src/mapnik_map.cpp",
        "src/mapnik_color.cpp",
        "src/mapnik_geometry.cpp",
        "src/mapnik_feature.cpp",
        "src/mapnik_image.cpp",
        "src/mapnik_image_view.cpp",
        "src/mapnik_grid.cpp",
        "src/mapnik_grid_view.cpp",
        "src/mapnik_memory_datasource.cpp",
        "src/mapnik_palette.cpp",
        "src/mapnik_projection.cpp",
        "src/mapnik_layer.cpp",
        "src/mapnik_datasource.cpp",
        "src/mapnik_featureset.cpp",
        "src/mapnik_expression.cpp",
        "src/mapnik_cairo_surface.cpp",
        "src/mapnik_vector_tile.cpp",
        "<(SHARED_INTERMEDIATE_DIR)/vector_tile.pb.cc"
      ],
      'include_dirs': [
        './deps/clipper/'
        './node_modules/mapnik-vector-tile/src/',
        '<(SHARED_INTERMEDIATE_DIR)/',
        './src',
        "<!(node -e \"require('nan')\")"
      ],
      'defines': ['MAPNIK_GIT_REVISION="<!@(mapnik-config --git-describe)"'],
      'conditions': [
        ["coverage == 'true'", {
            "cflags_cc": ["--coverage"],
            "xcode_settings": {
                "OTHER_CPLUSPLUSFLAGS":[
                    "--coverage"
                ],
                'OTHER_LDFLAGS':[
                    '--coverage'
                ]
            }
        }],
        ['OS=="win"',
          {
            'include_dirs':[
              '<!@(mapnik-config --includes)',
              '<!@(mapnik-config --dep-includes)'
            ],
            'defines': ['NOMINMAX','<!@(mapnik-config --defines)'],
            'libraries': [
              '<!@(mapnik-config --libs)',
              'mapnik-wkt.lib',
              'mapnik-json.lib',
              '<!@(mapnik-config --dep-libs)',<commit_msg>fix include_dirs typo<commit_after>{
  'includes': [ 'common.gypi' ],
  'variables': {
    'coverage': 'false'
  },
  'targets': [
    {
      'target_name': 'action_before_build',
      'hard_dependency': 1,
      'type': 'none',
      'actions': [
        {
          'action_name': 'generate_protoc_files',
          'inputs': [
            './node_modules/mapnik-vector-tile/proto/'
          ],
          'outputs': [
            '<(SHARED_INTERMEDIATE_DIR)/vector_tile.pb.cc',
            '<(SHARED_INTERMEDIATE_DIR)/vector_tile.pb.h'
          ],
          'action': [ 'protoc',
            '-I<(RULE_INPUT_PATH)',
            '--cpp_out=<(SHARED_INTERMEDIATE_DIR)/',
            '<(RULE_INPUT_PATH)/vector_tile.proto']
        },
        {
          'action_name': 'generate_setting',
          'inputs': [
            'gen_settings.py'
          ],
          'outputs': [
            '<(SHARED_INTERMEDIATE_DIR)/mapnik_settings.js'
          ],
          'action': ['python', 'gen_settings.py', '<(SHARED_INTERMEDIATE_DIR)/mapnik_settings.js']
        }
      ],
      'copies': [
        {
          'files': [ '<(SHARED_INTERMEDIATE_DIR)/mapnik_settings.js' ],
          'destination': '<(module_path)'
        }
      ]
    },
    {
      'target_name': '<(module_name)',
      'dependencies': [ 'action_before_build' ],
      'sources': [
        "src/mapnik_logger.cpp",
        "src/node_mapnik.cpp",
        "src/blend.cpp",
        "src/mapnik_map.cpp",
        "src/mapnik_color.cpp",
        "src/mapnik_geometry.cpp",
        "src/mapnik_feature.cpp",
        "src/mapnik_image.cpp",
        "src/mapnik_image_view.cpp",
        "src/mapnik_grid.cpp",
        "src/mapnik_grid_view.cpp",
        "src/mapnik_memory_datasource.cpp",
        "src/mapnik_palette.cpp",
        "src/mapnik_projection.cpp",
        "src/mapnik_layer.cpp",
        "src/mapnik_datasource.cpp",
        "src/mapnik_featureset.cpp",
        "src/mapnik_expression.cpp",
        "src/mapnik_cairo_surface.cpp",
        "src/mapnik_vector_tile.cpp",
        "<(SHARED_INTERMEDIATE_DIR)/vector_tile.pb.cc"
      ],
      'include_dirs': [
        './deps/clipper/',
        './node_modules/mapnik-vector-tile/src/',
        '<(SHARED_INTERMEDIATE_DIR)/',
        './src',
        "<!(node -e \"require('nan')\")"
      ],
      'defines': ['MAPNIK_GIT_REVISION="<!@(mapnik-config --git-describe)"'],
      'conditions': [
        ["coverage == 'true'", {
            "cflags_cc": ["--coverage"],
            "xcode_settings": {
                "OTHER_CPLUSPLUSFLAGS":[
                    "--coverage"
                ],
                'OTHER_LDFLAGS':[
                    '--coverage'
                ]
            }
        }],
        ['OS=="win"',
          {
            'include_dirs':[
              '<!@(mapnik-config --includes)',
              '<!@(mapnik-config --dep-includes)'
            ],
            'defines': ['NOMINMAX','<!@(mapnik-config --defines)'],
            'libraries': [
              '<!@(mapnik-config --libs)',
              'mapnik-wkt.lib',
              'mapnik-json.lib',
              '<!@(mapnik-config --dep-libs)',
{'fraction_non_alphanumeric': 0.17602162505962793, 'fraction_numerical': 0.0003180155827635554, 'mean_word_length': 1.6618705035971224, 'pattern_counts': {'":': 6, '<': 41, '<?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': '1813904', 'n_tokens_mistral': 2128, 'n_tokens_neox': 2131, 'n_words': 209}