| OLD | NEW |
| 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 DEPS = [ | 5 DEPS = [ |
| 6 'chromium', | 6 'chromium', |
| 7 'depot_tools/gclient', | 7 'depot_tools/gclient', |
| 8 'recipe_engine/path', | 8 'recipe_engine/path', |
| 9 'recipe_engine/platform', | 9 'recipe_engine/platform', |
| 10 'recipe_engine/properties', | 10 'recipe_engine/properties', |
| 11 'recipe_engine/python', | 11 'recipe_engine/python', |
| 12 ] | 12 ] |
| 13 | 13 |
| 14 def RunSteps(api): | 14 def RunSteps(api): |
| 15 config_vals = {} | 15 config_vals = {} |
| 16 config_vals.update( | 16 config_vals.update( |
| 17 dict((str(k), v) for k, v in api.properties.iteritems() if k.isupper()) | 17 dict((str(k), v) for k, v in api.properties.iteritems() if k.isupper()) |
| 18 ) | 18 ) |
| 19 | 19 |
| 20 api.chromium.set_config('chromium', **config_vals) | 20 api.chromium.set_config('chromium', **config_vals) |
| 21 api.gclient.set_config('chromium', **config_vals) | 21 api.gclient.set_config('chromium', GIT_MODE=True, **config_vals) |
| 22 | 22 |
| 23 api.chromium.c.gyp_env.GYP_GENERATORS.add('ninja') | 23 api.chromium.c.gyp_env.GYP_GENERATORS.add('ninja') |
| 24 api.chromium.c.gyp_env.GYP_DEFINES['linux_strip_binary'] = 1 | 24 api.chromium.c.gyp_env.GYP_DEFINES['linux_strip_binary'] = 1 |
| 25 | 25 |
| 26 s = api.gclient.c.solutions[0] | 26 s = api.gclient.c.solutions[0] |
| 27 | 27 |
| 28 USE_MIRROR = api.gclient.c.USE_MIRROR | 28 USE_MIRROR = api.gclient.c.USE_MIRROR |
| 29 def DartRepositoryURL(*pieces): | 29 def DartRepositoryURL(*pieces): |
| 30 BASES = ('https://dart.googlecode.com/svn', | 30 BASES = ('https://dart.googlecode.com/svn', |
| 31 'svn://svn-mirror.golo.chromium.org/dart') | 31 'svn://svn-mirror.golo.chromium.org/dart') |
| (...skipping 30 matching lines...) Expand all Loading... |
| 62 for use_mirror in (True, False): | 62 for use_mirror in (True, False): |
| 63 yield ( | 63 yield ( |
| 64 api.test('basic_%s_%s_Mirror%s' % (plat, bits, use_mirror)) + | 64 api.test('basic_%s_%s_Mirror%s' % (plat, bits, use_mirror)) + |
| 65 api.properties.generic( | 65 api.properties.generic( |
| 66 TARGET_BITS=bits, | 66 TARGET_BITS=bits, |
| 67 USE_MIRROR=use_mirror, | 67 USE_MIRROR=use_mirror, |
| 68 deps='dartium.deps', | 68 deps='dartium.deps', |
| 69 revision='12345') + | 69 revision='12345') + |
| 70 api.platform(plat, bits) | 70 api.platform(plat, bits) |
| 71 ) | 71 ) |
| OLD | NEW |