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

Commit 361e4439 authored by Jared Lim's avatar Jared Lim
Browse files

Generate api.xml for every target build.

Test: make dist DIST_DIR=out/dist

Change-Id: I8cf7290c8a3757110761e9c852339b841c5d1748
parent cda227ee
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -1573,6 +1573,7 @@ else # TARGET_BUILD_APPS
  ifeq ($(EMMA_INSTRUMENT),true)
    $(JACOCO_REPORT_CLASSES_ALL) : $(INSTALLED_SYSTEMIMAGE_TARGET)
    $(call dist-for-goals, dist_files, $(JACOCO_REPORT_CLASSES_ALL))
  endif

  # Put XML formatted API files in the dist dir.
  $(TARGET_OUT_COMMON_INTERMEDIATES)/api.xml: $(call java-lib-header-files,android_stubs_current) $(APICHECK)
@@ -1587,7 +1588,6 @@ else # TARGET_BUILD_APPS

  $(call dist-for-goals, dist_files, $(api_xmls))
  api_xmls :=
  endif

# Building a full system-- the default is to build droidcore
droid_targets: droidcore dist_files