1# Copyright (C) 2010 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# this file is included from Android.mk files to build a target-specific
17# shared library
18#
19
20LOCAL_BUILD_SCRIPT := PREBUILT_STATIC_LIBRARY
21LOCAL_MODULE_CLASS := PREBUILT_STATIC_LIBRARY
22LOCAL_MAKEFILE     := $(local-makefile)
23
24LOCAL_PREBUILT_PREFIX := lib
25LOCAL_PREBUILT_SUFFIX := $(TARGET_LIB_EXTENSION)
26
27# Prebuilt static libraries don't need to be copied to TARGET_OUT
28# to facilitate debugging, so use the prebuilt version directly
29# at link time.
30LOCAL_BUILT_MODULE := $(call local-prebuilt-path,$(LOCAL_SRC_FILES))
31LOCAL_BUILT_MODULE_NOT_COPIED := true
32
33include $(BUILD_SYSTEM)/prebuilt-library.mk
34