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", "libupdater_core",
"libupdate_verifier", "libupdate_verifier",
"libgtest_prod",
"libprotobuf-cpp-lite", "libprotobuf-cpp-lite",
], ],
header_libs: [
"libgtest_prod_headers",
],
data: [ data: [
"testdata/*", "testdata/*",

View file

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

View file

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