Codebase list mozc / de402ef
Do not use shell syntax in gyp (part 2) This is a groundwork for Ninja migration on Linux. No user-visible behavioral changes are expected with this CL. '$' is reserved for Ninja internal use. We shouldn't rely on it in gyp layer. With this CL, a conditional action regarding symbol removal is handled in a python script rather than the gyp (and therefore Ninja) layer. BUG=mozc:222 TEST=compile and unittest git-svn-id: https://mozc.googlecode.com/svn/trunk@221 a6090854-d499-a067-5803-1114d4e51264 Yohei Yukawa 9 years ago
3 changed file(s) with 9 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
4545 '--toolchain_root=<(nacl_sdk_root)/toolchain/linux_x86_pnacl',
4646 '--input=<(RULE_INPUT_PATH)',
4747 '--output_base=<(PRODUCT_DIR)/<(RULE_INPUT_ROOT)',
48 # Strips the binaries in Release build.
49 '$(if $(filter Release,<(CONFIGURATION_NAME)),--strip,)',
48 '--configuration=<(CONFIGURATION_NAME)',
5049 ],
5150 },
5251 ],
53 }
52 }
3434 nexefile_x86_32.nexe and nexefile_x86_64.nexe.
3535
3636 python pnacl_translate.py --command=/path/to/toolchain/linux_x86_pnacl \
37 --input=/path/to/pexefile --output_base=/path/to/nexefile --strip
37 --input=/path/to/pexefile --output_base=/path/to/nexefile \
38 --configuration=Release
3839 """
3940
4041 import optparse
99100 help='input pexe file')
100101 parser.add_option('--output_base', dest='output_base',
101102 help='output base path')
102 parser.add_option('--strip', action='store_true', dest='strip',
103 default=False, help='strip the binary')
103 parser.add_option('--configuration', dest='configuration',
104 help='build configuration')
104105 (options, _) = parser.parse_args()
105106
106107 if not options.toolchain_root:
115116 print >> sys.stderr, 'Error: output_base is not set.'
116117 sys.exit(1)
117118
118 if options.strip:
119 if options.configuration == 'Release':
119120 return StripAndTranslate(options.toolchain_root,
120121 options.input,
121122 options.output_base)
00 MAJOR=1
11 MINOR=15
2 BUILD=1800
2 BUILD=1801
33 REVISION=102
44 # ANDROID_VERSION_CODE should be the number of update times.
55 # It must at least increase when the build updates.
6 ANDROID_VERSION_CODE=1800
6 ANDROID_VERSION_CODE=1801
77 # NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
88 # downloaded by NaCl Mozc.
99 NACL_DICTIONARY_VERSION=4