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

Commit c8dc254b authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Another attempt at diffs in offline SDK docs.

We already generate offline SDK docs as part of "docs" build, and
this change simply adds the "-diff" targets so they're also included.

Test: make -j48 docs dist
Bug: 69115817
Change-Id: Iecd3f070280b078fbdca91fdc1a6b8d65b8df863
parent e33a972e
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -486,6 +486,10 @@ LOCAL_APIDIFF_NEWAPI := $(LOCAL_PATH)/../../$(basename $(INTERNAL_PLATFORM_API_F

include $(BUILD_APIDIFF)

# Hack to get diffs included in docs output
out_zip := $(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip
$(out_zip): $(full_target)

# ====  System API diff ===========================
include $(CLEAR_VARS)

@@ -512,6 +516,10 @@ LOCAL_APIDIFF_NEWAPI := $(LOCAL_PATH)/../../$(basename $(INTERNAL_PLATFORM_SYSTE

include $(BUILD_APIDIFF)

# Hack to get diffs included in docs output
out_zip := $(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip
$(out_zip): $(full_target)

# ====  the api stubs and current.xml ===========================
include $(CLEAR_VARS)

@@ -656,10 +664,6 @@ checkbuild: doc-comment-check-docs
# Check comment when you are updating the API
update-api: doc-comment-check-docs

# Generate API diffs as part of docs builds
docs: offline-sdk-referenceonly-diff
docs: offline-system-sdk-referenceonly-diff

# ====  static html in the sdk ==================================
include $(CLEAR_VARS)