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
This commit is contained in:
Geoff Brown 2024-05-09 16:28:42 +00:00
Родитель 4e741aa8df
Коммит 4e738cda84
11 изменённых файлов: 73 добавлений и 53 удалений

Просмотреть файл

@ -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

4
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

Просмотреть файл

@ -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

Просмотреть файл

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="utf-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/. -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<queries>

Просмотреть файл

@ -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

Просмотреть файл

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="UTF-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/. -->
<issues format="6" by="lint 8.2.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.2)" variant="all" version="8.2.2">
<issue

Просмотреть файл

@ -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

Просмотреть файл

@ -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/.
// Per https://docs.gradle.org/current/userguide/build_environment.html, this
// overrides the gradle.properties in topsrcdir.
org.gradle.daemon=false

Просмотреть файл

@ -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/.
// Per https://docs.gradle.org/current/userguide/build_environment.html, this
// overrides the gradle.properties in topsrcdir.
org.gradle.daemon=false

Просмотреть файл

@ -26,13 +26,6 @@ license:
- config/external/nspr/_pr_bld.h
# Unknown origin
- gfx/2d/MMIHelpers.h
# might not work with license
- gradle.properties
# might not work with license
- gradle/wrapper/gradle-wrapper.properties
- mobile/android/android-components/gradle/wrapper/gradle-wrapper.properties
- mobile/android/fenix/gradle/wrapper/gradle-wrapper.properties
- mobile/android/focus-android/gradle/wrapper/gradle-wrapper.properties
# ICU4X data
- intl/icu_segmenter_data
# Imported code that is dual Apache2 / MIT licensed
@ -44,53 +37,8 @@ license:
- mobile/android/geckoview_example/src/main
- testing/webcompat/interventions/
- testing/webcompat/shims/
# TODO - Bug 1881094: temporarily ignored for firefox-android migration
- mobile/android/android-components/components/browser/engine-system/src/main/res/
- mobile/android/android-components/components/browser/errorpages/src/main/res/
- mobile/android/android-components/components/browser/menu/src/main/res/
- mobile/android/android-components/components/browser/menu2/src/main/res/
- mobile/android/android-components/components/browser/toolbar/src/main/res/
- mobile/android/android-components/components/browser/toolbar2/src/main/res/
- mobile/android/android-components/components/compose/awesomebar/src/main/res/
- mobile/android/android-components/components/compose/browser-toolbar/src/main/res/
- mobile/android/android-components/components/compose/cfr/src/main/res/
- mobile/android/android-components/components/compose/tabstray/src/main/res/
- mobile/android/android-components/components/feature/addons/src/main/res/
- mobile/android/android-components/components/feature/app-links/src/main/res/
- mobile/android/android-components/components/feature/autofill/src/main/res/
- mobile/android/android-components/components/feature/awesomebar/src/main/res/
- mobile/android/android-components/components/feature/contextmenu/src/main/res/
- mobile/android/android-components/components/feature/customtabs/src/main/res/
- mobile/android/android-components/components/feature/downloads/src/main/res/
- mobile/android/android-components/components/feature/findinpage/src/main/res/
- mobile/android/android-components/components/feature/fxsuggest/src/main/res/
- mobile/android/android-components/components/feature/media/src/main/res/
- mobile/android/android-components/components/feature/privatemode/src/main/res/
- mobile/android/android-components/components/feature/prompts/src/main/res/
- mobile/android/android-components/components/feature/pwa/src/main/res/
- mobile/android/android-components/components/feature/qr/src/main/res/
- mobile/android/android-components/components/feature/readerview/src/main/res/
- mobile/android/android-components/components/feature/search/src/main/res/
- mobile/android/android-components/components/feature/sitepermissions/
- mobile/android/android-components/components/feature/tabs/src/main/res/
- mobile/android/android-components/components/feature/webcompat/src/main/assets/extensions/webcompat/injections/
- mobile/android/android-components/components/feature/webnotifications/src/main/res/
- mobile/android/android-components/components/lib/crash/src/main/res/
- mobile/android/android-components/components/service/nimbus/src/main/res/
- mobile/android/android-components/components/support/base/src/main/res/
- mobile/android/android-components/components/support/ktx/src/main/res/
- mobile/android/android-components/components/support/utils/src/main/res/
- mobile/android/android-components/components/ui/tabcounter/src/main/res/
- mobile/android/android-components/components/ui/widgets/src/main/res/
# TODO - Bug 1882443: temporarily ignored for firefox-android migration
- mobile/android/android-components/docs/
- mobile/android/fenix/app/src/main/res/
- mobile/android/fenix/benchmark/src/main/AndroidManifest.xml
- mobile/android/focus-android/app/lint-baseline.xml
- mobile/android/focus-android/app/src/main/res/
# might not work with license
- mobile/android/gradle/dotgradle-offline/gradle.properties
# might not work with license
- mobile/android/gradle/dotgradle-online/gradle.properties
# Almost empty file
- modules/libpref/greprefs.js
- parser/html/java/named-character-references.html

Просмотреть файл

@ -31,9 +31,47 @@ mobile/android/**/generated
mobile/android/**\/local.properties
mobile/android/**\/manifest.json
mobile/android/android-components/components/feature/search/src/main/assets/search/search_telemetry_v2.json
mobile/android/android-components/components/browser/engine-system/src/main/res/
mobile/android/android-components/components/browser/errorpages/src/main/res/
mobile/android/android-components/components/browser/menu/src/main/res/
mobile/android/android-components/components/browser/menu2/src/main/res/
mobile/android/android-components/components/browser/toolbar/src/main/res/
mobile/android/android-components/components/browser/toolbar2/src/main/res/
mobile/android/android-components/components/compose/awesomebar/src/main/res/
mobile/android/android-components/components/compose/browser-toolbar/src/main/res/
mobile/android/android-components/components/compose/cfr/src/main/res/
mobile/android/android-components/components/compose/tabstray/src/main/res/
mobile/android/android-components/components/feature/addons/src/main/res/
mobile/android/android-components/components/feature/app-links/src/main/res/
mobile/android/android-components/components/feature/autofill/src/main/res/
mobile/android/android-components/components/feature/awesomebar/src/main/res/
mobile/android/android-components/components/feature/contextmenu/src/main/res/
mobile/android/android-components/components/feature/customtabs/src/main/res/
mobile/android/android-components/components/feature/downloads/src/main/res/
mobile/android/android-components/components/feature/findinpage/src/main/res/
mobile/android/android-components/components/feature/fxsuggest/src/main/res/
mobile/android/android-components/components/feature/media/src/main/res/
mobile/android/android-components/components/feature/privatemode/src/main/res/
mobile/android/android-components/components/feature/prompts/src/main/res/
mobile/android/android-components/components/feature/pwa/src/main/res/
mobile/android/android-components/components/feature/qr/src/main/res/
mobile/android/android-components/components/feature/readerview/src/main/res/
mobile/android/android-components/components/feature/search/src/main/res/
mobile/android/android-components/components/feature/sitepermissions/
mobile/android/android-components/components/feature/tabs/src/main/res/
mobile/android/android-components/components/feature/webnotifications/src/main/res/
mobile/android/android-components/components/lib/crash/src/main/res/
mobile/android/android-components/components/service/nimbus/src/main/res/
mobile/android/android-components/components/support/base/src/main/res/
mobile/android/android-components/components/support/ktx/src/main/res/
mobile/android/android-components/components/support/utils/src/main/res/
mobile/android/android-components/components/ui/tabcounter/src/main/res/
mobile/android/android-components/components/ui/widgets/src/main/res/
mobile/android/android-components/samples/glean/src/main/res/raw/initial_experiments.json
mobile/android/fenix/app/src/debug/res/raw/initial_experiments.json
mobile/android/fenix/app/src/main/res/
mobile/android/fenix/app/src/main/res/raw/initial_experiments.json
mobile/android/focus-android/app/src/main/res/
mobile/locales/l10n-changesets.json
mobile/locales/l10n-onchange-changesets.json
node_modules/