summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-02-16 02:00:59 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-02-16 02:00:59 +0000
commit0d4c1fcfd8fe13bd121ae0075eb5cd257cd9777a (patch)
tree5a14900c65cc5b3e18e60e60f6363d0e08f2c109
parenta6f03fb70d8038a6995ab142cb782d42a816c236 (diff)
parent6b0c7c618e990597042e03eb9e6ae554581d723a (diff)
downloadopengl-transport-android12-d1-s3-release.tar.gz
Change-Id: I8f61a1745a2a4434d9f40a8aeaa982921b783be9
-rw-r--r--Android.bp29
-rw-r--r--host/Android.bp11
-rw-r--r--host/commands/Android.bp10
-rw-r--r--host/commands/emugen/Android.bp10
-rw-r--r--host/libs/Android.bp10
-rw-r--r--host/libs/virglrenderer/Android.bp10
6 files changed, 80 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 7f25a9135..150418730 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13,6 +13,35 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["device_generic_opengl-transport_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: "device_generic_opengl-transport_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-GPL-2.0",
+ ],
+ // large-scale-change unable to identify any license_text files
+}
+
subdirs = [
"host",
]
diff --git a/host/Android.bp b/host/Android.bp
index b2fe7a4e8..1fabcab4a 100644
--- a/host/Android.bp
+++ b/host/Android.bp
@@ -13,6 +13,17 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "device_generic_opengl-transport_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ // SPDX-license-identifier-BSD
+ // SPDX-license-identifier-GPL-2.0
+ default_applicable_licenses: ["device_generic_opengl-transport_license"],
+}
+
subdirs = [
"commands",
"libs",
diff --git a/host/commands/Android.bp b/host/commands/Android.bp
index ddca16065..cc5499dca 100644
--- a/host/commands/Android.bp
+++ b/host/commands/Android.bp
@@ -13,6 +13,16 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "device_generic_opengl-transport_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ // SPDX-license-identifier-GPL-2.0
+ default_applicable_licenses: ["device_generic_opengl-transport_license"],
+}
+
subdirs = [
"emugen",
]
diff --git a/host/commands/emugen/Android.bp b/host/commands/emugen/Android.bp
index 516d116a0..a7bef31c6 100644
--- a/host/commands/emugen/Android.bp
+++ b/host/commands/emugen/Android.bp
@@ -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 "device_generic_opengl-transport_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ // SPDX-license-identifier-GPL-2.0
+ default_applicable_licenses: ["device_generic_opengl-transport_license"],
+}
+
cc_binary_host {
name: "emugen_cuttlefish",
srcs: [
diff --git a/host/libs/Android.bp b/host/libs/Android.bp
index 65e458da7..0ab4a70b3 100644
--- a/host/libs/Android.bp
+++ b/host/libs/Android.bp
@@ -13,6 +13,16 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "device_generic_opengl-transport_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ // SPDX-license-identifier-BSD
+ default_applicable_licenses: ["device_generic_opengl-transport_license"],
+}
+
subdirs = [
"virglrenderer",
]
diff --git a/host/libs/virglrenderer/Android.bp b/host/libs/virglrenderer/Android.bp
index 715ecca21..3791f7aa6 100644
--- a/host/libs/virglrenderer/Android.bp
+++ b/host/libs/virglrenderer/Android.bp
@@ -14,6 +14,16 @@
// limitations under the License.
//
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "device_generic_opengl-transport_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ // SPDX-license-identifier-BSD
+ default_applicable_licenses: ["device_generic_opengl-transport_license"],
+}
+
genrule {
name: "glesv1_dec_cuttlefish_gensrc",
srcs: ["GLESv1_dec/*"],