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

Partial commit for third_party/*, see bazelbuild#7971.

Signed-off-by: Philipp Wollermann <[email protected]>
  • Loading branch information
meisterT authored and philwo committed Apr 12, 2019
1 parent d888e4d commit 0e3db34
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 0e3db34

Please sign in to comment.