| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import recipe_api | 5 from recipe_engine import recipe_api |
| 6 from recipe_engine.recipe_api import Property | 6 from recipe_engine.recipe_api import Property |
| 7 from recipe_engine.types import freeze | 7 from recipe_engine.types import freeze |
| 8 | 8 |
| 9 DEPS = [ | 9 DEPS = [ |
| 10 'chromium', | 10 'chromium', |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 android_build = api.path['checkout'].join('out-android') | 60 android_build = api.path['checkout'].join('out-android') |
| 61 linux_build = api.path['checkout'].join('out-linux') | 61 linux_build = api.path['checkout'].join('out-linux') |
| 62 | 62 |
| 63 api.chromium.run_mb(mastername=mastername, | 63 api.chromium.run_mb(mastername=mastername, |
| 64 buildername=buildername, | 64 buildername=buildername, |
| 65 build_dir=linux_build.join( | 65 build_dir=linux_build.join( |
| 66 api.chromium.c.build_config_fs), | 66 api.chromium.c.build_config_fs), |
| 67 phase='engine') | 67 phase='engine') |
| 68 api.chromium.compile(targets=['blimp'], | 68 api.chromium.compile(targets=['blimp'], |
| 69 out_dir=linux_build) | 69 out_dir=linux_build, |
| 70 use_goma_module=True) |
| 70 api.chromium.run_mb(mastername=mastername, | 71 api.chromium.run_mb(mastername=mastername, |
| 71 buildername=buildername, | 72 buildername=buildername, |
| 72 build_dir=android_build.join( | 73 build_dir=android_build.join( |
| 73 api.chromium.c.build_config_fs), | 74 api.chromium.c.build_config_fs), |
| 74 phase='client') | 75 phase='client') |
| 75 api.chromium.compile(targets=['blimp', 'chrome_public_apk'], | 76 api.chromium.compile(targets=['blimp', 'chrome_public_apk'], |
| 76 out_dir=android_build) | 77 out_dir=android_build, |
| 78 use_goma_module=True) |
| 77 | 79 |
| 78 | 80 |
| 79 def GenTests(api): | 81 def GenTests(api): |
| 80 sanitize = lambda s: ''.join(c if c.isalnum() else '_' for c in s) | 82 sanitize = lambda s: ''.join(c if c.isalnum() else '_' for c in s) |
| 81 | 83 |
| 82 yield ( | 84 yield ( |
| 83 api.test('%s_test_pass' % sanitize('Blimp Client Engine Integration')) + | 85 api.test('%s_test_pass' % sanitize('Blimp Client Engine Integration')) + |
| 84 api.properties.generic( | 86 api.properties.generic( |
| 85 buildername='Blimp Client Engine Integration', | 87 buildername='Blimp Client Engine Integration', |
| 86 mastername='chromium.fyi') | 88 mastername='chromium.fyi') |
| 87 ) | 89 ) |
| OLD | NEW |