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 15LOCAL_PATH := $(call my-dir) 16 17 18# 19# Include the definitions to build the Java code. 20# 21 22include $(LOCAL_PATH)/JavaLibrary.mk 23 24 25# 26# Include the definitions to build the native code. 27# 28 29include $(LOCAL_PATH)/NativeCode.mk 30 31 32# 33# Include the definitions to build sqlite-related code. 34# 35 36include $(LOCAL_PATH)/sqlite-jdbc/Android.mk 37 38# 39# Disable test modules if LIBCORE_SKIP_TESTS envar is set 40# 41 42ifneq ($(LIBCORE_SKIP_TESTS),) 43$(info ********************************************************************************) 44$(info * libcore tests are skipped because environment variable LIBCORE_SKIP_TESTS=$(LIBCORE_SKIP_TESTS)) 45$(info ********************************************************************************) 46ALL_MODULE_TAGS := $(filter-out tests,$(ALL_MODULE_TAGS)) 47ALL_MODULES := $(filter-out $(ALL_MODULE_NAME_TAGS.tests),$(ALL_MODULES)) 48endif 49