drm_hwcomposer: Convert external/drm_hwcomposer to Android.bp
See build/soong/README.md for more information.
This replaces the product and BoardConfig.mk variable conditionals
with different versions of the HAL for each product, which will
also allow checkbuild to verify that they build even on products
that don't use them.
Fixes: 122332597
Test: mma
Change-Id: I8d2c8ac1bb58dcbc81ae75c2bb2c97d4485909b4
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
diff --git a/tests/Android.bp b/tests/Android.bp
new file mode 100644
index 0000000..058faa0
--- /dev/null
+++ b/tests/Android.bp
@@ -0,0 +1,13 @@
+
+
+cc_test {
+ name: "hwc-drm-tests",
+
+ srcs: ["worker_test.cpp"],
+
+ vendor: true,
+ header_libs: ["libhardware_headers"],
+ static_libs: ["libdrmhwc_utils"],
+ shared_libs: ["hwcomposer.drm"],
+ include_dirs: ["external/drm_hwcomposer"],
+}