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

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

Issue 2315503002: libyuv: Add got_revision property mapping. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | scripts/slave/recipes/libyuv/libyuv.expected/client_libyuv_android32_mips_debug.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import DEPS 5 import DEPS
6 CONFIG_CTX = DEPS['gclient'].CONFIG_CTX 6 CONFIG_CTX = DEPS['gclient'].CONFIG_CTX
7 ChromiumGitURL = DEPS['gclient'].config.ChromiumGitURL 7 ChromiumGitURL = DEPS['gclient'].config.ChromiumGitURL
8 8
9 9
10 @CONFIG_CTX() 10 @CONFIG_CTX()
11 def libyuv(c): 11 def libyuv(c):
12 s = c.solutions.add() 12 s = c.solutions.add()
13 s.name = 'src' 13 s.name = 'src'
14 s.url = ChromiumGitURL(c, 'libyuv', 'libyuv') 14 s.url = ChromiumGitURL(c, 'libyuv', 'libyuv')
15 s.deps_file = 'DEPS' 15 s.deps_file = 'DEPS'
16 s.custom_vars['root_dir'] = 'src' 16 s.custom_vars['root_dir'] = 'src'
17 c.got_revision_mapping['src'] = 'got_revision'
17 18
18 @CONFIG_CTX(includes=['libyuv', 'android']) 19 @CONFIG_CTX(includes=['libyuv', 'android'])
19 def libyuv_android(c): 20 def libyuv_android(c):
20 pass 21 pass
21 22
22 @CONFIG_CTX(includes=['libyuv']) 23 @CONFIG_CTX(includes=['libyuv'])
23 def libyuv_ios(c): 24 def libyuv_ios(c):
24 c.target_os.add('mac') 25 c.target_os.add('mac')
25 c.target_os.add('ios') 26 c.target_os.add('ios')
26 27
27 @CONFIG_CTX(includes=['libyuv']) 28 @CONFIG_CTX(includes=['libyuv'])
28 def libyuv_valgrind(c): 29 def libyuv_valgrind(c):
29 c.solutions[0].custom_deps['src/chromium/src/third_party/valgrind'] = \ 30 c.solutions[0].custom_deps['src/chromium/src/third_party/valgrind'] = \
30 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') 31 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries')
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/libyuv/libyuv.expected/client_libyuv_android32_mips_debug.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698