]> khamidou — GitHub mirrors - electron.git/commitdiff
Allow using blink's private headers
authorCheng Zhao <zcbenz@gmail.com>
Wed, 7 Jan 2015 04:53:06 +0000 (20:53 -0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 8 Jan 2015 19:50:55 +0000 (11:50 -0800)
atom.gyp
atom/common/node_includes.h
script/lib/config.py

index 3a08bd0705726a6b0a13107128e2e5b5368cf8c0..7aa21a9d584560b060622f3c26b0dc92f7780d20 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
         'vendor/brightray/vendor/download/libchromiumcontent/src/v8/include',
         # The `node.h` is using `#include"ares.h"`.
         'vendor/node/deps/cares/include',
+        # The `third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h` is using `platform/PlatformExport.h`.
+        'vendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit/Source',
       ],
       'direct_dependent_settings': {
         'include_dirs': [
index c2594122be7d1f45b7008a607e16bddbb53a1e82..80567cbd49b446115f4e0f622e86d5fd6cece1b5 100644 (file)
@@ -7,6 +7,7 @@
 
 // Include common headers for using node APIs.
 
+#undef ASSERT
 #undef CHECK
 #undef CHECK_EQ
 #undef CHECK_NE
@@ -15,6 +16,7 @@
 #undef CHECK_LE
 #undef CHECK_LT
 #undef DISALLOW_COPY_AND_ASSIGN
+#undef NO_RETURN
 #undef debug_string  // This is defined in OS X 10.9 SDK in AssertMacros.h.
 #include "vendor/node/src/env.h"
 #include "vendor/node/src/env-inl.h"
index 0558c248b99af28cf6a301e8df30c9178a241c80..6619123a83a805115cc0ec18bea86a8aa44f8e82 100644 (file)
@@ -4,7 +4,7 @@ import platform
 import sys
 
 BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'
-LIBCHROMIUMCONTENT_COMMIT = '55efd338101e08691560192b2be0f9c3b1b0eb72'
+LIBCHROMIUMCONTENT_COMMIT = 'fba5addae75d944d62a8bd5f4fd23c2929405c83'
 
 ARCH = {
     'cygwin': '32bit',