| 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 recipe_engine.config import BadConf |
| 6 from recipe_engine.config_types import Path |
| 6 | 7 |
| 7 import DEPS | 8 import DEPS |
| 8 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX | 9 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX |
| 9 from slave.recipe_config_types import Path | |
| 10 | 10 |
| 11 | 11 |
| 12 SUPPORTED_TARGET_ARCHS = ('intel', 'arm') | 12 SUPPORTED_TARGET_ARCHS = ('intel', 'arm') |
| 13 | 13 |
| 14 | 14 |
| 15 @CONFIG_CTX(includes=['chromium', 'dcheck']) | 15 @CONFIG_CTX(includes=['chromium', 'dcheck']) |
| 16 def webrtc_standalone(c): | 16 def webrtc_standalone(c): |
| 17 _compiler_defaults(c) | 17 _compiler_defaults(c) |
| 18 | 18 |
| 19 c.runtests.memory_tests_runner = Path('[CHECKOUT]', 'tools', | 19 c.runtests.memory_tests_runner = Path('[CHECKOUT]', 'tools', |
| (...skipping 28 matching lines...) Expand all Loading... |
| 48 | 48 |
| 49 @CONFIG_CTX(includes=['gn']) | 49 @CONFIG_CTX(includes=['gn']) |
| 50 def webrtc_gn(c): | 50 def webrtc_gn(c): |
| 51 c.compile_py.default_targets = ['all'] | 51 c.compile_py.default_targets = ['all'] |
| 52 c.project_generator.args = ['build_with_chromium=false'] | 52 c.project_generator.args = ['build_with_chromium=false'] |
| 53 | 53 |
| 54 def _compiler_defaults(c): | 54 def _compiler_defaults(c): |
| 55 c.compile_py.default_targets = ['All'] | 55 c.compile_py.default_targets = ['All'] |
| 56 if c.TARGET_PLATFORM in ('mac', 'ios'): | 56 if c.TARGET_PLATFORM in ('mac', 'ios'): |
| 57 c.gyp_env.GYP_DEFINES['mac_sdk'] = '10.9' | 57 c.gyp_env.GYP_DEFINES['mac_sdk'] = '10.9' |
| OLD | NEW |