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

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

Issue 1923883003: build: use class path bases, not strings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 4 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 recipe_engine.config import BadConf 5 from recipe_engine.config import BadConf
6 6
7 import DEPS 7 import DEPS
8 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX 8 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX
9 from recipe_engine.config_types import Path 9 from recipe_engine.config_types import Path
10 10
11 11
12 @CONFIG_CTX(includes=['chromium']) 12 @CONFIG_CTX(includes=['chromium'])
13 def libyuv(c): 13 def libyuv(c):
14 _libyuv_common(c) 14 _libyuv_common(c)
15 15
16 c.runtests.memory_tests_runner = Path('[CHECKOUT]', 'tools', 16 c.runtests.memory_tests_runner = c.CHECKOUT_PATH.join(
17 'valgrind-libyuv', 'libyuv_tests', 17 'tools', 'valgrind-libyuv', 'libyuv_tests',
18 platform_ext={'win': '.bat', 18 platform_ext={'win': '.bat', 'mac': '.sh', 'linux': '.sh'})
19 'mac': '.sh',
20 'linux': '.sh'})
21 19
22 @CONFIG_CTX(includes=['chromium_clang']) 20 @CONFIG_CTX(includes=['chromium_clang'])
23 def libyuv_clang(c): 21 def libyuv_clang(c):
24 _libyuv_common(c) 22 _libyuv_common(c)
25 23
26 @CONFIG_CTX(includes=['android']) 24 @CONFIG_CTX(includes=['android'])
27 def libyuv_android(c): 25 def libyuv_android(c):
28 pass 26 pass
29 27
30 @CONFIG_CTX(includes=['android_clang']) 28 @CONFIG_CTX(includes=['android_clang'])
(...skipping 12 matching lines...) Expand all
43 41
44 gyp_defs = c.gyp_env.GYP_DEFINES 42 gyp_defs = c.gyp_env.GYP_DEFINES
45 gyp_defs['OS'] = c.TARGET_PLATFORM 43 gyp_defs['OS'] = c.TARGET_PLATFORM
46 if c.TARGET_BITS == 64: 44 if c.TARGET_BITS == 64:
47 gyp_defs['target_subarch'] = 'arm64' 45 gyp_defs['target_subarch'] = 'arm64'
48 46
49 _libyuv_common(c) 47 _libyuv_common(c)
50 48
51 def _libyuv_common(c): 49 def _libyuv_common(c):
52 c.compile_py.default_targets = ['All'] 50 c.compile_py.default_targets = ['All']
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/emulator/config.py ('k') | scripts/slave/recipe_modules/syzygy/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698