Merge remote-tracking branch 'aosp/upstream-main' into HEAD
* aosp/upstream-main:
drm_hwcomposer: Fix missing dependency in hwc-drm-uevent-print
drm_hwcomposer: Fix crash in headless mode
drm_hwcomposer: fix shift compiling error with AOSP
drm_hwcomposer: Make flattening thread-based instead of vsync-based
drm_hwcomposer: Add support for color transform matrix
drm_hwcomposer: Propagate acquire fence for test/validate cycle as well
drm_hwcomposer: Introduce SharedFd, use standard c++ RAII for UniqueFd
drm_hwcomposer: Add meson build to CI
drm_hwcomposer: Add meson.build file
drm_hwcomposer: Make main mutex recursive
drm_hwcomposer: Simplify DrmAtomicStateManager thread usage
drm_hwcomposer: Remove utils/worker from the project
drm_hwcomposer: Rework VSyncWorker to work without utils/worker
drm_hwcomposer: Rework UEventListener to work without utils/worker
drm_hwcomposer: Add support for running CI locally using docker
drm_hwcomposer: Use __ANDROID_API__ instead of PLATFORM_SDK_VERSION
drm_hwcomposer: Rework DrmMode class
drm_hwcomposer: Rework DrmProperty class
drm_hwcomposer: Use pragma once instead of include guards
drm_hwcomposer: Do not invoke ActivateDisplayUsingDPMS when power off
drm_hwcomposer: Use header library instead of hardcoded path
drm_hwcomposer: CI: Bump-up clang toolchain to v15
Change-Id: I437211ffb7ac4d21a823f4cfbbd7be90cb2144e3
Signed-off-by: John Stultz <jstultz@google.com>
diff --git a/.clang-tidy b/.clang-tidy
index 3731a29..e1d92ed 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,6 +1,3 @@
-# Turn all the warnings from the checks above into errors.
-WarningsAsErrors: "*"
-
#HeaderFilterRegex: "^.*external/drm_hwcomposer/.*.h$"
FormatStyle: google
diff --git a/Android.bp b/Android.bp
index bc1a3b9..62c7e0c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,23 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["external_drm_hwcomposer_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_drm_hwcomposer_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
cc_library_headers {
name: "drm_hwcomposer_headers",
vendor: true,
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..d97975c
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,3 @@
+third_party {
+ license_type: NOTICE
+}
diff --git a/OWNERS b/OWNERS
new file mode 100644
index 0000000..cead4fc
--- /dev/null
+++ b/OWNERS
@@ -0,0 +1,5 @@
+adelva@google.com
+dimitrysh@google.com
+jstultz@google.com
+marcheu@google.com
+seanpaul@google.com
diff --git a/tests/Android.bp b/tests/Android.bp
index 6f44b9c..43fd3fa 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -19,6 +19,15 @@
],
}
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_drm_hwcomposer_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["external_drm_hwcomposer_license"],
+}
+
// Tool for listening and dumping uevents
cc_test {
name: "hwc-drm-uevent-print",