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

Commit 5e14541f authored by Ying Wang's avatar Ying Wang
Browse files

Include online-system-api-sdk only if it's requested.

We can remove the conditional once the build is fixed.
Change-Id: I367504cf378280cc0a8eff0a7a3eb0936a4828c0
parent 079d13e2
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -844,6 +844,8 @@ LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
include $(BUILD_DROIDDOC)
include $(BUILD_DROIDDOC)


# ==== docs for the web (on the androiddevdocs app engine server) =======================
# ==== docs for the web (on the androiddevdocs app engine server) =======================
# TODO: Fix the System API docs build.
ifneq ($(filter online-system-api-sdk-docs,$(MAKECMDGOALS)),)
include $(CLEAR_VARS)
include $(CLEAR_VARS)


LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
@@ -874,6 +876,7 @@ LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
LOCAL_UNINSTALLABLE_MODULE := true
LOCAL_UNINSTALLABLE_MODULE := true


include $(BUILD_DROIDDOC)
include $(BUILD_DROIDDOC)
endif  # online-system-api-sdk-docs in make command line.


# ==== docs for the web (on the devsite app engine server) =======================
# ==== docs for the web (on the devsite app engine server) =======================
include $(CLEAR_VARS)
include $(CLEAR_VARS)