Use prebuilt android.test. stubs jars for app builds
(cherry picked from commit e144602d9c)
Bug: 30188076
Test: tapas Launcher3
Change-Id: I48864d48098cfa02e15a6eaf8e4d6b53afc5b56c
Merged-In: If632c39c9d98d89d597d410ebc7973903c9fa91e
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
# For unbundled build we'll use the prebuilt jar from prebuilts/sdk.
|
||||
ifeq (,$(TARGET_BUILD_APPS)$(filter true,$(TARGET_BUILD_PDK)))
|
||||
|
||||
# Generate the stub source files for android.test.runner.stubs
|
||||
# ============================================================
|
||||
include $(CLEAR_VARS)
|
||||
@@ -111,3 +114,5 @@ update-android-test-runner-api: $(ANDROID_TEST_RUNNER_OUTPUT_API_FILE) | $(ACP)
|
||||
$(hide) $(ACP) $(ANDROID_TEST_RUNNER_OUTPUT_API_FILE) $(ANDROID_TEST_RUNNER_API_FILE)
|
||||
@echo Copying removed.txt
|
||||
$(hide) $(ACP) $(ANDROID_TEST_RUNNER_OUTPUT_REMOVED_API_FILE) $(ANDROID_TEST_RUNNER_REMOVED_API_FILE)
|
||||
|
||||
endif # not TARGET_BUILD_APPS not TARGET_BUILD_PDK=true
|
||||
|
||||
Reference in New Issue
Block a user