Bug 1950914: Add a simpleperf NDK toolchain task. r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D240052
This commit is contained in:
@@ -218,6 +218,17 @@ linux64-android-ndk-linux-repack:
|
|||||||
toolchain-artifact: project/gecko/android-ndk/android-ndk.tar.zst
|
toolchain-artifact: project/gecko/android-ndk/android-ndk.tar.zst
|
||||||
toolchain-alias: android-ndk-linux
|
toolchain-alias: android-ndk-linux
|
||||||
|
|
||||||
|
linux64-android-simpleperf-linux-repack:
|
||||||
|
description: "Android Simpleperf NDK (Linux) repack toolchain build"
|
||||||
|
treeherder:
|
||||||
|
symbol: TL(android-simpleperf-linux)
|
||||||
|
run:
|
||||||
|
script: repack-android-simpleperf-linux.sh
|
||||||
|
resources:
|
||||||
|
- 'python/mozboot/**/*android*'
|
||||||
|
toolchain-artifact: project/gecko/android-simpleperf/android-simpleperf.tar.zst
|
||||||
|
toolchain-alias: android-simpleperf-linux
|
||||||
|
|
||||||
linux64-android-gradle-dependencies:
|
linux64-android-gradle-dependencies:
|
||||||
description: "Android Gradle dependencies toolchain task"
|
description: "Android Gradle dependencies toolchain task"
|
||||||
treeherder:
|
treeherder:
|
||||||
|
|||||||
16
taskcluster/scripts/misc/repack-android-simpleperf-linux.sh
Executable file
16
taskcluster/scripts/misc/repack-android-simpleperf-linux.sh
Executable file
@@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -x -e -v
|
||||||
|
|
||||||
|
# This script is for fetching and repacking the Android Simpleperf NDK (for
|
||||||
|
# Linux), the tool required to profile Android applications.
|
||||||
|
|
||||||
|
mkdir -p $UPLOAD_DIR
|
||||||
|
|
||||||
|
# Populate /builds/worker/.mozbuild/android-ndk-$VER.
|
||||||
|
cd $GECKO_PATH
|
||||||
|
./mach python python/mozboot/mozboot/android.py --ndk-only --no-interactive
|
||||||
|
|
||||||
|
mv $HOME/.mozbuild/android-ndk-*/simpleperf $HOME/.mozbuild/android-simpleperf
|
||||||
|
tar cavf $UPLOAD_DIR/android-simpleperf.tar.zst -C /builds/worker/.mozbuild android-simpleperf
|
||||||
|
|
||||||
|
ls -al $UPLOAD_DIR
|
||||||
Reference in New Issue
Block a user