[LSC] Add LOCAL_LICENSE_KINDS to development

Added SPDX-license-identifier-Apache-2.0 to:
  apps/BluetoothDebug/Android.bp
  apps/BuildWidget/Android.bp
  apps/CustomLocale/Android.bp
  apps/DevelopmentSettings/Android.bp
  apps/Fallback/Android.bp
  apps/GestureBuilder/Android.bp
  apps/NinePatchLab/Android.bp
  apps/OBJViewer/Android.bp
  apps/PushApiAuthenticator/Android.bp
  apps/PushApiTestAppOne/Android.bp
  apps/PushApiTestAppTwo/Android.bp
  apps/SdkSetup/Android.bp
  apps/SettingInjectorSample/Android.bp
  apps/WidgetPreview/Android.bp
  apps/launchperf/Android.bp
  cmds/monkey/Android.mk
  gsi/gsi_util/Android.bp
  gsi/repack_super_image/Android.bp
  host/windows/Android.bp
  python-packages/Android.bp
  samples/AccelerometerPlay/Android.bp
  samples/AdaptiveIconSample/Android.bp
  samples/AliasActivity/Android.bp
  samples/AndroidBeamDemo/Android.bp
  samples/AppNavigation/Android.bp
  samples/AutofillKeyboard/Android.bp
  samples/BackupRestore/Android.bp
  samples/BasicGLSurfaceView/Android.bp
  samples/BluetoothChat/Android.bp
  samples/BrokenKeyDerivation/Android.bp
  samples/BrokenKeyDerivation/tests/Android.bp
  samples/BusinessCard/Android.bp
  samples/Compass/Android.bp
  samples/ContactManager/Android.bp
  samples/CubeLiveWallpaper/Android.bp
  samples/DataWiper/Android.bp
  samples/DeviceAdminWhitelistedAccount/Android.bp
  samples/FixedGridLayout/Android.bp
  samples/HeavyWeight/Android.bp
  samples/HelloActivity/Android.bp
  samples/HelloActivity/tests/Android.bp
  samples/HelloEffects/Android.bp
  samples/Home/Android.bp
  samples/HoneycombGallery/Android.bp
  samples/InlineFillService/Android.bp
  samples/JetBoy/Android.bp
  samples/LceDemo/Android.bp
  samples/LunarLander/Android.bp
  samples/LunarLander/tests/Android.bp
  samples/MultiResolution/Android.bp
  samples/MultiWindow/Android.bp
  samples/MySampleRss/Android.bp
  samples/NotePad/Android.bp
  samples/Obb/Android.bp
  samples/RSSReader/Android.bp
  samples/ReceiveShareDemo/Android.bp
  samples/SampleSyncAdapter/Android.bp
  samples/SimpleJNI/Android.bp
  samples/SimpleJNI/jni/Android.bp
  samples/SipDemo/Android.bp
  samples/SkeletonApp/Android.bp
  samples/SkeletonApp/tests/Android.bp
  samples/Snake/Android.bp
  samples/Snake/tests/Android.bp
  samples/SoftKeyboard/Android.bp
  samples/SpellChecker/HelloSpellChecker/Android.bp
  samples/SpellChecker/SampleSpellCheckerService/Android.bp
  samples/StackWidget/Android.bp
  samples/ThemedNavBarKeyboard/Android.bp
  samples/ToyVpn/Android.bp
  samples/TtsEngine/Android.bp
  samples/USB/AdbTest/Android.bp
  samples/USB/MissileLauncher/Android.bp
  samples/UiAutomator/Android.mk
  samples/Vault/Android.bp
  samples/Vault/tests/Android.bp
  samples/VoiceRecognitionService/Android.bp
  samples/VoicemailProviderDemo/Android.bp
  samples/WeatherListWidget/Android.bp
  samples/WiFiDirectDemo/Android.bp
  samples/WiFiDirectServiceDiscovery/Android.bp
  samples/Wiktionary/Android.bp
  samples/WiktionarySimple/Android.bp
  samples/XmlAdapters/Android.bp
  samples/apkcachetest/Android.bp
  samples/training/NsdChat/Android.bp
  scripts/Android.bp
  testrunner/Android.mk
  testrunner/tests/Android_native.mk
  tools/apkcheck/Android.bp
  tools/bugreport/Android.bp
  tools/etc1tool/Android.bp
  tools/idegen/Android.bp
  tools/mkstubs/Android.bp
  tools/rmtypedefs/Android.bp
  vndk/Android.bp
  vndk/tools/Android.bp
  vndk/tools/elfcheck/Android.bp
  vndk/tools/header-checker/Android.bp
  vndk/tools/header-checker/src/repr/protobuf/proto/Android.bp
  vndk/tools/header-checker/tests/integration/ifunc/Android.bp
  vndk/tools/header-checker/tests/integration/version_script_example/Android.bp
  vndk/tools/image-diff-tool/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
    SPDX-license-identifier-CPL-1.0 SPDX-license-identifier-MIT
    SPDX-license-identifier-Unicode-DFS SPDX-license-identifier-W3C
    legacy_restricted legacy_unencumbered
to:
  Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-CPL-1.0
to:
  samples/SearchableDictionary/Android.bp

Added SPDX-license-identifier-Apache-2.0 legacy_unencumbered
to:
  tools/Android.bp

Added SPDX-license-identifier-BSD SPDX-license-identifier-CPL-1.0
    SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS
    SPDX-license-identifier-W3C
to:
  sdk/Android.bp

Added legacy_restricted
to:
  samples/KeyChainDemo/Android.bp
  tools/line_endings/Android.bp
  vndk/tools/definition-tool/datasets/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I9847e00fb4278bc083b4debbc751003c995ea45c
This commit is contained in:
Bob Badour
2021-02-12 17:13:45 -08:00
parent b44c5b747c
commit f7cf305656
107 changed files with 685 additions and 2 deletions

48
Android.bp Normal file
View File

@@ -0,0 +1,48 @@
//
// Copyright (C) 2021 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_applicable_licenses: ["development_license"],
}
// Added automatically by a large-scale-change that took the approach of
// 'apply every license found to every target'. While this makes sure we respect
// every license restriction, it may not be entirely correct.
//
// e.g. GPL in an MIT project might only apply to the contrib/ directory.
//
// Please consider splitting the single license below into multiple licenses,
// taking care not to lose any license_kind information, and overriding the
// default license using the 'licenses: [...]' property on targets as needed.
//
// For unused files, consider creating a 'fileGroup' with "//visibility:private"
// to attach the license to, and including a comment whether the files may be
// used in the current project.
// See: http://go/android-license-faq
license {
name: "development_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
"SPDX-license-identifier-BSD",
"SPDX-license-identifier-CPL-1.0",
"SPDX-license-identifier-MIT",
"SPDX-license-identifier-Unicode-DFS",
"SPDX-license-identifier-W3C",
"legacy_restricted",
"legacy_unencumbered",
],
// large-scale-change unable to identify any license_text files
}

View File

@@ -1,3 +1,20 @@
package {
default_applicable_licenses: ["development_apps_BluetoothDebug_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_apps_BluetoothDebug_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_app { android_app {
name: "BluetoothDebug", name: "BluetoothDebug",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "BuildWidget", name: "BuildWidget",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,20 @@
package {
default_applicable_licenses: ["development_apps_CustomLocale_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_apps_CustomLocale_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_app { android_app {
name: "CustomLocale", name: "CustomLocale",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,22 @@
package {
default_applicable_licenses: [
"development_apps_DevelopmentSettings_license",
],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_apps_DevelopmentSettings_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_app { android_app {
name: "DevelopmentSettings", name: "DevelopmentSettings",
sdk_version: "current", sdk_version: "current",

View File

@@ -1,3 +1,20 @@
package {
default_applicable_licenses: ["development_apps_Fallback_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_apps_Fallback_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_app { android_app {
name: "Fallback", name: "Fallback",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -14,6 +14,23 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["development_apps_GestureBuilder_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_apps_GestureBuilder_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_test { android_test {
name: "GestureBuilder", name: "GestureBuilder",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,20 @@
package {
default_applicable_licenses: ["development_apps_NinePatchLab_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_apps_NinePatchLab_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_test { android_test {
name: "NinePatchLab", name: "NinePatchLab",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app_certificate { android_app_certificate {
name: "development_apps_pushapiauthenticator", name: "development_apps_pushapiauthenticator",
certificate: "cert", certificate: "cert",

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app_certificate { android_app_certificate {
name: "development_apps_pushapitestappone_cert", name: "development_apps_pushapitestappone_cert",
certificate: "cert", certificate: "cert",

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app_certificate { android_app_certificate {
name: "development_apps_pushapitestapptwo_cert", name: "development_apps_pushapitestapptwo_cert",
certificate: "cert", certificate: "cert",

View File

@@ -1,3 +1,20 @@
package {
default_applicable_licenses: ["development_apps_SdkSetup_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_apps_SdkSetup_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_app { android_app {
name: "SdkSetup", name: "SdkSetup",
privileged: true, privileged: true,

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "SettingInjectorSample", name: "SettingInjectorSample",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "WidgetPreview", name: "WidgetPreview",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,20 @@
package {
default_applicable_licenses: ["development_apps_launchperf_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_apps_launchperf_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_test { android_test {
name: "launchperf", name: "launchperf",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -5,12 +5,18 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-subdir-java-files) LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_MODULE := monkeylib LOCAL_MODULE := monkeylib
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE
LOCAL_MODULE_STEM := monkey LOCAL_MODULE_STEM := monkey
include $(BUILD_JAVA_LIBRARY) include $(BUILD_JAVA_LIBRARY)
################################################################ ################################################################
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE := monkey LOCAL_MODULE := monkey
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE
LOCAL_MODULE_CLASS := EXECUTABLES LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_SRC_FILES := monkey LOCAL_SRC_FILES := monkey
LOCAL_REQUIRED_MODULES := monkeylib LOCAL_REQUIRED_MODULES := monkeylib

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
python_binary_host { python_binary_host {
name: "gsi_util", name: "gsi_util",
srcs: [ srcs: [

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
python_binary_host { python_binary_host {
name: "repack_super_image", name: "repack_super_image",
main: "repack_super_image.py", main: "repack_super_image.py",

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_defaults { cc_defaults {
name: "AdbWinApi_defaults", name: "AdbWinApi_defaults",

View File

@@ -12,6 +12,23 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["development_python-packages_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_python-packages_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
python_library_host { python_library_host {
name: "adb_py", name: "adb_py",
srcs: [ srcs: [

View File

@@ -13,6 +13,25 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: [
"development_samples_AccelerometerPlay_license",
],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_samples_AccelerometerPlay_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_app { android_app {
name: "AccelerometerPlay", name: "AccelerometerPlay",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "AdaptiveIconSample", name: "AdaptiveIconSample",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "AliasActivity", name: "AliasActivity",
installable: false, installable: false,

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "AndroidBeamDemo", name: "AndroidBeamDemo",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "AppNavigation", name: "AppNavigation",
srcs: ["src/**/*.java"], srcs: ["src/**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "AutofillKeyboard", name: "AutofillKeyboard",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "BackupRestore", name: "BackupRestore",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "BasicGLSurfaceView", name: "BasicGLSurfaceView",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "BluetoothChat", name: "BluetoothChat",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "BrokenKeyDerivation", name: "BrokenKeyDerivation",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "BrokenKeyDerivationTests", name: "BrokenKeyDerivationTests",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "BusinessCard", name: "BusinessCard",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "Compass", name: "Compass",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "ContactManager", name: "ContactManager",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -14,6 +14,25 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: [
"development_samples_CubeLiveWallpaper_license",
],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_samples_CubeLiveWallpaper_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_app { android_app {
name: "CubeLiveWallpapers", name: "CubeLiveWallpapers",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -16,6 +16,10 @@
// We build two apps from the same source // We build two apps from the same source
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "DataWiper", name: "DataWiper",
srcs: ["src/**/*.java"], srcs: ["src/**/*.java"],

View File

@@ -16,6 +16,10 @@
// We build two apps from the same source // We build two apps from the same source
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "DeviceAdminWhitelistedAccount", name: "DeviceAdminWhitelistedAccount",
srcs: ["src/**/*.java"], srcs: ["src/**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "FixedGridLayout", name: "FixedGridLayout",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "HelloActivity", name: "HelloActivity",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "HelloActivityTests", name: "HelloActivityTests",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "HelloEffects", name: "HelloEffects",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,20 @@
package {
default_applicable_licenses: ["development_samples_Home_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_samples_Home_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_app { android_app {
name: "Home", name: "Home",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "HoneycombGallery", name: "HoneycombGallery",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "InlineFillService", name: "InlineFillService",
srcs: [ srcs: [

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "JETBoy", name: "JETBoy",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,12 @@
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "development_license"
// to get the below license kinds:
// legacy_restricted
default_applicable_licenses: ["development_license"],
}
android_app { android_app {
name: "KeyChainDemo", name: "KeyChainDemo",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "LceDemo", name: "LceDemo",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "LunarLander", name: "LunarLander",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "LunarLanderTests", name: "LunarLanderTests",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "MultiResolution", name: "MultiResolution",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "MultiWindow", name: "MultiWindow",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "NotePad", name: "NotePad",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "ObbApp", name: "ObbApp",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "RSSReader", name: "RSSReader",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "ReceiveShareDemo", name: "ReceiveShareDemo",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "SampleSyncAdapter", name: "SampleSyncAdapter",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,13 @@
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "development_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
// SPDX-license-identifier-CPL-1.0
default_applicable_licenses: ["development_license"],
}
android_app { android_app {
name: "SearchableDictionary", name: "SearchableDictionary",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -17,6 +17,10 @@
// This makefile shows how to build a shared library and an activity that // This makefile shows how to build a shared library and an activity that
// bundles the shared library and calls it using JNI. // bundles the shared library and calls it using JNI.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "SimpleJNI", name: "SimpleJNI",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -17,6 +17,10 @@
// This makefile supplies the rules for building a library of JNI code for // This makefile supplies the rules for building a library of JNI code for
// use by our example of how to bundle a shared library with an APK. // use by our example of how to bundle a shared library with an APK.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_library_shared { cc_library_shared {
name: "libsimplejni", name: "libsimplejni",
// All of the source files that we will compile. // All of the source files that we will compile.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "SipDemo", name: "SipDemo",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "SkeletonApp", name: "SkeletonApp",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "SkeletonAppTests", name: "SkeletonAppTests",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "Snake", name: "Snake",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "SnakeTests", name: "SnakeTests",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "SoftKeyboard", name: "SoftKeyboard",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "HelloSpellChecker", name: "HelloSpellChecker",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "SampleSpellCheckerService", name: "SampleSpellCheckerService",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "StackWidget", name: "StackWidget",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "ThemedNavBarKeyboard", name: "ThemedNavBarKeyboard",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "ToyVpn", name: "ToyVpn",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "TtsEngine", name: "TtsEngine",
srcs: ["src/**/*.java"], srcs: ["src/**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "AdbTest", name: "AdbTest",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "MissileLauncher", name: "MissileLauncher",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -22,6 +22,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := uiautomator.samples LOCAL_MODULE := uiautomator.samples
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_JAVA_LIBRARIES := uiautomator.core android.test.base.stubs LOCAL_JAVA_LIBRARIES := uiautomator.core android.test.base.stubs
LOCAL_STATIC_JAVA_LIBRARIES := junit LOCAL_STATIC_JAVA_LIBRARIES := junit

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test_helper_app { android_test_helper_app {
name: "Vault", name: "Vault",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "VaultTests", name: "VaultTests",
libs: [ libs: [

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "VoiceRecognitionService", name: "VoiceRecognitionService",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -14,6 +14,25 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: [
"development_samples_VoicemailProviderDemo_license",
],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "development_samples_VoicemailProviderDemo_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_app { android_app {
name: "VoicemailProviderDemo", name: "VoicemailProviderDemo",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "WeatherListWidget", name: "WeatherListWidget",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "WiFiDirectDemo", name: "WiFiDirectDemo",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "WiFiDirectServiceDiscovery", name: "WiFiDirectServiceDiscovery",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "Wiktionary", name: "Wiktionary",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "WiktionarySimple", name: "WiktionarySimple",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "xmladapters", name: "xmladapters",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "ApkCacheTest", name: "ApkCacheTest",
srcs: ["src/**/*.java"], srcs: ["src/**/*.java"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app { android_app {
name: "NsdChat", name: "NsdChat",
// Only compile source java files in this apk. // Only compile source java files in this apk.

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
python_library_host { python_library_host {
name: "python-symbol", name: "python-symbol",
srcs: [ srcs: [

View File

@@ -1,3 +1,16 @@
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "development_license"
// to get the below license kinds:
// SPDX-license-identifier-BSD
// SPDX-license-identifier-CPL-1.0
// SPDX-license-identifier-MIT
// SPDX-license-identifier-Unicode-DFS
// SPDX-license-identifier-W3C
default_applicable_licenses: ["development_license"],
}
genrule { genrule {
name: "platform_tools_version", name: "platform_tools_version",
cmd: "sed 's/$${PLATFORM_SDK_VERSION}/0/ ; s/^Pkg.Revision=\\(.*\\)/#define PLATFORM_TOOLS_VERSION \"\\1\"/p ; d' $(in) > $(out)", cmd: "sed 's/$${PLATFORM_SDK_VERSION}/0/ ; s/^Pkg.Revision=\\(.*\\)/#define PLATFORM_TOOLS_VERSION \"\\1\"/p ; d' $(in) > $(out)",

View File

@@ -10,6 +10,8 @@ LOCAL_PATH := $(call my-dir)
######################## ########################
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE := test_defs.xml LOCAL_MODULE := test_defs.xml
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_MODULE_TAGS := tests LOCAL_MODULE_TAGS := tests
LOCAL_MODULE_CLASS := ETC LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(local_target_dir) LOCAL_MODULE_PATH := $(local_target_dir)
@@ -18,6 +20,8 @@ include $(BUILD_PREBUILT)
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE := coverage_targets.xml LOCAL_MODULE := coverage_targets.xml
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_MODULE_TAGS := tests LOCAL_MODULE_TAGS := tests
LOCAL_MODULE_CLASS := ETC LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(local_target_dir) LOCAL_MODULE_PATH := $(local_target_dir)

View File

@@ -15,6 +15,8 @@
include $(CLEAR_VARS) include $(CLEAR_VARS)
test_module := foo test_module := foo
LOCAL_MODULE := $(test_module) LOCAL_MODULE := $(test_module)
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
recursive_var := $(recursive_var) recursive_var := $(recursive_var)
LOCAL_MODULE_TAGS := tags LOCAL_MODULE_TAGS := tags
LOCAL_SRC_FILES := src LOCAL_SRC_FILES := src

View File

@@ -1 +1,11 @@
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "development_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
// legacy_unencumbered
default_applicable_licenses: ["development_license"],
}
subdirs = ["*"] subdirs = ["*"]

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_binary_host { java_binary_host {
name: "apkcheck", name: "apkcheck",
wrapper: "etc/apkcheck", wrapper: "etc/apkcheck",

View File

@@ -1,6 +1,10 @@
// Copyright 2006 The Android Open Source Project // Copyright 2006 The Android Open Source Project
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_binary_host { java_binary_host {
name: "BugReport", name: "BugReport",
wrapper: "bugreport", wrapper: "bugreport",

View File

@@ -3,6 +3,10 @@
// Android.mk for etc1tool // Android.mk for etc1tool
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_binary_host { cc_binary_host {
name: "etc1tool", name: "etc1tool",

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_library_host { java_library_host {
name: "idegen", name: "idegen",
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

@@ -2,6 +2,15 @@
// //
// Copies files into the directory structure described by a manifest // Copies files into the directory structure described by a manifest
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "development_license"
// to get the below license kinds:
// legacy_restricted
default_applicable_licenses: ["development_license"],
}
cc_binary_host { cc_binary_host {
name: "line_endings", name: "line_endings",
srcs: ["line_endings.c"], srcs: ["line_endings.c"],

View File

@@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_library_host { java_library_host {
name: "mkstubs", name: "mkstubs",
srcs: ["src/**/*.java"], srcs: ["src/**/*.java"],

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_binary_host { java_binary_host {
name: "rmtypedefs", name: "rmtypedefs",
srcs: ["src/**/*.java"], srcs: ["src/**/*.java"],

View File

@@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
subdirs = [ subdirs = [
"tools", "tools",
] ]

View File

@@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
subdirs = [ subdirs = [
"header-checker", "header-checker",
"vtable-dumper", "vtable-dumper",

Some files were not shown because too many files have changed in this diff Show More