Skip to content

Commit

Permalink
revert for mobile
Browse files Browse the repository at this point in the history
Change-Id: Ie7538fb6c6a62b8c221cad51e4a4986753119a17
Signed-off-by: Kuat Yessenov <[email protected]>
  • Loading branch information
kyessenov committed Feb 29, 2024
1 parent d07557e commit 6d21545
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ build:libc++ --define force_libcpp=enabled

build:libc++20 --config=libc++
# gRPC has a lot of deprecated-enum-enum-conversion warning. Remove once it is addressed
build:libc++20 --cxxopt=-std=c++20 --copt=-Wno-error=deprecated-enum-enum-conversion
build:libc++20 --copt=-Wno-error=deprecated-enum-enum-conversion

# Optimize build for binary size reduction.
build:sizeopt -c opt --copt -Os
Expand Down
2 changes: 2 additions & 0 deletions mobile/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ build:mobile-remote-ci-linux --config=mobile-remote-ci-common
build:mobile-remote-ci-linux-clang --action_env=CC=/opt/llvm/bin/clang
build:mobile-remote-ci-linux-clang --action_env=CXX=/opt/llvm/bin/clang++
build:mobile-remote-ci-linux-clang --config=mobile-remote-ci-linux
# Temporary revert to C++17 for mobile NDK builds.
build:mobile-remote-ci-linux-clang--cxxopt=-std=c++17 --host_cxxopt=-std=c++17

#############################################################################
# mobile-remote-ci-linux-asan: These options are Linux-only using Clang and AddressSanitizer
Expand Down
2 changes: 1 addition & 1 deletion mobile/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ load("//bazel:android_configure.bzl", "android_configure")
android_configure(
name = "local_config_android",
build_tools_version = "30.0.2",
ndk_api_level = 26,
ndk_api_level = 21,
sdk_api_level = 30,
)

Expand Down

0 comments on commit 6d21545

Please sign in to comment.