blob: c3c5b79f7c323b0733e5f75e75a13f2aa7112557 [file] [log] [blame]
Ying Wang3fbe0d42014-07-14 17:26:42 -07001#
2# Copyright (C) 2014 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH := $(call my-dir)
18
19#########################################
20# The prebuilt support libraries.
Alan Viveretteab1e2a42017-04-21 10:46:02 -040021
22# For apps (unbundled) build, replace the typical
23# make target artifacts with prebuilts.
Ying Wang3fbe0d42014-07-14 17:26:42 -070024ifneq ($(TARGET_BUILD_APPS),)
25include $(CLEAR_VARS)
26LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
27 $(patsubst $(LOCAL_PATH)/%,%,\
28 $(shell find $(LOCAL_PATH)/support -name "*.jar"))
29include $(BUILD_MULTI_PREBUILT)
Alan Viverette95f6d362017-04-06 09:40:50 -040030
Alan Viverette0aaa6252017-05-12 11:33:52 -040031# Generates the v4, v13, and appcompat libraries with static dependencies.
Alan Viverette95f6d362017-04-06 09:40:50 -040032include $(call all-makefiles-under,$(LOCAL_PATH))
33
Ying Wang3fbe0d42014-07-14 17:26:42 -070034endif # TARGET_BUILD_APPS not empty