aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-05 01:13:09 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-05 01:13:09 +0000
commit8428b748ea53814c5eb4751196f76586571b0146 (patch)
tree8772431faa0619f5a2688a742d85e25eb8fbee7a
parentf1989b4a26170e4e14024718713e915526516b10 (diff)
parent59152d606940a8cd82152841e858e739a6f79b9c (diff)
downloadgrpc-grpc-8428b748ea53814c5eb4751196f76586571b0146.tar.gz
Change-Id: Ic4d0e69b3b1fe805b4834d1b8cd853c2610b9207
-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",
],