aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-04 23:08:10 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-04 23:08:10 +0000
commit7aa9885bf23d9f92e939b523106d7c821d30a707 (patch)
tree8772431faa0619f5a2688a742d85e25eb8fbee7a
parent086665ed3531b605bdb6068784234225f8f99172 (diff)
parent4a7a77cacb71c37c1b7409fa7b8b929d4fdc3929 (diff)
downloadgrpc-grpc-7aa9885bf23d9f92e939b523106d7c821d30a707.tar.gz
Change-Id: If0983a61052729091028b79703646fae7ea3768d
-rw-r--r--Android.bp15
-rw-r--r--test/core/util/Android.bp3
-rw-r--r--test/cpp/common/Android.bp3
3 files changed, 15 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index 5ca74c4599..3eb4aa51ec 100644
--- a/Android.bp
+++ b/Android.bp
@@ -236,7 +236,6 @@ cc_library_host_static {
"test/cpp/util/test_config_cc.cc",
],
local_include_dirs: [
- "test/cpp/util",
"include"
],
static_libs: [
@@ -258,9 +257,8 @@ cc_library_host_static {
cflags: [
"-Wno-unused-parameter",
],
- export_include_dirs: [
- "test/cpp/util",
- ]
+ export_include_dirs: ["."],
+ visibility: ["//device/google/cuttlefish:__subpackages__"],
}
cc_library_static {
@@ -1238,6 +1236,13 @@ cc_library_static {
],
}
+cc_library_headers {
+ name: "libgrpc++_internal_headers",
+ defaults: ["grpc_defaults"],
+ export_include_dirs: ["."],
+ visibility: ["//visibility:public"],
+}
+
// gRPC C++ library target with no encryption or authentication
cc_library_shared {
name: "libgrpc++_unsecure",
@@ -1258,7 +1263,6 @@ cc_library_shared {
],
export_include_dirs: [
"include",
- ".",
],
}
@@ -1289,6 +1293,5 @@ cc_library_shared {
],
export_include_dirs: [
"include",
- ".",
],
}
diff --git a/test/core/util/Android.bp b/test/core/util/Android.bp
index fff362d588..105a8e42c6 100644
--- a/test/core/util/Android.bp
+++ b/test/core/util/Android.bp
@@ -14,6 +14,9 @@ cc_library_static {
"memory_counters.cc",
"test_config.cc",
],
+ header_libs: [
+ "libgrpc++_internal_headers",
+ ],
static_libs: [
"gpr_base",
],
diff --git a/test/cpp/common/Android.bp b/test/cpp/common/Android.bp
index 2f6eb43178..3c60a851ef 100644
--- a/test/cpp/common/Android.bp
+++ b/test/cpp/common/Android.bp
@@ -14,6 +14,9 @@ cc_test {
srcs: [
"alarm_test.cc",
],
+ header_libs: [
+ "libgrpc++_internal_headers",
+ ],
static_libs: [
"libgpr_test_util",
],