Skip to content

Commit

Permalink
Replace ${BUILT_PRODUCTS_DIR} with <(PRODUCT_DIR).
Browse files Browse the repository at this point in the history
GYP internally converts <(PRODUCT_DIR) with ${BUILT_PRODUCTS_DIR} on Mac
build.
https://gyp.gsrc.io/docs/InputFormatReference.md#Predefined-Variables

This CL should not change any results.  This is a refactoring.

BUG=#247
TEST=compile
REF_BUG=22545802
REF_CL=100648617
  • Loading branch information
hiroyuki-komatsu authored and yukawa committed Dec 31, 2015
1 parent 0964d5e commit be24638
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/mac/mac.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@
'--input', 'installer/<(branding)_template.pkgproj',
'--version_file', '../mozc_version.txt',
'--gen_out_dir', '<(gen_out_dir)',
'--build_dir', '$(BUILT_PRODUCTS_DIR)',
'--build_dir', '<(PRODUCT_DIR)',
'--build_type', '<(build_type)',
],
},
Expand All @@ -542,13 +542,13 @@
{
'action_name': 'generate',
'inputs': [
'$(BUILT_PRODUCTS_DIR)/ActivatePane.bundle',
'$(BUILT_PRODUCTS_DIR)/<(branding).app',
'$(BUILT_PRODUCTS_DIR)/Uninstall<(branding).app',
'<(PRODUCT_DIR)/ActivatePane.bundle',
'<(PRODUCT_DIR)/<(branding).app',
'<(PRODUCT_DIR)/Uninstall<(branding).app',
'<(gen_out_dir)/<(branding).pkgproj',
],
'outputs': [
'$(BUILT_PRODUCTS_DIR)/<(branding).pkg',
'<(PRODUCT_DIR)/<(branding).pkg',
],
'action': [
'python', '../build_tools/build_and_sign_pkg_mac.py',
Expand All @@ -557,10 +557,10 @@
'conditions': [
['branding=="GoogleJapaneseInput"', {
'inputs': [
'$(BUILT_PRODUCTS_DIR)/DevConfirmPane.bundle',
'<(PRODUCT_DIR)/DevConfirmPane.bundle',
],
'action': [
'--signpkg', '$(BUILT_PRODUCTS_DIR)/<(branding).pkg',
'--signpkg', '<(PRODUCT_DIR)/<(branding).pkg',
],
}],
],
Expand Down
2 changes: 1 addition & 1 deletion src/mozc_version_template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MAJOR=2
MINOR=17
BUILD=2283
BUILD=2284
REVISION=102
# NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
# downloaded by NaCl Mozc.
Expand Down

0 comments on commit be24638

Please sign in to comment.