Bug 1505536 - Add Android x86-64 debug builds; r=nalexander

This commit is contained in:
Geoff Brown 2018-11-28 15:46:37 -07:00
parent 35c2d7106c
commit bea83b7523
6 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,15 @@
. "$topsrcdir/build/mozconfig.artifact.automation"
NO_CACHE=1
NO_NDK=1
. "$topsrcdir/mobile/android/config/mozconfigs/common"
# Global options
ac_add_options --enable-debug
. "$topsrcdir/mobile/android/config/mozconfigs/android-x86_64/nightly"
. "$topsrcdir/build/mozconfig.artifact"
. "$topsrcdir/mobile/android/config/mozconfigs/common.override"

View File

@ -545,6 +545,8 @@ JOB_DETAILS = {
r'public/build/target\.common\.tests\.(zip|tar\.gz)')),
'android-x86_64-opt': (AndroidArtifactJob, (r'public/build/target\.apk',
r'public/build/target\.common\.tests\.(zip|tar\.gz)')),
'android-x86_64-debug': (AndroidArtifactJob, (r'public/build/target\.apk',
r'public/build/target\.common\.tests\.(zip|tar\.gz)')),
'android-aarch64-opt': (AndroidArtifactJob, (r'public/build/target\.apk',
r'public/build/target\.common\.tests\.(zip|tar\.gz)')),
'android-aarch64-debug': (AndroidArtifactJob, (r'public/build/target\.apk',

View File

@ -718,3 +718,57 @@ android-x86_64-nightly/opt:
- linux64-sccache
- linux64-cbindgen
- linux64-node
android-x86_64/debug:
description: "Android 5.0 x86-64 Debug"
index:
product: mobile
job-name: android-x86_64-debug
attributes:
enable-full-crashsymbols: true
treeherder:
platform: android-5-0-x86_64/debug
symbol: B
worker-type: aws-provisioner-v1/gecko-{level}-b-android
worker:
docker-image: {in-tree: android-build}
max-run-time: 7200
env:
GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest"
artifacts:
- name: public/android/maven
# TODO Bug 1433198. Remove the following entry once target.maven.zip is uploaded to a maven repository
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
type: directory
- name: public/build/target.maven.zip
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/target.maven.zip
type: file
- name: public/build/geckoview-androidTest.apk
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/outputs/apk/androidTest/withGeckoBinaries/debug/geckoview-withGeckoBinaries-debug-androidTest.apk
type: file
- name: public/build/geckoview_example.apk
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/withGeckoBinaries/debug/geckoview_example-withGeckoBinaries-debug.apk
type: file
- name: public/build
path: /builds/worker/artifacts/
type: directory
run:
using: mozharness
actions: [get-secrets, build, multi-l10n]
config:
- builds/releng_base_android_64_builds.py
script: "mozharness/scripts/fx_desktop_build.py"
secrets: true
custom-build-variant-cfg: x86_64-debug
tooltool-downloads: internal
toolchains:
- android-gradle-dependencies
- android-ndk-linux
- android-sdk-linux
- linux64-clang
- linux64-rust-android
- linux64-rust-size
- linux64-cbindgen
- linux64-sccache
- linux64-node

View File

@ -0,0 +1,7 @@
config = {
'stage_platform': 'android-x86_64-debug',
'src_mozconfig': 'mobile/android/config/mozconfigs/android-x86_64/debug',
'multi_locale_config_platform': 'android',
'debug_build': True,
'artifact_flag_build_variant_in_try': 'x86_64-debug-artifact',
}

View File

@ -0,0 +1,6 @@
config = {
'stage_platform': 'android-x86_64-debug',
'src_mozconfig': 'mobile/android/config/mozconfigs/android-x86_64/debug-artifact',
'tooltool_manifest_src': 'mobile/android/config/tooltool-manifests/android-x86/releng.manifest',
'debug_build': True,
}

View File

@ -383,6 +383,8 @@ class BuildOptionParser(object):
'x86-fuzzing-debug': 'builds/releng_sub_%s_configs/%s_x86_fuzzing_debug.py',
'x86_64': 'builds/releng_sub_%s_configs/%s_x86_64.py',
'x86_64-artifact': 'builds/releng_sub_%s_configs/%s_x86_64_artifact.py',
'x86_64-debug': 'builds/releng_sub_%s_configs/%s_x86_64_debug.py',
'x86_64-debug-artifact': 'builds/releng_sub_%s_configs/%s_x86_64_debug_artifact.py',
'api-16-partner-sample1': 'builds/releng_sub_%s_configs/%s_api_16_partner_sample1.py',
'aarch64': 'builds/releng_sub_%s_configs/%s_aarch64.py',
'aarch64-artifact': 'builds/releng_sub_%s_configs/%s_aarch64_artifact.py',