Files
Ryan VanderMeulen 33bfd81f50 Bug 2067314 - Stop fetching the gradle-python-envs plugin in CI. r=ahochheiden,geckoview-reviewers,ohall
Nothing applies the plugin any more, so the Gradle Plugin Portal fetch it needed, and the extra Maven
repository that served it, can go. The packaging directory that fetch also happened to create moves to the
script that copies into it.

Differential Revision: https://phabricator.services.mozilla.com/D322010
2026-08-31 20:12:32 +00:00

40 lines
1.2 KiB
Bash
Executable File

#!/bin/sh
set -e
set -x
mozconfig=$(mktemp)
cat > $mozconfig <<EOF
# the corresponding geckoview's mozconfig, to pick up its config options
. $MOZCONFIG
# no-compile because we don't need to build native code here
. $GECKO_PATH/build/mozconfig.no-compile
# Disable Keyfile Loading (and checks)
# This overrides the settings in the common android mozconfig
ac_add_options --without-mozilla-api-keyfile
ac_add_options --without-google-safebrowsing-api-keyfile
ac_add_options --disable-nodejs
unset NODEJS
export GRADLE_MAVEN_REPOSITORIES="file://$MOZ_FETCHES_DIR/geckoview","file://$MOZ_FETCHES_DIR/android-gradle-dependencies/mozilla","file://$MOZ_FETCHES_DIR/android-gradle-dependencies/google","file://$MOZ_FETCHES_DIR/android-gradle-dependencies/central","file://$MOZ_FETCHES_DIR/android-gradle-dependencies/gradle-plugins"
EOF
export MOZCONFIG=$mozconfig
GRADLE=$MOZ_FETCHES_DIR/android-gradle-dependencies/gradle-dist/bin/gradle
export MOZ_OBJDIR=/builds/worker/workspace/obj-build
./mach configure
# Partial build ensures that `moz.build` generated code is in place.
./mach build pre-export export -v
eval $PRE_GRADLEW
eval $GET_SECRETS
$GRADLE listRepositories $GRADLEW_ARGS
eval $POST_GRADLEW