Skip to content

Commit

Permalink
Split android common into two.
Browse files Browse the repository at this point in the history
This helps to remove 3MB from Bazel's binary size immediately but also
will get us much closer to remove the dependency on the java.desktop
module.

It will also allow us to remove the jdk.compiler module.

Commit 1/2

RELNOTES: None
  • Loading branch information
meisterT committed Apr 9, 2019
1 parent c0ac80e commit decb551
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions third_party/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,20 @@ java_import(
],
)

# This target only contains the jars that are used for building / running Bazel.
# The target below is for the Android tools that are not shipped with Bazel.
java_import(
name = "android_common_25_0_0_lite",
jars = [
"android_common/com.android.tools.layoutlib_layoutlib_26.1.2.jar",
"android_common/com.android.tools_sdk-common_25.0.0.jar",
"android_common/com.android.tools_repository_25.0.0.jar",
],
deps = [
"//third_party/jaxb",
],
)

java_import(
name = "android_common_25_0_0",
jars = [
Expand Down

0 comments on commit decb551

Please sign in to comment.