Bug 1417232 - Post: Add gradle.configure to android-* tasks. r=ted.mielczarek draft
authorNick Alexander <nalexander@mozilla.com>
Tue, 14 Nov 2017 10:15:30 -0800
changeset 697871 b2898392a03e1051b6113f6b161917e79b1d073c
parent 697870 9fab53a5d89bed0ca5ed7ba716acbf0d8ce879d4
child 740233 b3de891bbbc956e5fc435b01d1cda99591a6c05e
push id89129
push usernalexander@mozilla.com
push dateTue, 14 Nov 2017 22:02:11 +0000
reviewersted
bugs1417232
milestone59.0a1
Bug 1417232 - Post: Add gradle.configure to android-* tasks. r=ted.mielczarek With Gradle integration centralized in gradle.configure, changing these integration points will need to trigger the android-* tasks. MozReview-Commit-ID: DuOuW1RIgCh
build/sparse-profiles/taskgraph
taskcluster/ci/build/android-stuff.yml
taskcluster/ci/toolchain/linux.yml
--- a/build/sparse-profiles/taskgraph
+++ b/build/sparse-profiles/taskgraph
@@ -25,16 +25,19 @@ path:tools/lint/
 
 # for new-style try pushes
 path:try_task_config.json
 
 # Moz.build files are read in filesystem mode
 glob:**/moz.build
 glob:**/*.mozbuild
 
+# Moz.configure files could trigger changes
+glob:**/*.configure
+
 # Tooltool manifests also need to be opened. Assume they
 # are all somewhere in "tooltool-manifests" directories.
 glob:**/tooltool-manifests/**
 
 # For scheduling android-gradle-dependencies.
 path:mobile/android/config/
 glob:**/*.gradle
 
--- a/taskcluster/ci/build/android-stuff.yml
+++ b/taskcluster/ci/build/android-stuff.yml
@@ -36,16 +36,17 @@ android-test/opt:
     toolchains:
         - android-gradle-dependencies
         - android-sdk-linux
         - proguard-jar
     optimization:
         skip-unless-changed:
           - "mobile/android/base/**"
           - "mobile/android/config/**"
+          - "mobile/android/gradle.configure"
           - "mobile/android/tests/background/junit4/**"
           - "**/*.gradle"
 
 android-lint/opt:
     description: "Android lint"
     index:
         product: mobile
         job-name: android-lint
@@ -94,16 +95,17 @@ android-lint/opt:
           - "mobile/android/**/*.java"
           - "mobile/android/**/*.jpeg"
           - "mobile/android/**/*.jpg"
           - "mobile/android/**/*.png"
           - "mobile/android/**/*.svg"
           - "mobile/android/**/*.xml" # Manifest & android resources
           - "mobile/android/**/Makefile.in"
           - "mobile/android/config/**"
+          - "mobile/android/gradle.configure"
           - "mobile/android/**/moz.build"
           - "**/*.gradle"
 
 android-checkstyle/opt:
     description: "Android checkstyle"
     index:
         product: mobile
         job-name: android-checkstyle
@@ -145,16 +147,17 @@ android-checkstyle/opt:
         - android-sdk-linux
         - proguard-jar
     optimization:
         skip-unless-changed:
           - "mobile/android/**/checkstyle.xml"
           - "mobile/android/**/*.java"
           - "mobile/android/**/Makefile.in"
           - "mobile/android/config/**"
+          - "mobile/android/gradle.configure"
           - "mobile/android/**/moz.build"
           - "**/*.gradle"
 
 android-findbugs/opt:
     description: "Android findbugs"
     index:
         product: mobile
         job-name: android-findbugs
@@ -195,10 +198,11 @@ android-findbugs/opt:
         - android-gradle-dependencies
         - android-sdk-linux
         - proguard-jar
     optimization:
         skip-unless-changed:
           - "mobile/android/**/*.java"
           - "mobile/android/**/Makefile.in"
           - "mobile/android/config/**"
+          - "mobile/android/gradle.configure"
           - "mobile/android/**/moz.build"
           - "**/*.gradle"
--- a/taskcluster/ci/toolchain/linux.yml
+++ b/taskcluster/ci/toolchain/linux.yml
@@ -286,16 +286,17 @@ linux64-android-gradle-dependencies:
         script: android-gradle-dependencies.sh
         sparse-profile: null
         resources:
             - 'taskcluster/scripts/misc/tooltool-download.sh'
             - 'taskcluster/scripts/misc/android-gradle-dependencies/**'
             - '**/*.gradle'
             - 'mobile/android/config/mozconfigs/android-api-16-gradle-dependencies/**'
             - 'mobile/android/config/mozconfigs/common*'
+            - 'mobile/android/gradle.configure'
         toolchain-artifact: public/build/android-gradle-dependencies.tar.xz
         toolchain-alias: android-gradle-dependencies
     toolchains:
         # Aliases aren't allowed for toolchains depending on toolchains.
         - linux64-android-sdk-linux-repack
         - linux64-proguard-jar-repack
 
 linux64-rust-1.21: