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

Side by Side Diff: scripts/slave/recipes/flutter/engine.py

Issue 2252473003: Build the Flutter engine for android_debug and then the dist target (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | scripts/slave/recipes/flutter/engine.expected/linux.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import contextlib 5 import contextlib
6 6
7 DEPS = [ 7 DEPS = [
8 'depot_tools/bot_update', 8 'depot_tools/bot_update',
9 'depot_tools/gclient', 9 'depot_tools/gclient',
10 'file', 10 'file',
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 def BuildLinuxAndroidArm(api): 118 def BuildLinuxAndroidArm(api):
119 out_paths = [ 119 out_paths = [
120 'apks/SkyShell.apk', 120 'apks/SkyShell.apk',
121 'flutter.jar', 121 'flutter.jar',
122 'flutter.mojo', 122 'flutter.mojo',
123 'gen/sky/shell/shell/shell/libs/armeabi-v7a/libsky_shell.so', 123 'gen/sky/shell/shell/shell/libs/armeabi-v7a/libsky_shell.so',
124 'icudtl.dat', 124 'icudtl.dat',
125 'gen/sky/shell/shell/classes.dex.jar', 125 'gen/sky/shell/shell/classes.dex.jar',
126 ] 126 ]
127 RunGN(api, '--android') 127 RunGN(api, '--android')
128 Build(api, 'android_debug')
128 Build(api, 'android_debug', ':dist') 129 Build(api, 'android_debug', ':dist')
129 UploadArtifacts(api, 'android-arm', [ 130 UploadArtifacts(api, 'android-arm', [
130 'build/android/ant/chromium-debug.keystore', 131 'build/android/ant/chromium-debug.keystore',
131 ] + AddPathPrefix(api, 'out/android_debug', out_paths)) 132 ] + AddPathPrefix(api, 'out/android_debug', out_paths))
132 UploadArtifacts(api, 'android-arm', [ 133 UploadArtifacts(api, 'android-arm', [
133 'out/android_debug/libsky_shell.so' 134 'out/android_debug/libsky_shell.so'
134 ], archive_name='symbols.zip') 135 ], archive_name='symbols.zip')
135 136
136 # Build and upload engines for the runtime modes that use AOT compilation. 137 # Build and upload engines for the runtime modes that use AOT compilation.
137 for runtime_mode in ['profile', 'release']: 138 for runtime_mode in ['profile', 'release']:
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 BuildIOS(api) 305 BuildIOS(api)
305 306
306 307
307 def GenTests(api): 308 def GenTests(api):
308 # A valid commit to flutter/engine, to make the gsutil urls look real. 309 # A valid commit to flutter/engine, to make the gsutil urls look real.
309 for platform in ('mac', 'linux'): 310 for platform in ('mac', 'linux'):
310 yield (api.test(platform) + api.platform(platform, 64) 311 yield (api.test(platform) + api.platform(platform, 64)
311 + api.properties(mastername='client.flutter', 312 + api.properties(mastername='client.flutter',
312 buildername='%s Engine' % platform.capitalize(), 313 buildername='%s Engine' % platform.capitalize(),
313 slavename='fake-m1', clobber='')) 314 slavename='fake-m1', clobber=''))
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/flutter/engine.expected/linux.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698