diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-07-21 15:31:25 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-07-21 15:31:25 +0000 |
commit | b0e0d998d2f175a586e48b01d39761e4fceaf662 (patch) | |
tree | 337c493a010f433ed6b9b78bfcaf8e7482dbb0a1 | |
parent | c79f96d205d57b3dfed20655fc8b641b6c32795f (diff) | |
parent | f6e3e75d99453a3d107785d43eb2b4a990dc2551 (diff) | |
download | protobuf-androidx-autofill-release.tar.gz |
Merge changes Ic235469e,I1a1be361,I9121b112 into androidx-master-devandroidx-print-releaseandroidx-media2-media2-widget-releaseandroidx-master-releaseandroidx-master-devandroidx-exifinterface-releaseandroidx-enterprise-releaseandroidx-biometric-releaseandroidx-autofill-release
* changes:
Not messing around with individual warnings
Disable some overly-verbose warnings
Updates BUILD to work in androidx-studio-integration
-rw-r--r-- | BUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -23,7 +23,7 @@ config_setting( # ZLIB configuration ################################################################################ -ZLIB_DEPS = ["@zlib//:zlib"] +ZLIB_DEPS = ["@zlib_repo//:zlib"] ################################################################################ # Protobuf Runtime Library @@ -49,7 +49,7 @@ MSVC_COPTS = [ ] COPTS = select({ - ":msvc" : MSVC_COPTS, + ":msvc": MSVC_COPTS, "//conditions:default": [ "-DHAVE_PTHREAD", "-DHAVE_ZLIB", @@ -59,6 +59,9 @@ COPTS = select({ # Prevents ISO C++ const string assignment warnings for pyext sources. "-Wno-write-strings", ], +}) + select({ + ":android": ["-std=c++11"], + "//conditions:default": [], }) load(":compiler_config_setting.bzl", "create_compiler_config_setting") @@ -141,7 +144,7 @@ cc_library( ], hdrs = glob(["src/google/protobuf/**/*.h", "src/google/protobuf/**/*.inc"]), copts = COPTS, - includes = ["src/"], + includes = ["src/", "config/"], linkopts = LINK_OPTS, visibility = ["//visibility:public"], ) |