1# Copyright (C) 2009 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 := BUILD_SHARED_LIBRARY
21LOCAL_MAKEFILE     := $(local-makefile)
22
23$(call check-defined-LOCAL_MODULE,$(LOCAL_BUILD_SCRIPT))
24$(call check-LOCAL_MODULE,$(LOCAL_MAKEFILE))
25$(call check-LOCAL_MODULE_FILENAME)
26
27# we are building target objects
28my := TARGET_
29
30$(call handle-module-filename,lib,.so)
31$(call handle-module-built)
32
33LOCAL_MODULE_CLASS := SHARED_LIBRARY
34include $(BUILD_SYSTEM)/build-module.mk
35