Change cc list to be pdfium-reviews@googlegroups.com
[pdfium.git] / pdfium.gyp
index c5d01da..e8e706e 100644 (file)
@@ -41,9 +41,9 @@
         },
       }],
       ['clang==1', {
-        'cflags!': [
-          '-Werror',
-        ],
+         'cflags!': [
+           '-Werror',
+         ],
       }],
     ],
     'msvs_disabled_warnings': [
           ],
         }],
       ],
+      'all_dependent_settings': {
+        'msvs_settings': {
+          'VCLinkerTool': {
+            'AdditionalDependencies': [
+              'advapi32.lib',
+              'gdi32.lib',
+              'user32.lib',
+            ],
+          },
+        },
+        'conditions': [
+          ['OS=="mac"', {
+            'link_settings': {
+              'libraries': [
+                '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
+                '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
+              ],
+            },
+          }],
+        ],
+      },
     },
     {
       'target_name': 'fdrm',
         'core/include/fxcrt/fx_basic.h',
         'core/include/fxcrt/fx_coordinates.h',
         'core/include/fxcrt/fx_ext.h',
-        'core/include/fxcrt/fx_fix.h',
         'core/include/fxcrt/fx_memory.h',
         'core/include/fxcrt/fx_stream.h',
         'core/include/fxcrt/fx_string.h',
       ],
     },
   ],
-  'conditions': [
-    ['OS=="mac" or OS=="linux"', {
-      'targets': [
-        {
-          'target_name': 'gcctest',
-          'type': 'executable',
-          'dependencies': [
-            'fpdfsdk',
-          ],
-          'conditions': [
-            ['OS=="mac"', {
-              'link_settings': {
-                'libraries': [
-                  '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
-                ],
-              },
-            }],
-          ],
-          'sources': [
-            'test/gcctest.cpp',
-          ],
-        }
-      ],
-    }],
-  ],
 }
-