| 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 RECIPE_MODULES.chromium import CONFIG_CTX | 5 from RECIPE_MODULES.chromium import CONFIG_CTX |
| 6 | 6 |
| 7 @CONFIG_CTX(includes=['ninja']) | 7 @CONFIG_CTX(includes=['ninja']) |
| 8 def android_defaults(c): | 8 def android_defaults(c): |
| 9 c.compile_py.default_targets=['All'] | 9 c.compile_py.default_targets=['All'] |
| 10 c.gyp_env.GYP_CROSSCOMPILE = 1 | 10 c.gyp_env.GYP_CROSSCOMPILE = 1 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 @CONFIG_CTX(includes=['android_defaults', 'clang', 'goma']) | 26 @CONFIG_CTX(includes=['android_defaults', 'clang', 'goma']) |
| 27 def clang_builder(c): | 27 def clang_builder(c): |
| 28 pass | 28 pass |
| 29 | 29 |
| 30 @CONFIG_CTX(includes=['main_builder']) | 30 @CONFIG_CTX(includes=['main_builder']) |
| 31 def component_builder(c): | 31 def component_builder(c): |
| 32 c.gyp_env.GYP_DEFINES['component'] = 'shared_library' | 32 c.gyp_env.GYP_DEFINES['component'] = 'shared_library' |
| 33 | 33 |
| 34 @CONFIG_CTX(includes=['main_builder']) | 34 @CONFIG_CTX(includes=['main_builder']) |
| 35 def x86_builder(c): | 35 def x86_builder(c): |
| 36 pass | 36 c.gyp_env.GYP_DEFINES['target_arch'] = 'x86' |
| 37 | 37 |
| 38 @CONFIG_CTX(includes=['main_builder']) | 38 @CONFIG_CTX(includes=['main_builder']) |
| 39 def klp_builder(c): | 39 def klp_builder(c): |
| 40 pass | 40 gyp_defs = c.gyp_env.GYP_DEFINES |
| 41 gyp_defs['android_sdk_version'] = 'KeyLimePie' |
| 42 gyp_defs['android_sdk_root'] = ['third_party', 'android_tools_internal', |
| 43 'sdk'] |
| 41 | 44 |
| 42 @CONFIG_CTX(includes=['main_builder']) | 45 @CONFIG_CTX(includes=['main_builder']) |
| 43 def try_builder(c): | 46 def try_builder(c): |
| 44 pass | 47 pass |
| OLD | NEW |