summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Campbell <leecam@google.com>2016-01-28 16:15:46 -0800
committerLee Campbell <leecam@google.com>2016-02-02 23:29:12 +0000
commitedd8ae94a2c253009d36a5eb97814cab418205be (patch)
tree487b5cd3e12d2aabfa9e313db5bb2a167686baaa
parentab34da68dc44dad38fb2af6cf7cbb44488a38d7b (diff)
downloadbrillo-m7-mr-dev.tar.gz
brillo_base: Remove dependency on Javabrillo-m7-mr-dev
Set JAVA_NOT_REQUIRED so the build system does not demand that a jdk be installed. Also do not build the android recovery image as this is not used by Brillo and requires java tooling. BUG: 25281898 Change-Id: If58944a42c6d4ab0266f6931be3516c3046558e6 (cherry picked from commit c779186128b99b00e6dd5983f5c1f279e9faa9e4)
-rw-r--r--brillo_base.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/brillo_base.mk b/brillo_base.mk
index 3101c59..f13560a 100644
--- a/brillo_base.mk
+++ b/brillo_base.mk
@@ -308,6 +308,12 @@ BOARD_SEPOLICY_DIRS := $(BOARD_SEPOLICY_DIRS) device/generic/brillo/sepolicy
BRILLO := 1
COMMON_GLOBAL_CFLAGS += -D__BRILLO__
+# Java is not used or required for Brillo.
+JAVA_NOT_REQUIRED := true
+
+# Brillo does not use the Android recovery image.
+TARGET_NO_RECOVERY := true
+
# Generate Breakpad symbols.
BREAKPAD_GENERATE_SYMBOLS := true