Skip to content

Commit

Permalink
Add LOCAL_LICENSE_KINDS to build/soong
Browse files Browse the repository at this point in the history
Added SPDX-license-identifier-Apache-2.0 to:
  Android.bp
  android/Android.bp
  android/soongconfig/Android.bp
  androidmk/Android.bp
  apex/Android.bp
  bazel/Android.bp
  bp2build/Android.bp
  bpf/Android.bp
  bpfix/Android.bp
  cc/Android.bp
  cc/config/Android.bp
  cc/libbuildversion/Android.bp
  cc/libbuildversion/tests/Android.bp
  cc/ndk_api_coverage_parser/Android.bp
  cc/ndkstubgen/Android.bp
  cc/symbolfile/Android.bp
  cmd/dep_fixer/Android.bp
  cmd/diff_target_files/Android.bp
  cmd/extract_apks/Android.bp
  cmd/extract_jar_packages/Android.bp
  cmd/extract_linker/Android.bp
  cmd/fileslist/Android.bp
  cmd/host_bionic_inject/Android.bp
  cmd/javac_wrapper/Android.bp
  cmd/merge_zips/Android.bp
  cmd/multiproduct_kati/Android.bp
  cmd/path_interposer/Android.bp
  cmd/pom2bp/Android.bp
  cmd/pom2mk/Android.bp
  cmd/sbox/Android.bp
  cmd/soong_build/Android.bp
  cmd/soong_env/Android.bp
  cmd/soong_ui/Android.bp
  cmd/zip2zip/Android.bp
  cmd/zipsync/Android.bp
  cuj/Android.bp
  dexpreopt/Android.bp
  dexpreopt/dexpreopt_gen/Android.bp
  env/Android.bp
  etc/Android.bp
  filesystem/Android.bp
  finder/Android.bp
  finder/cmd/Android.bp
  genrule/Android.bp
  jar/Android.bp
  java/Android.bp
  java/config/Android.bp
  kernel/Android.bp
  linkerconfig/Android.bp
  linkerconfig/proto/Android.bp
  makedeps/Android.bp
  partner/Android.bp
  phony/Android.bp
  python/Android.bp
  python/tests/Android.bp
  remoteexec/Android.bp
  rust/Android.bp
  rust/config/Android.bp
  scripts/Android.bp
  sdk/Android.bp
  sh/Android.bp
  shared/Android.bp
  symbol_inject/Android.bp
  symbol_inject/cmd/Android.bp
  sysprop/Android.bp
  tradefed/Android.bp
  ui/build/Android.bp
  ui/logger/Android.bp
  ui/metrics/Android.bp
  ui/metrics/proc/Android.bp
  ui/status/Android.bp
  ui/terminal/Android.bp
  ui/tracer/Android.bp
  xml/Android.bp
  zip/Android.bp
  zip/cmd/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
  finder/fs/Android.bp
  third_party/zip/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work

Change-Id: Ia47ca14f16b8c9f84f9d533a07e5b00e2c04e8d4
  • Loading branch information
bbadour committed Feb 6, 2021
1 parent 7a10530 commit 02040de
Show file tree
Hide file tree
Showing 80 changed files with 390 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

subdirs = [
"androidmk",
"bpfix",
Expand Down
4 changes: 4 additions & 0 deletions android/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_package {
name: "soong-android",
pkgPath: "android/soong/android",
Expand Down
4 changes: 4 additions & 0 deletions android/soongconfig/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_package {
name: "soong-android-soongconfig",
pkgPath: "android/soong/android/soongconfig",
Expand Down
4 changes: 4 additions & 0 deletions androidmk/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
// androidmk Android.mk to Blueprints translator
//

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "androidmk",
srcs: [
Expand Down
4 changes: 4 additions & 0 deletions apex/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_package {
name: "soong-apex",
pkgPath: "android/soong/apex",
Expand Down
4 changes: 4 additions & 0 deletions bazel/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_package {
name: "soong-bazel",
pkgPath: "android/soong/bazel",
Expand Down
4 changes: 4 additions & 0 deletions bp2build/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_package {
name: "soong-bp2build",
pkgPath: "android/soong/bp2build",
Expand Down
4 changes: 4 additions & 0 deletions bpf/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
// limitations under the License.
//

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_package {
name: "soong-bpf",
pkgPath: "android/soong/bpf",
Expand Down
4 changes: 4 additions & 0 deletions bpfix/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
// androidmk Android.mk to Blueprints translator
//

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "bpfix",
srcs: [
Expand Down
4 changes: 4 additions & 0 deletions cc/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_package {
name: "soong-cc",
pkgPath: "android/soong/cc",
Expand Down
4 changes: 4 additions & 0 deletions cc/config/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_package {
name: "soong-cc-config",
pkgPath: "android/soong/cc/config",
Expand Down
4 changes: 4 additions & 0 deletions cc/libbuildversion/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

cc_library_static {
name: "libbuildversion",
host_supported: true,
Expand Down
4 changes: 4 additions & 0 deletions cc/libbuildversion/tests/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

cc_defaults {
name: "build_version_test_defaults",
use_version_lib: true,
Expand Down
4 changes: 4 additions & 0 deletions cc/ndk_api_coverage_parser/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
// limitations under the License.
//

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

python_library_host {
name: "ndk_api_coverage_parser_lib",
pkg_path: "ndk_api_coverage_parser",
Expand Down
4 changes: 4 additions & 0 deletions cc/ndkstubgen/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
// limitations under the License.
//

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

python_binary_host {
name: "ndkstubgen",
pkg_path: "ndkstubgen",
Expand Down
4 changes: 4 additions & 0 deletions cc/symbolfile/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
// limitations under the License.
//

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

python_library_host {
name: "symbolfile",
pkg_path: "symbolfile",
Expand Down
4 changes: 4 additions & 0 deletions cmd/dep_fixer/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "dep_fixer",
deps: ["soong-makedeps"],
Expand Down
4 changes: 4 additions & 0 deletions cmd/diff_target_files/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "diff_target_files",
srcs: [
Expand Down
4 changes: 4 additions & 0 deletions cmd/extract_apks/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "extract_apks",
srcs: ["main.go"],
Expand Down
4 changes: 4 additions & 0 deletions cmd/extract_jar_packages/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "extract_jar_packages",
deps: [
Expand Down
4 changes: 4 additions & 0 deletions cmd/extract_linker/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "extract_linker",
srcs: ["main.go"],
Expand Down
4 changes: 4 additions & 0 deletions cmd/fileslist/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "fileslist",
srcs: [
Expand Down
4 changes: 4 additions & 0 deletions cmd/host_bionic_inject/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "host_bionic_inject",
deps: ["soong-symbol_inject"],
Expand Down
4 changes: 4 additions & 0 deletions cmd/javac_wrapper/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "soong_javac_wrapper",
srcs: [
Expand Down
4 changes: 4 additions & 0 deletions cmd/merge_zips/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "merge_zips",
deps: [
Expand Down
4 changes: 4 additions & 0 deletions cmd/multiproduct_kati/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "multiproduct_kati",
deps: [
Expand Down
4 changes: 4 additions & 0 deletions cmd/path_interposer/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "path_interposer",
deps: ["soong-ui-build-paths"],
Expand Down
4 changes: 4 additions & 0 deletions cmd/pom2bp/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "pom2bp",
deps: [
Expand Down
4 changes: 4 additions & 0 deletions cmd/pom2mk/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "pom2mk",
deps: ["blueprint-proptools"],
Expand Down
4 changes: 4 additions & 0 deletions cmd/sbox/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "sbox",
deps: [
Expand Down
4 changes: 4 additions & 0 deletions cmd/soong_build/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_binary {
name: "soong_build",
deps: [
Expand Down
4 changes: 4 additions & 0 deletions cmd/soong_env/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_binary {
name: "soong_env",
deps: [
Expand Down
4 changes: 4 additions & 0 deletions cmd/soong_ui/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "soong_ui",
deps: [
Expand Down
4 changes: 4 additions & 0 deletions cmd/zip2zip/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "zip2zip",
deps: [
Expand Down
4 changes: 4 additions & 0 deletions cmd/zipsync/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "zipsync",
deps: [
Expand Down
4 changes: 4 additions & 0 deletions cuj/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "cuj_tests",
deps: [
Expand Down
4 changes: 4 additions & 0 deletions dexpreopt/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_package {
name: "soong-dexpreopt",
pkgPath: "android/soong/dexpreopt",
Expand Down
4 changes: 4 additions & 0 deletions dexpreopt/dexpreopt_gen/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

blueprint_go_binary {
name: "dexpreopt_gen",
srcs: [
Expand Down
4 changes: 4 additions & 0 deletions env/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_package {
name: "soong-env",
pkgPath: "android/soong/env",
Expand Down
4 changes: 4 additions & 0 deletions etc/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_package {
name: "soong-etc",
pkgPath: "android/soong/etc",
Expand Down
4 changes: 4 additions & 0 deletions filesystem/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstrap_go_package {
name: "soong-filesystem",
pkgPath: "android/soong/filesystem",
Expand Down
Loading

0 comments on commit 02040de

Please sign in to comment.