Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
To build mozc_emacs_helper on Mac OS X
diff --git a/src/build_mozc.py b/src/build_mozc.py
index b972602..59a65d0 100644
--- a/src/build_mozc.py
+++ b/src/build_mozc.py
@@ -211,6 +211,8 @@ def GetGypFileNames(options):
# Include subdirectory of win32 and breakpad for Windows
if options.target_platform == 'Windows':
gyp_file_names.extend(glob.glob('%s/win32/*/*.gyp' % SRC_DIR))
+ elif options.target_platform == 'Mac':
+ gyp_file_names.extend(glob.glob('%s/unix/emacs/*.gyp' % SRC_DIR))
elif options.target_platform == 'Linux':
gyp_file_names.extend(glob.glob('%s/unix/*/*.gyp' % SRC_DIR))
# Add ibus.gyp if ibus version is >=1.4.1.
diff --git a/src/data_manager/packed/packed_data_manager.gyp b/src/data_manager/packed/packed_data_manager.gyp
index fb39b7f..ea24cbd 100644
--- a/src/data_manager/packed/packed_data_manager.gyp
+++ b/src/data_manager/packed/packed_data_manager.gyp
@@ -40,6 +40,13 @@
},
'includes': [ 'packed_data_manager.gypi' ],
}],
+ ['branding=="GoogleJapaneseInput"', {
+ 'variables': {
+ 'dataset_dir': 'oss',
+ 'dataset_tag': 'oss',
+ },
+ 'includes': [ 'packed_data_manager.gypi' ],
+ }],
['branding=="Mozc"', {
'variables': {
'dataset_dir': 'oss',
diff --git a/src/data_manager/packed/packed_data_manager_base.gyp b/src/data_manager/packed/packed_data_manager_base.gyp
index 60a747d..2522cc7 100644
--- a/src/data_manager/packed/packed_data_manager_base.gyp
+++ b/src/data_manager/packed/packed_data_manager_base.gyp
@@ -96,6 +96,13 @@
},
'includes': [ 'packed_data_manager_base.gypi' ],
}],
+ ['branding=="GoogleJapaneseInput"', {
+ 'variables': {
+ 'dataset_dir': 'oss',
+ 'dataset_tag': 'oss',
+ },
+ 'includes': [ 'packed_data_manager_base.gypi' ],
+ }],
['branding=="Mozc"', {
'variables': {
'dataset_dir': 'oss',
diff --git a/src/mac/mac.gyp b/src/mac/mac.gyp
index ccb1645..bfd3d24 100644
--- a/src/mac/mac.gyp
+++ b/src/mac/mac.gyp
@@ -586,7 +586,6 @@
['branding=="GoogleJapaneseInput"', {
'dependencies': [
'DevConfirmPane',
- 'codesign_client',
],
}],
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment