class PerfApi(recipe_api.RecipeApi):
def run(self):
self.m.core.setup()
+ if 'iOS' in self.m.vars.builder_name:
+ self.m.vars.default_env['IOS_BUNDLE_ID'] = 'com.google.nanobench'
try:
self.m.flavor.install_everything()
perf_steps(self.m)
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_if_needed [START_DIR]/skia/resources"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "cat_file tmp/SKP_VERSION",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm tmp/SKP_VERSION"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm skps"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "mkdir skps"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_if_needed [START_DIR]/skp"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_file [START_DIR]/tmp/SKP_VERSION"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "cat_file tmp/SK_IMAGE_VERSION",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm tmp/SK_IMAGE_VERSION"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm images"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "mkdir images"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_if_needed [START_DIR]/skimage"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_file [START_DIR]/tmp/SK_IMAGE_VERSION"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "cat_file tmp/SVG_VERSION",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm tmp/SVG_VERSION"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm svgs"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "mkdir svgs"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_if_needed [START_DIR]/svg"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_file [START_DIR]/tmp/SVG_VERSION"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm perf"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "mkdir perf"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "package nanobench"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "nanobench"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.nanobench",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "pull_if_needed perf"
class TestApi(recipe_api.RecipeApi):
def run(self):
self.m.core.setup()
+ if 'iOS' in self.m.vars.builder_name:
+ self.m.vars.default_env['IOS_BUNDLE_ID'] = 'com.google.dm'
try:
self.m.flavor.install_everything()
test_steps(self.m)
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_if_needed [START_DIR]/skia/resources"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "cat_file tmp/SKP_VERSION",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm tmp/SKP_VERSION"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm skps"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "mkdir skps"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_if_needed [START_DIR]/skp"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_file [START_DIR]/tmp/SKP_VERSION"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "cat_file tmp/SK_IMAGE_VERSION",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm tmp/SK_IMAGE_VERSION"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm images"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "mkdir images"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_if_needed [START_DIR]/skimage"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_file [START_DIR]/tmp/SK_IMAGE_VERSION"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "cat_file tmp/SVG_VERSION",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm tmp/SVG_VERSION"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm svgs"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "mkdir svgs"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_if_needed [START_DIR]/svg"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_file [START_DIR]/tmp/SVG_VERSION"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "rm dm"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "mkdir dm"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "get uninteresting hashes",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "push_file [START_DIR]/tmp/uninteresting_hashes.txt"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "package dm"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "dm"
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
+ "IOS_BUNDLE_ID": "com.google.dm",
"SKIA_OUT": "[START_DIR]/out"
},
"name": "pull_if_needed dm"
# Code Signing identity - this needs to be set up on the local machine.
CODE_SIGN_IDENTITY="iPhone Developer"
-IOS_BUNDLE_ID="com.google.dm"
-
IOS_RESULTS_DIR="results"
# BUILDTYPE is 'Debug' by default.