]> khamidou — GitHub mirrors - electron.git/commitdiff
Pass brightray.gypi via parameters.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 12 Apr 2013 13:17:54 +0000 (21:17 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 12 Apr 2013 13:17:54 +0000 (21:17 +0800)
We need to make sure node.gyp can get variables in brightray.gypi, this
needs minimum modifications.

atom.gyp
script/update

index e41d724908d0224612311b474a04c1a62fba210c..483c32b8d5dd8daf0c162fbc93f11753a40f8e93 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
@@ -30,9 +30,6 @@
       'app/atom_library_main.h',
     ],
   },
-  'includes': [
-    'vendor/brightray/brightray.gypi',
-  ],
   'targets': [
     {
       'target_name': '<(project_name)',
index 6b81680eee3fdfe7471db0a17d9e958fea919a43..e7cc0ceabaa60f25b5cf0b3aec20c88995dc9f22 100755 (executable)
@@ -4,4 +4,4 @@ set -e
 
 cd "$(dirname "$0")/.."
 
-gyp --depth . atom.gyp
+gyp --depth . atom.gyp -I vendor/brightray/brightray.gypi