Fix building pdfium for x64 with ninja under windows.
[pdfium.git] / build / standalone.gypi
index 3b4f01b..5a65fa5 100644 (file)
           }],
         ],  # conditions
       },
+      'Debug_x64': {
+        'inherit_from': ['Debug'],
+        'msvs_configuration_platform': 'x64',
+      },
+      'Release_x64': {
+        'inherit_from': ['Release'],
+        'msvs_configuration_platform': 'x64',
+      },
     },
     'defines!': [
       'DEBUG',
     ['OS=="win"', {
       'target_defaults': {
         'defines': [
+          'NOMINMAX',
           '_CRT_SECURE_NO_DEPRECATE',
           '_CRT_NONSTDC_NO_DEPRECATE',
         ],
       },  # target_defaults
     }],  # OS=="mac"
   ],
+  'xcode_settings': {
+    # See comment in Chromium's common.gypi for why this is needed.
+    'SYMROOT': '<(DEPTH)/xcodebuild',
+  }
 }
\ No newline at end of file