Bug 1865886. Add aarch64 instrumented jobs. r=geckoview-reviewers,glandium,m_kato

Differential Revision: https://phabricator.services.mozilla.com/D199256
This commit is contained in:
Jamie Nicol 2024-01-29 15:04:16 +00:00
parent 5ceb871e41
commit 8969c65a42
4 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,6 @@
. "$topsrcdir/mobile/android/config/mozconfigs/android-aarch64/nightly"
mk_add_options "export MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0"
ac_add_options --enable-profile-generate=cross
ac_add_options --disable-tests

View File

@ -280,6 +280,60 @@ jobs:
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
android-aarch64-shippable/opt:
description: "Android 5.0 AArch64 PGO instrumented"
index:
product: mobile
job-name: instrumented-android-aarch64
shipping-product: fennec
treeherder:
platform: android-5-0-aarch64/pgo
worker-type: b-linux-gcp
worker:
docker-image: {in-tree: android-build}
env:
GRADLE_USER_HOME: "/builds/worker/checkouts/gecko/mobile/android/gradle/dotgradle-offline"
TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
artifacts:
- name: public/build
path: /builds/worker/artifacts/
type: directory
- name: public/build/geckoview-androidTest.apk
path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview/outputs/apk/androidTest/withGeckoBinaries/debug/geckoview-withGeckoBinaries-debug-androidTest.apk
type: file
- name: public/build/geckoview-test_runner.apk
path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/test_runner/outputs/apk/withGeckoBinaries/debug/test_runner-withGeckoBinaries-debug.apk
type: file
- name: public/build/geckoview-test_runner.aab
path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/test_runner/outputs/bundle/withGeckoBinariesDebug/test_runner-withGeckoBinaries-debug.aab
type: file
- name: public/build/geckoview_example.apk
path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview_example/outputs/apk/withGeckoBinaries/debug/geckoview_example-withGeckoBinaries-debug.apk
type: file
- name: public/build/geckoview_example.aab
path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview_example/outputs/bundle/withGeckoBinariesDebug/geckoview_example-withGeckoBinaries-debug.aab
type: file
run:
config:
- builds/releng_base_android_64_builds.py
custom-build-variant-cfg: aarch64-profile-generate
tooltool-downloads: internal
fetches:
toolchain:
- android-gradle-dependencies
- android-ndk-linux
- android-sdk-linux
- linux64-jdk
- linux64-clang
- linux64-rust-android
- linux64-rust-size
- linux64-cbindgen
- linux64-dump_syms
- linux64-nasm
- linux64-node
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
win32-shippable/opt:
description: "Win32 Shippable PGO Instrumented"
index:

View File

@ -0,0 +1,8 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
config = {
"stage_platform": "android-aarch64",
"src_mozconfig": "mobile/android/config/mozconfigs/android-aarch64/profile-generate",
}

View File

@ -330,6 +330,7 @@ class BuildOptionParser(object):
"aarch64-pgo": path_base + "%s_aarch64_pgo.py",
"aarch64-debug": path_base + "%s_aarch64_debug.py",
"aarch64-lite-debug": path_base + "%s_aarch64_debug_lite.py",
"aarch64-profile-generate": path_base + "%s_aarch64_profile_generate.py",
"android-geckoview-docs": path_base + "%s_geckoview_docs.py",
"valgrind": path_base + "%s_valgrind.py",
}