diff options
Diffstat (limited to 'services/vr/hardware_composer/Android.bp')
-rw-r--r-- | services/vr/hardware_composer/Android.bp | 45 |
1 files changed, 34 insertions, 11 deletions
diff --git a/services/vr/hardware_composer/Android.bp b/services/vr/hardware_composer/Android.bp index 80e9a3c3b1..4df7b7c6bd 100644 --- a/services/vr/hardware_composer/Android.bp +++ b/services/vr/hardware_composer/Android.bp @@ -1,17 +1,6 @@ -package { - // See: http://go/android-license-faq - // A large-scale-change added 'default_applicable_licenses' to import - // all of the 'license_kinds' from "frameworks_native_license" - // to get the below license kinds: - // SPDX-license-identifier-Apache-2.0 - default_applicable_licenses: ["frameworks_native_license"], -} - cc_library_shared { name: "libvr_hwc-hal", - system_ext_specific: true, - srcs: [ "impl/vr_hwc.cpp", "impl/vr_composer_client.cpp", @@ -106,6 +95,40 @@ cc_library_static { ], } +cc_binary { + name: "vr_hwc", + vintf_fragments: ["manifest_vr_hwc.xml"], + srcs: [ + "vr_hardware_composer_service.cpp", + ], + static_libs: [ + "libvr_hwc-impl", + // NOTE: This needs to be included after the *-impl lib otherwise the + // symbols in the *-binder library get optimized out. + "libvr_hwc-binder", + ], + shared_libs: [ + "android.frameworks.vr.composer@2.0", + "android.hardware.graphics.composer@2.3", + "libbase", + "libbinder", + "liblog", + "libhardware", + "libhidlbase", + "libui", + "libutils", + "libvr_hwc-hal", + ], + cflags: [ + "-DLOG_TAG=\"vr_hwc\"", + "-Wall", + "-Werror", + ], + init_rc: [ + "vr_hwc.rc", + ], +} + cc_test { name: "vr_hwc_test", gtest: true, |