libgrallocmapperincludes: as header lib and vendor

Bug: 33241851
Test: links
Test: try build with BOARD_VNDK_VERSION current, no errors related to
  this module
Test: (sanity) YouTube

Change-Id: Ia2c3922bf8bf1ab51396a8c8c5fa8d909c442994
This commit is contained in:
Steven Moreland
2017-04-12 09:39:54 -07:00
parent 586fd648d5
commit fed12441ac
2 changed files with 6 additions and 3 deletions

View File

@@ -15,7 +15,9 @@ cc_library_shared {
"liblog",
"libutils",
],
static_libs: ["libgrallocmapperincludes"],
header_libs: [
"libgrallocmapperincludes",
],
}
cc_binary {

View File

@@ -16,7 +16,7 @@
cc_library_shared {
name: "android.hardware.graphics.mapper@2.0-impl",
defaults: ["hidl_defaults"],
proprietary: true,
vendor: true,
relative_install_path: "hw",
srcs: ["GrallocMapper.cpp", "Gralloc0Mapper.cpp", "Gralloc1Mapper.cpp"],
cppflags: ["-Wall", "-Wextra"],
@@ -33,7 +33,8 @@ cc_library_shared {
],
}
cc_library_static {
cc_library_headers {
name: "libgrallocmapperincludes",
vendor: true,
export_include_dirs: ["."],
}