Add native_mate as dependency.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 15 Apr 2014 03:15:46 +0000 (11:15 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 15 Apr 2014 03:15:46 +0000 (11:15 +0800)
.gitmodules
atom.gyp
vendor/native_mate [new submodule]

index 7b3e48f..5014273 100644 (file)
@@ -13,3 +13,6 @@
 [submodule "vendor/breakpad"]
        path = vendor/breakpad
        url = https://github.com/atom/chromium-breakpad.git
+[submodule "vendor/native_mate"]
+       path = vendor/native_mate
+       url = https://github.com/zcbenz/native-mate.git
index 9ceabcb..e637a4d 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
@@ -1,5 +1,8 @@
 {
   'variables': {
+    'includes': [
+      'vendor/native_mate/native_mate_files.gypi',
+    ],
     'project_name': 'atom',
     'product_name': 'Atom',
     'framework_name': 'Atom Framework',
       'chrome/browser/ui/gtk/gtk_window_util.h',
       'chrome/browser/ui/gtk/menu_gtk.cc',
       'chrome/browser/ui/gtk/menu_gtk.h',
+      '<@(native_mate_files)',
     ],
     'framework_sources': [
       'atom/app/atom_library_main.cc',
       'include_dirs': [
         '.',
         'vendor/brightray',
+        'vendor/native_mate',
         # Include directories for uv and node.
         'vendor/node/src',
         'vendor/node/deps/http_parser',
diff --git a/vendor/native_mate b/vendor/native_mate
new file mode 160000 (submodule)
index 0000000..4cada31
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 4cada31f808994b297439dff429638debc4a4ee9