device_google_tangorpro/cast_auth/mediadrm/Android.bp
Bob Badour c2e3b8b3bf [LSC] Add LOCAL_LICENSE_KINDS
Added SPDX-license-identifier-Apache-2.0 to:
  cast_auth/mediadrm/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I315045a219b512bf57b16433570d1018816608c0
2022-10-06 13:10:14 -07:00

48 lines
1.3 KiB
Text

// ----------------------------------------------------------------------------
// Builds android.hardware.drm-service.castkey
//
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "device_google_tangorpro_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["device_google_tangorpro_license"],
}
cc_binary {
name: "android.hardware.drm-service.castkey",
defaults: ["castkey_service_defaults"],
srcs: ["Service.cpp"],
init_rc: ["android.hardware.drm-service.castkey.rc"],
vintf_fragments: ["manifest_android.hardware.drm-service.castkey.xml"],
}
cc_defaults {
name: "castkey_service_defaults",
vendor: true,
proprietary: true,
srcs: [
"CreatePluginFactories.cpp",
"DrmFactory.cpp",
"DrmPlugin.cpp",
"SessionLibrary.cpp",
],
relative_install_path: "hw",
cflags: ["-Wall", "-Werror"],
include_dirs: [
"device/google/tangorpro/cast_auth/mediadrm/include",
],
shared_libs: [
"android.hardware.drm-V1-ndk",
"libbase",
"libbinder_ndk",
"liblog",
"libutils",
],
}