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# static library 18# 19 20LOCAL_BUILD_SCRIPT := BUILD_STATIC_LIBRARY 21LOCAL_MAKEFILE := $(local-makefile) 22 23$(call check-defined-LOCAL_MODULE,$(LOCAL_BUILD_SCRIPT)) 24$(call check-LOCAL_MODULE,$(LOCAL_MAKEFILE)) 25 26# we are building target objects 27my := TARGET_ 28 29$(call handle-module-filename,lib,$(TARGET_LIB_EXTENSION)) 30$(call handle-module-built) 31 32LOCAL_MODULE_CLASS := STATIC_LIBRARY 33include $(BUILD_SYSTEM)/build-module.mk 34 35