Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 889773f7 authored by Jiyong Park's avatar Jiyong Park
Browse files

BUILD_DROIDDOC supports LOCAL_NO_STANDARD_LIBRARIES

When LOCAL_NO_STANDARD_LIBRARIES is set to true, droiddoc only omits
framework libraries from the required libs. This enables us to use
droiddoc even when frameworks/base is absent (i.e. master-art branch).

Test: m -j core.current.stubs
Test: build in master-art branch
Change-Id: Ia9f0b8bda84b006881b3e62e6573a7784ca56a8c
parent 895a8172
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -82,8 +82,12 @@ ifneq ($(LOCAL_SDK_VERSION),)
    $(full_target): PRIVATE_BOOTCLASSPATH := $(call java-lib-files, sdk_v$(_version))
    _version :=
  endif
else
  ifeq ($(LOCAL_NO_STANDARD_LIBRARIES),true)
    LOCAL_JAVA_LIBRARIES := core-oj core-libart
  else
    LOCAL_JAVA_LIBRARIES := core-oj core-libart ext framework $(LOCAL_JAVA_LIBRARIES)
  endif
  $(full_target): PRIVATE_BOOTCLASSPATH := $(call java-lib-files, core-oj):$(call java-lib-files, core-libart)
endif  # LOCAL_SDK_VERSION
LOCAL_JAVA_LIBRARIES := $(sort $(LOCAL_JAVA_LIBRARIES))