| 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_types import Path | 5 from slave.recipe_config_types import Path |
| 6 from slave import recipe_config | 6 from slave import recipe_config |
| 7 | 7 |
| 8 from RECIPE_MODULES.chromium import CONFIG_CTX | 8 from RECIPE_MODULES.chromium import CONFIG_CTX |
| 9 | 9 |
| 10 @CONFIG_CTX(includes=['android_common', 'ninja', 'static_library'], | 10 @CONFIG_CTX(includes=['android_common', 'ninja', 'static_library'], |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 @CONFIG_CTX(includes=['base_config', 'clang', 'goma']) | 29 @CONFIG_CTX(includes=['base_config', 'clang', 'goma']) |
| 30 def clang_builder(c): | 30 def clang_builder(c): |
| 31 c.gyp_env.GYP_DEFINES['component'] = 'shared_library' | 31 c.gyp_env.GYP_DEFINES['component'] = 'shared_library' |
| 32 c.gyp_env.GYP_DEFINES['asan'] = 1 | 32 c.gyp_env.GYP_DEFINES['asan'] = 1 |
| 33 c.gyp_env.GYP_DEFINES['use_allocator'] = 'none' | 33 c.gyp_env.GYP_DEFINES['use_allocator'] = 'none' |
| 34 | 34 |
| 35 @CONFIG_CTX(includes=['base_config', 'clang', 'goma']) | 35 @CONFIG_CTX(includes=['base_config', 'clang', 'goma']) |
| 36 def clang_release_builder(c): | 36 def clang_release_builder(c): |
| 37 c.gyp_env.GYP_DEFINES['component'] = 'shared_library' | 37 c.gyp_env.GYP_DEFINES['component'] = 'shared_library' |
| 38 c.gyp_env.GYP_DEFINES['asan'] = 1 | 38 c.gyp_env.GYP_DEFINES['asan'] = 1 |
| 39 c.gyp_env.GYP_DEFINES['asan_coverage'] = 1 | 39 c.gyp_env.GYP_DEFINES['sanitizer_coverage'] = 3 |
| 40 c.gyp_env.GYP_DEFINES['use_allocator'] = 'none' | 40 c.gyp_env.GYP_DEFINES['use_allocator'] = 'none' |
| 41 c.compile_py.default_targets = ['chrome_apk'] | 41 c.compile_py.default_targets = ['chrome_apk'] |
| 42 | 42 |
| 43 @CONFIG_CTX(includes=['clang_release_builder']) | 43 @CONFIG_CTX(includes=['clang_release_builder']) |
| 44 def clang_release_builder_l(c): | 44 def clang_release_builder_l(c): |
| 45 pass | 45 pass |
| 46 | 46 |
| 47 @CONFIG_CTX(includes=['main_builder']) | 47 @CONFIG_CTX(includes=['main_builder']) |
| 48 def component_builder(c): | 48 def component_builder(c): |
| 49 c.gyp_env.GYP_DEFINES['component'] = 'shared_library' | 49 c.gyp_env.GYP_DEFINES['component'] = 'shared_library' |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 @CONFIG_CTX(includes=['main_builder']) | 165 @CONFIG_CTX(includes=['main_builder']) |
| 166 def perf(c): | 166 def perf(c): |
| 167 gyp_defs = c.gyp_env.GYP_DEFINES | 167 gyp_defs = c.gyp_env.GYP_DEFINES |
| 168 gyp_defs['branding'] = 'Chrome' | 168 gyp_defs['branding'] = 'Chrome' |
| 169 gyp_defs['buildtype'] = 'Official' | 169 gyp_defs['buildtype'] = 'Official' |
| 170 | 170 |
| 171 @CONFIG_CTX(includes=['main_builder']) | 171 @CONFIG_CTX(includes=['main_builder']) |
| 172 def webview_perf(c): | 172 def webview_perf(c): |
| 173 gyp_defs = c.gyp_env.GYP_DEFINES | 173 gyp_defs = c.gyp_env.GYP_DEFINES |
| 174 gyp_defs['android_webview_telemetry_build'] = 1 | 174 gyp_defs['android_webview_telemetry_build'] = 1 |
| OLD | NEW |