summaryrefslogtreecommitdiffstats
path: root/tools/lint/license.yml
blob: 34e1eb817c7a9ef6e20043e0f560e2da68fa7c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
---
license:
    description: License Check
    include:
        - .
    exclude:
        # These paths need to be triaged.
        - build/pgo/js-input
        # License not super clear
        - browser/branding/
        # Trademarks
        - browser/components/pocket/content/panels/
        - browser/components/newtab/data/content/tippytop/images/
        - toolkit/components/pdfjs/content/web/images/
        # We probably want a specific license
        - browser/extensions/webcompat/injections/
        # Copied mostly verbatim from upstream. License is documented in
        # Cargo.toml.
        - build/rust/windows/src/lib.rs
        # Different license
        - build/pgo/blueprint/print.css
        # Different license
        - build/pgo/blueprint/screen.css
        # Empty files
        - config/external/nspr/_pl_bld.h
        - 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
        - intl/l10n/rust/l10nregistry-rs
        - intl/l10n/rust/l10nregistry-tests
        # tests
        - js/src/devtools/rootAnalysis/t/
        - mobile/android/geckoview/src/main/AndroidManifest_overlay.jinja
        - 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/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/
        - 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
        - python/mozlint/test/files/
        # By design
        - python/mozrelease/mozrelease
        - security/mac/hardenedruntime/v2/developer/browser.xml
        - security/mac/hardenedruntime/v2/developer/media-plugin-helper.xml
        - security/mac/hardenedruntime/v2/developer/plugin-container.xml
        - security/mac/hardenedruntime/v2/developer/utility.xml
        - security/mac/hardenedruntime/v2/production/nightly.browser.xml
        - security/mac/hardenedruntime/v2/production/firefox.browser.xml
        - security/mac/hardenedruntime/v2/production/firefoxdeveloperedition.browser.xml
        - security/mac/hardenedruntime/v2/production/media-plugin-helper.xml
        - security/mac/hardenedruntime/v2/production/plugin-container.xml
        - testing/marionette/harness/marionette_harness/www/
        # Browsertime can't handle this script when there's a comment at the top
        - testing/raptor/browsertime/browsertime_benchmark.js
        - toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.cc
        - toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.h
        - toolkit/mozapps/update/updater/crctable.h
        - tools/lint/eslint/eslint-plugin-mozilla/lib/configs
        # template fragments used to generate .js sources.
        - toolkit/components/uniffi-bindgen-gecko-js/src/templates/js
        # By design
        - tools/lint/test/
    extensions:
        - .c
        - .cc
        - .cpp
        - .css
        - .dtd
        - .ftl
        - .h
        - .html
        - .idl
        - .java
        - .js
        - .jsm
        - .jsx
        - .m
        - .mm
        - .mjs
        - .properties
        - .py
        - .rs
        - .svg
        - .webidl
        - .xhtml
        - .xml
    support-files:
        - 'tools/lint/license/**'
    type: external
    payload: license:lint
    find-dotfiles: true