OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from slave.recipe_config import BadConf | 5 from slave.recipe_config import BadConf |
6 from slave.recipe_config_types import Path | 6 from slave.recipe_config_types import Path |
7 from slave import recipe_config | 7 from slave import recipe_config |
8 | 8 |
9 import DEPS | 9 import DEPS |
10 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX | 10 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 if c.TARGET_BITS == 64: | 46 if c.TARGET_BITS == 64: |
47 c.build_config_fs = 'android_arm64.release' | 47 c.build_config_fs = 'android_arm64.release' |
48 else: | 48 else: |
49 c.build_config_fs = 'android_arm.release' | 49 c.build_config_fs = 'android_arm.release' |
50 | 50 |
51 | 51 |
52 @CONFIG_CTX(includes=['v8']) | 52 @CONFIG_CTX(includes=['v8']) |
53 def arm_hard_float(c): | 53 def arm_hard_float(c): |
54 c.compile_py.pass_arch_flag = True | 54 c.compile_py.pass_arch_flag = True |
55 c.compile_py.cross_tool = '/usr/bin/arm-linux-gnueabihf' | 55 c.compile_py.cross_tool = '/usr/bin/arm-linux-gnueabihf' |
56 c.gyp_env.GYP_DEFINES['arm_float_abi'] = 'hard' | |
57 | 56 |
58 | 57 |
59 @CONFIG_CTX(includes=['v8']) | 58 @CONFIG_CTX(includes=['v8']) |
60 def disassembler(c): | 59 def disassembler(c): |
61 c.gyp_env.GYP_DEFINES['v8_enable_disassembler'] = 1 | 60 c.gyp_env.GYP_DEFINES['v8_enable_disassembler'] = 1 |
62 | 61 |
63 | 62 |
64 @CONFIG_CTX(includes=['v8']) | 63 @CONFIG_CTX(includes=['v8']) |
65 def embed_script_mjsunit(c): | 64 def embed_script_mjsunit(c): |
66 c.gyp_env.GYP_DEFINES['embed_script'] = Path( | 65 c.gyp_env.GYP_DEFINES['embed_script'] = Path( |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 def vtunejit(c): | 179 def vtunejit(c): |
181 c.gyp_env.GYP_DEFINES['v8_enable_vtunejit'] = 1 | 180 c.gyp_env.GYP_DEFINES['v8_enable_vtunejit'] = 1 |
182 | 181 |
183 | 182 |
184 @CONFIG_CTX(includes=['v8']) | 183 @CONFIG_CTX(includes=['v8']) |
185 def x87(c): | 184 def x87(c): |
186 # TODO(machenbach): Chromium does not support x87 yet. With the current | 185 # TODO(machenbach): Chromium does not support x87 yet. With the current |
187 # configuration, target_arch can't be set through a parameter as ARCH=intel | 186 # configuration, target_arch can't be set through a parameter as ARCH=intel |
188 # and BITS=32 is ambigue with x87. | 187 # and BITS=32 is ambigue with x87. |
189 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'x87' | 188 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'x87' |
OLD | NEW |