Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: scripts/slave/recipe_modules/libyuv/chromium_config.py

Issue 1111413005: Some changes to allow recipes and modules to live noncentrally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Review comments Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 6
7 from RECIPE_MODULES.chromium import CONFIG_CTX 7 import DEPS
8 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX
8 from slave.recipe_config_types import Path 9 from slave.recipe_config_types import Path
9 10
10 11
11 @CONFIG_CTX(includes=['chromium']) 12 @CONFIG_CTX(includes=['chromium'])
12 def libyuv(c): 13 def libyuv(c):
13 _libyuv_common(c) 14 _libyuv_common(c)
14 15
15 c.runtests.memory_tests_runner = Path('[CHECKOUT]', 'tools', 16 c.runtests.memory_tests_runner = Path('[CHECKOUT]', 'tools',
16 'valgrind-libyuv', 'libyuv_tests', 17 'valgrind-libyuv', 'libyuv_tests',
17 platform_ext={'win': '.bat', 18 platform_ext={'win': '.bat',
(...skipping 28 matching lines...) Expand all
46 47
47 gyp_defs = c.gyp_env.GYP_DEFINES 48 gyp_defs = c.gyp_env.GYP_DEFINES
48 gyp_defs['OS'] = c.TARGET_PLATFORM 49 gyp_defs['OS'] = c.TARGET_PLATFORM
49 if c.TARGET_BITS == 64: 50 if c.TARGET_BITS == 64:
50 gyp_defs['target_subarch'] = 'arm64' 51 gyp_defs['target_subarch'] = 'arm64'
51 52
52 _libyuv_common(c) 53 _libyuv_common(c)
53 54
54 def _libyuv_common(c): 55 def _libyuv_common(c):
55 c.compile_py.default_targets = ['All'] 56 c.compile_py.default_targets = ['All']
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/gclient/config.py ('k') | scripts/slave/recipe_modules/libyuv/gclient_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698