Skip to content

Commit 1c546f9

Browse files
authored
Merge pull request #148 from Snapchat/lf/d8
Force bazel to use d8 instead of dx for Android
2 parents 046a4b3 + b22a363 commit 1c546f9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
build --cxxopt=-std=c++17 --incompatible_java_common_parameters=false
1+
build --cxxopt=-std=c++17 --incompatible_java_common_parameters=false --define=android_dexmerger_tool=d8_dexmerger --define=android_incremental_dexing_tool=d8_dexbuilder --nouse_workers_with_dexbuilder

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.2.0
1+
5.4.1

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ djinni_setup_deps()
1010
# --- Everything below is only used for examples and tests
1111

1212
# android_sdk_repository fails to find build_tools if we don't explicitly set a version.
13-
android_sdk_repository(name = "androidsdk", build_tools_version = "32.0.0")
13+
android_sdk_repository(name = "androidsdk")
1414
android_ndk_repository(name = "androidndk", api_level = 21)
1515

1616
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

0 commit comments

Comments
 (0)