Skip to content

Instantly share code, notes, and snippets.

@guehara
Created November 19, 2014 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guehara/856103d2ba2b55dd6789 to your computer and use it in GitHub Desktop.
Save guehara/856103d2ba2b55dd6789 to your computer and use it in GitHub Desktop.
Index: build_mozc.py
===================================================================
--- build_mozc.py (revision 383)
+++ build_mozc.py (working copy)
@@ -213,6 +213,8 @@
# 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.
@@ -1042,6 +1044,7 @@
'-project', '%s.xcodeproj' % xcode_base_name,
'-configuration', options.configuration,
'-target', target_name,
+ '-sdk', 'macosx',
'-parallelizeTargets',
'BUILD_WITH_GYP=1'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment