From 4e738cda8495b9692ac1a35ac6b0c88021de5fe8 Mon Sep 17 00:00:00 2001 From: Geoff Brown Date: Thu, 9 May 2024 16:28:42 +0000 Subject: [PATCH] Bug 1881094 - 7. cleanup firefox-android exclusions in license.yml r=gl,android-reviewers Cleanup license.yml by: - adding license headers to gradle.properties: some gradle.properties files already have license headers; I have just copied those headers to files where they were missing - adding license headers for a few .xml files - moving the .../src/main/res/ exclusions to Generated.txt; these exclusions are primarily needed for the strings.xml files, which are updated from the android-l10n repo, so they seem more appropriate for Generated.txt Differential Revision: https://phabricator.services.mozilla.com/D209818 --- gradle.properties | 4 ++ gradle/wrapper/gradle-wrapper.properties | 4 ++ .../gradle/wrapper/gradle-wrapper.properties | 4 ++ .../benchmark/src/main/AndroidManifest.xml | 3 ++ .../gradle/wrapper/gradle-wrapper.properties | 4 ++ .../focus-android/app/lint-baseline.xml | 3 ++ .../gradle/wrapper/gradle-wrapper.properties | 4 ++ .../dotgradle-offline/gradle.properties | 4 ++ .../gradle/dotgradle-online/gradle.properties | 4 ++ tools/lint/license.yml | 54 +------------------ tools/rewriting/Generated.txt | 38 +++++++++++++ 11 files changed, 73 insertions(+), 53 deletions(-) diff --git a/gradle.properties b/gradle.properties index 8fce83a44374..bfc5ce2e275d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,7 @@ +# 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/. + org.gradle.parallel=true org.gradle.daemon=true # Be careful when changing org.gradle.jvmargs below. It will clobber diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index b82aa23a4f05..23e87f9b0b22 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,3 +1,7 @@ +# 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/. + distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip diff --git a/mobile/android/android-components/gradle/wrapper/gradle-wrapper.properties b/mobile/android/android-components/gradle/wrapper/gradle-wrapper.properties index b82aa23a4f05..23e87f9b0b22 100644 --- a/mobile/android/android-components/gradle/wrapper/gradle-wrapper.properties +++ b/mobile/android/android-components/gradle/wrapper/gradle-wrapper.properties @@ -1,3 +1,7 @@ +# 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/. + distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip diff --git a/mobile/android/fenix/benchmark/src/main/AndroidManifest.xml b/mobile/android/fenix/benchmark/src/main/AndroidManifest.xml index 251d1c7b2136..f3783c33ae11 100644 --- a/mobile/android/fenix/benchmark/src/main/AndroidManifest.xml +++ b/mobile/android/fenix/benchmark/src/main/AndroidManifest.xml @@ -1,4 +1,7 @@ + diff --git a/mobile/android/fenix/gradle/wrapper/gradle-wrapper.properties b/mobile/android/fenix/gradle/wrapper/gradle-wrapper.properties index b82aa23a4f05..23e87f9b0b22 100644 --- a/mobile/android/fenix/gradle/wrapper/gradle-wrapper.properties +++ b/mobile/android/fenix/gradle/wrapper/gradle-wrapper.properties @@ -1,3 +1,7 @@ +# 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/. + distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip diff --git a/mobile/android/focus-android/app/lint-baseline.xml b/mobile/android/focus-android/app/lint-baseline.xml index b230739f6825..3686530fbd33 100644 --- a/mobile/android/focus-android/app/lint-baseline.xml +++ b/mobile/android/focus-android/app/lint-baseline.xml @@ -1,4 +1,7 @@ +