]> khamidou — GitHub mirrors - electron.git/commitdiff
Use the platform_util_win implementation from Chromium.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 2 Jul 2013 10:47:51 +0000 (18:47 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 2 Jul 2013 10:47:51 +0000 (18:47 +0800)
atom.gyp
common.gypi

index 11ca0cef14934d7582494bc57dc43bba53552c33..9fbf8bf19271800e7e5f7e4769e770497c93f03e 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
       'common/node_bindings_mac.mm',
       'common/options_switches.cc',
       'common/options_switches.h',
-      'common/platform_util_mac.mm',
       'common/platform_util.h',
+      'common/platform_util_mac.mm',
+      'common/platform_util_win.cc',
       'common/v8_value_converter_impl.cc',
       'common/v8_value_converter_impl.h',
       'renderer/api/atom_api_renderer_ipc.cc',
index 8efe92b4b719ad7af4d178cfbffcfd6632808194..d36fb3fd3eecf423c3ba328595172526149e0dc0 100644 (file)
@@ -61,6 +61,7 @@
     'msvs_cygwin_shell': 0, # Strangely setting it to 1 would make building under cygwin fail.
     'msvs_disabled_warnings': [
       4005,  # (node.h) macro redefinition
+      4189,  # local variable is initialized but not referenced
       4201,  # (uv.h) nameless struct/union
       4800,  # (v8.h) forcing value to bool 'true' or 'false'
       4819,  # The file contains a character that cannot be represented in the current code page