<commit_before>{
  'variables': {
    'pdf_use_skia%': 0,
  },
  'target_defaults': {
    'defines' : [
      'FOXIT_CHROME_BUILD',
      '_FXFT_VERSION_=2501',
      '_FPDFSDK_LIB',
      '_NO_GDIPLUS_',  # workaround text rendering issues on Windows
    ],
    'conditions': [
      ['pdf_use_skia==1', {
        'defines': ['_SKIA_SUPPORT_'],
      }],
      ['OS=="linux"', {
        'cflags!': [
          '-fno-exceptions',
        ],
        'conditions': [
          ['target_arch=="x64"', {
            'defines' : [
              '_FX_CPU_=_FX_X64_',
            ],
            'cflags': [
              '-fPIC',
            ],
          }],
          ['target_arch=="ia32"', {
            'defines' : [
              '_FX_CPU_=_FX_X86_',
            ],
          }],
        ],
      }],
      ['OS=="mac"', {
        'xcode_settings': {
          'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
        },
      }],
    ],
    'msvs_disabled_warnings': [
      4005, 4018, 4146, 4333, 4345
    ],
  },
  'targets': [
    {
      'target_name': 'pdfium',
      'type': 'static_library',
      'dependencies': [
        'safemath',
        'fdrm',
        'fpdfdoc',
        'fpdfapi',
        'fpdftext',
        'formfiller',
        'fxcodec',
        'fxcrt',
        'fxedit',
        'fxge',
        'javascript',
        'jsapi',
        'pdfwindow',
      ],<commit_msg>Disable warning 4267 in pdfium until it is fixed.<commit_after>{
  'variables': {
    'pdf_use_skia%': 0,
  },
  'target_defaults': {
    'defines' : [
      'FOXIT_CHROME_BUILD',
      '_FXFT_VERSION_=2501',
      '_FPDFSDK_LIB',
      '_NO_GDIPLUS_',  # workaround text rendering issues on Windows
    ],
    'conditions': [
      ['pdf_use_skia==1', {
        'defines': ['_SKIA_SUPPORT_'],
      }],
      ['OS=="linux"', {
        'cflags!': [
          '-fno-exceptions',
        ],
        'conditions': [
          ['target_arch=="x64"', {
            'defines' : [
              '_FX_CPU_=_FX_X64_',
            ],
            'cflags': [
              '-fPIC',
            ],
          }],
          ['target_arch=="ia32"', {
            'defines' : [
              '_FX_CPU_=_FX_X86_',
            ],
          }],
        ],
      }],
      ['OS=="mac"', {
        'xcode_settings': {
          'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
        },
      }],
    ],
    'msvs_disabled_warnings': [
      4005, 4018, 4146, 4333, 4345, 4267
    ],
  },
  'targets': [
    {
      'target_name': 'pdfium',
      'type': 'static_library',
      'dependencies': [
        'safemath',
        'fdrm',
        'fpdfdoc',
        'fpdfapi',
        'fpdftext',
        'formfiller',
        'fxcodec',
        'fxcrt',
        'fxedit',
        'fxge',
        'javascript',
        'jsapi',
        'pdfwindow',
      ],
{'fraction_non_alphanumeric': 0.17609162491052255, 'fraction_numerical': 0.02720114531138153, 'mean_word_length': 1.428323197219809, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1393264', 'n_tokens_mistral': 1046, 'n_tokens_neox': 987, 'n_words': 131}