| 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 from recipe_engine.types import freeze |    5 from recipe_engine.types import freeze | 
|    6  |    6  | 
|    7 DEPS = [ |    7 DEPS = [ | 
|    8     'adb', |    8     'adb', | 
|    9     'chromium', |    9     'chromium', | 
|   10     'chromium_android', |   10     'chromium_android', | 
|   11     'depot_tools/infra_paths', |  | 
|   12     'recipe_engine/json', |   11     'recipe_engine/json', | 
|   13     'recipe_engine/path', |   12     'recipe_engine/path', | 
|   14     'recipe_engine/properties', |   13     'recipe_engine/properties', | 
|   15     'recipe_engine/raw_io', |   14     'recipe_engine/raw_io', | 
|   16     'recipe_engine/step', |   15     'recipe_engine/step', | 
|   17 ] |   16 ] | 
|   18  |   17  | 
|   19 BUILDERS = freeze({ |   18 BUILDERS = freeze({ | 
|   20     'basic_builder': { |   19     'basic_builder': { | 
|   21         'target': 'Release', |   20         'target': 'Release', | 
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  107       REPO_URL='svn://svn.chromium.org/chrome/trunk/src', |  106       REPO_URL='svn://svn.chromium.org/chrome/trunk/src', | 
|  108       REPO_NAME='src/repo', |  107       REPO_NAME='src/repo', | 
|  109       INTERNAL=True, |  108       INTERNAL=True, | 
|  110       BUILD_CONFIG='Release') |  109       BUILD_CONFIG='Release') | 
|  111  |  110  | 
|  112   api.chromium_android.c.get_app_manifest_vars = True |  111   api.chromium_android.c.get_app_manifest_vars = True | 
|  113   api.chromium_android.c.coverage = config.get('coverage', False) |  112   api.chromium_android.c.coverage = config.get('coverage', False) | 
|  114   api.chromium_android.c.asan_symbolize = True |  113   api.chromium_android.c.asan_symbolize = True | 
|  115  |  114  | 
|  116   if config.get('adb_vendor_keys'): |  115   if config.get('adb_vendor_keys'): | 
|  117     # TODO(phajdan.jr): Remove infra_paths['build'] usage, http://crbug.com/4372
     64 . |  116     # TODO(phajdan.jr): Remove path['build'] usage, http://crbug.com/437264 . | 
|  118     api.chromium.c.env.ADB_VENDOR_KEYS = api.infra_paths['build'].join( |  117     api.chromium.c.env.ADB_VENDOR_KEYS = api.path['build'].join( | 
|  119       'site_config', '.adb_key') |  118       'site_config', '.adb_key') | 
|  120  |  119  | 
|  121   api.chromium_android.init_and_sync(use_bot_update=False) |  120   api.chromium_android.init_and_sync(use_bot_update=False) | 
|  122  |  121  | 
|  123   api.chromium.runhooks() |  122   api.chromium.runhooks() | 
|  124   api.chromium_android.run_tree_truth(additional_repos=['foo']) |  123   api.chromium_android.run_tree_truth(additional_repos=['foo']) | 
|  125   assert 'MAJOR' in api.chromium.get_version() |  124   assert 'MAJOR' in api.chromium.get_version() | 
|  126  |  125  | 
|  127   if config.get('build', False): |  126   if config.get('build', False): | 
|  128     api.chromium.compile() |  127     api.chromium.compile() | 
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  361              'Created xml report file at file:///path/to/testResult.xml', |  360              'Created xml report file at file:///path/to/testResult.xml', | 
|  362              stream='stdout')) + |  361              stream='stdout')) + | 
|  363          api.override_step_data('Read test result and report failures', |  362          api.override_step_data('Read test result and report failures', | 
|  364              api.raw_io.output(result_xml_with_unexpected_failure_method))) |  363              api.raw_io.output(result_xml_with_unexpected_failure_method))) | 
|  365  |  364  | 
|  366   yield (api.test('webview_cts_invalid_output') + |  365   yield (api.test('webview_cts_invalid_output') + | 
|  367          properties_for('webview_cts') + |  366          properties_for('webview_cts') + | 
|  368          api.override_step_data('Run CTS', api.raw_io.stream_output( |  367          api.override_step_data('Run CTS', api.raw_io.stream_output( | 
|  369              'Invalid CTS output here...', |  368              'Invalid CTS output here...', | 
|  370              stream='stdout'))) |  369              stream='stdout'))) | 
| OLD | NEW |