summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Lozano <ivanlozano@google.com>2020-10-20 12:15:02 -0400
committerIvan Lozano <ivanlozano@google.com>2020-10-20 12:15:02 -0400
commit6a63a039e7c917763d7748c8703c3dad0663d1b1 (patch)
tree3fe08a3f46218201fbc879780d7927a06ca8baaf
parent933d4ddc16a887873d66c3357a919fa09e1c36a9 (diff)
downloadgrpcio-sys-6a63a039e7c917763d7748c8703c3dad0663d1b1.tar.gz
Remove flags handled by cpp_std
The -x c++ flag and the -std flag are no longer allowed to be passed in through cflags as these are already handled in the build system logic. Bug: 171011490 Test: mma Change-Id: I9ccee03fcbcda703af12aee0a338e04b1d1ddb43
-rw-r--r--Android.bp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 2915827a..4c2a5680 100644
--- a/Android.bp
+++ b/Android.bp
@@ -25,10 +25,9 @@ rust_library {
cc_defaults {
name: "libgrpcio_sys_defaults",
cflags: [
- "-xc++",
- "-std=c++11",
"-DGRPC_SYS_SECURE",
],
+ cpp_std: "c++11",
shared_libs: ["libgrpc++"],
}