Browse Source

Add native_mate as dependency.

Cheng Zhao 11 years ago
parent
commit
16af53237c
3 changed files with 9 additions and 0 deletions
  1. 3 0
      .gitmodules
  2. 5 0
      atom.gyp
  3. 1 0
      vendor/native_mate

+ 3 - 0
.gitmodules

@@ -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

+ 5 - 0
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',
@@ -215,6 +218,7 @@
       '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',
@@ -371,6 +375,7 @@
       'include_dirs': [
         '.',
         'vendor/brightray',
+        'vendor/native_mate',
         # Include directories for uv and node.
         'vendor/node/src',
         'vendor/node/deps/http_parser',

+ 1 - 0
vendor/native_mate

@@ -0,0 +1 @@
+Subproject commit 4cada31f808994b297439dff429638debc4a4ee9