forked from openkylin/platform_build
Move numeric api files from frameworks/base to prebuilts/sdk
So they can be used in unbundled builds. Bug: 7296240 Change-Id: I5f176322dec30323f365188fb3e379def60dc1b8
This commit is contained in:
parent
ae5979bd24
commit
19cc22bc9c
|
@ -44,7 +44,7 @@ SRC_HOST_HEADERS:=$(TOPDIR)tools/include
|
|||
SRC_LIBRARIES:= $(TOPDIR)libs
|
||||
SRC_SERVERS:= $(TOPDIR)servers
|
||||
SRC_TARGET_DIR := $(TOPDIR)build/target
|
||||
SRC_API_DIR := $(TOPDIR)frameworks/base/api
|
||||
SRC_API_DIR := $(TOPDIR)prebuilts/sdk/api
|
||||
|
||||
# Some specific paths to tools
|
||||
SRC_DROIDDOC_DIR := $(TOPDIR)build/tools/droiddoc
|
||||
|
|
|
@ -54,7 +54,7 @@ $(eval $(call check-api, \
|
|||
# SDK version.
|
||||
$(eval $(call check-api, \
|
||||
checkapi-current, \
|
||||
$(SRC_API_DIR)/current.txt, \
|
||||
frameworks/base/api/current.txt, \
|
||||
$(INTERNAL_PLATFORM_API_FILE), \
|
||||
-error 2 -error 3 -error 4 -error 5 -error 6 \
|
||||
-error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 \
|
||||
|
@ -68,6 +68,6 @@ $(eval $(call check-api, \
|
|||
.PHONY: update-api
|
||||
update-api: $(INTERNAL_PLATFORM_API_FILE) | $(ACP)
|
||||
@echo Copying current.txt
|
||||
$(hide) $(ACP) $(INTERNAL_PLATFORM_API_FILE) $(SRC_API_DIR)/current.txt
|
||||
$(hide) $(ACP) $(INTERNAL_PLATFORM_API_FILE) frameworks/base/api/current.txt
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue