Use gtest_prod_headers.

Bug: http://b/185916167
Test: treehugger
Change-Id: I3407052df4f12b01acc4a75c6bd0759f7a4b2c4c
This commit is contained in:
Elliott Hughes 2021-04-20 11:58:05 -07:00
parent 853dd83390
commit a85d7a0936
3 changed files with 8 additions and 3 deletions

View file

@ -148,9 +148,11 @@ cc_test {
"libupdater_core",
"libupdate_verifier",
"libgtest_prod",
"libprotobuf-cpp-lite",
],
header_libs: [
"libgtest_prod_headers",
],
data: [
"testdata/*",

View file

@ -36,7 +36,6 @@ cc_defaults {
"libfec_rs",
"libavb",
"libverity_tree",
"libgtest_prod",
"liblog",
"liblp",
"libselinux",
@ -51,6 +50,9 @@ cc_defaults {
"libcutils",
"libutils",
],
header_libs: [
"libgtest_prod_headers",
],
}
cc_defaults {

View file

@ -34,7 +34,6 @@ updater_common_static_libraries := \
libfec_rs \
libavb \
libverity_tree \
libgtest_prod \
liblog \
liblp \
libselinux \
@ -96,6 +95,8 @@ LOCAL_STATIC_LIBRARIES := \
libtune2fs \
$(tune2fs_static_libraries)
LOCAL_HEADER_LIBRARIES := libgtest_prod_headers
LOCAL_MODULE_CLASS := EXECUTABLES
inc := $(call local-generated-sources-dir)/register.inc