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

Side by Side Diff: scripts/slave/recipe_modules/libyuv/gclient_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 RECIPE_MODULES.gclient import CONFIG_CTX 5 import DEPS
6 from slave.recipe_modules.gclient.config import ChromiumGitURL 6 CONFIG_CTX = DEPS['gclient'].CONFIG_CTX
7 ChromiumGitURL = DEPS['gclient'].config.ChromiumGitURL
7 8
8 9
9 @CONFIG_CTX() 10 @CONFIG_CTX()
10 def libyuv(c): 11 def libyuv(c):
11 s = c.solutions.add() 12 s = c.solutions.add()
12 s.name = 'src' 13 s.name = 'src'
13 s.url = ChromiumGitURL(c, 'external', 'libyuv') 14 s.url = ChromiumGitURL(c, 'external', 'libyuv')
14 s.deps_file = 'DEPS' 15 s.deps_file = 'DEPS'
15 s.custom_vars['root_dir'] = 'src' 16 s.custom_vars['root_dir'] = 'src'
16 17
17 @CONFIG_CTX(includes=['libyuv', 'android']) 18 @CONFIG_CTX(includes=['libyuv', 'android'])
18 def libyuv_android(c): 19 def libyuv_android(c):
19 pass 20 pass
20 21
21 @CONFIG_CTX(includes=['libyuv']) 22 @CONFIG_CTX(includes=['libyuv'])
22 def libyuv_ios(c): 23 def libyuv_ios(c):
23 c.target_os.add('mac') 24 c.target_os.add('mac')
24 c.target_os.add('ios') 25 c.target_os.add('ios')
25 26
26 @CONFIG_CTX(includes=['libyuv']) 27 @CONFIG_CTX(includes=['libyuv'])
27 def libyuv_valgrind(c): 28 def libyuv_valgrind(c):
28 c.solutions[0].custom_deps['src/chromium/src/third_party/valgrind'] = \ 29 c.solutions[0].custom_deps['src/chromium/src/third_party/valgrind'] = \
29 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') 30 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries')
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/libyuv/chromium_config.py ('k') | scripts/slave/recipe_modules/syzygy/chromium_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698