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

Side by Side Diff: scripts/slave/recipe_modules/skia/appurify_flavor.py

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 5
6 import android_devices 6 import android_devices
7 import copy 7 import copy
8 import default_flavor 8 import default_flavor
9 9
10 10
11 """Appurify flavor utils, used for building and running tests in Appurify.""" 11 """Appurify flavor utils, used for building and running tests in Appurify."""
12 12
13 13
14 class AppurifyFlavorUtils(default_flavor.DefaultFlavorUtils): 14 class AppurifyFlavorUtils(default_flavor.DefaultFlavorUtils):
15 def __init__(self, skia_api): 15 def __init__(self, skia_api):
16 super(AppurifyFlavorUtils, self).__init__(skia_api) 16 super(AppurifyFlavorUtils, self).__init__(skia_api)
17 self.build_cfg = self._skia_api.builder_spec['device_cfg'] 17 self.build_cfg = self._skia_api.builder_spec['device_cfg']
18 self.device = self._skia_api.builder_spec['builder_cfg']['model'] 18 self.device = self._skia_api.builder_spec['builder_cfg']['model']
19 slave_info = android_devices.SLAVE_INFO.get( 19 slave_info = android_devices.SLAVE_INFO.get(
20 self._skia_api.slave_name, 20 self._skia_api.slave_name,
21 android_devices.SLAVE_INFO['default']) 21 android_devices.SLAVE_INFO['default'])
22 self.android_tools = self._skia_api.m.infra_paths['slave_build'].join( 22 self.android_tools = self._skia_api.m.path['slave_build'].join(
23 'skia', 'platform_tools', 'android') 23 'skia', 'platform_tools', 'android')
24 self.android_bin = self.android_tools.join('bin') 24 self.android_bin = self.android_tools.join('bin')
25 self.apk_dir = self.android_tools.join('apps', 'visualbench', 'build', 25 self.apk_dir = self.android_tools.join('apps', 'visualbench', 'build',
26 'outputs', 'apk') 26 'outputs', 'apk')
27 self.assets_dir = self.android_tools.join('apps', 'visualbench', 'src', 27 self.assets_dir = self.android_tools.join('apps', 'visualbench', 'src',
28 'main', 'assets') 28 'main', 'assets')
29 self._android_sdk_root = slave_info.android_sdk_root 29 self._android_sdk_root = slave_info.android_sdk_root
30 self._default_env = {'ANDROID_SDK_ROOT': self._android_sdk_root, 30 self._default_env = {'ANDROID_SDK_ROOT': self._android_sdk_root,
31 'ANDROID_HOME': self._android_sdk_root, 31 'ANDROID_HOME': self._android_sdk_root,
32 'SKIA_ANDROID_VERBOSE_SETUP': 1} 32 'SKIA_ANDROID_VERBOSE_SETUP': 1}
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 """Set the directories which will be used by the build steps.""" 126 """Set the directories which will be used by the build steps."""
127 sdcard = '/sdcard' 127 sdcard = '/sdcard'
128 results_dir = sdcard + '/skia_results' 128 results_dir = sdcard + '/skia_results'
129 return default_flavor.DeviceDirs( 129 return default_flavor.DeviceDirs(
130 dm_dir=results_dir, 130 dm_dir=results_dir,
131 perf_data_dir=results_dir, 131 perf_data_dir=results_dir,
132 resource_dir=sdcard + '/resources', 132 resource_dir=sdcard + '/resources',
133 images_dir=sdcard + '/images', 133 images_dir=sdcard + '/images',
134 skp_dir=sdcard + '/skps', 134 skp_dir=sdcard + '/skps',
135 tmp_dir=sdcard + '/tmp') 135 tmp_dir=sdcard + '/tmp')
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/skia/api.py ('k') | scripts/slave/recipe_modules/skia/cmake_flavor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698