Elliott Hughes | c3d30bf | 2011-01-07 16:24:47 -0800 | [diff] [blame] | 1 | # -*- mode: makefile -*- |
Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 2 | # Copyright (C) 2009 The Android Open Source Project |
The Android Open Source Project | adc854b | 2009-03-03 19:28:47 -0800 | [diff] [blame] | 3 | # |
Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 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. |
The Android Open Source Project | adc854b | 2009-03-03 19:28:47 -0800 | [diff] [blame] | 15 | |
Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 16 | LOCAL_PATH := $(call my-dir) |
The Android Open Source Project | adc854b | 2009-03-03 19:28:47 -0800 | [diff] [blame] | 17 | |
The Android Open Source Project | adc854b | 2009-03-03 19:28:47 -0800 | [diff] [blame] | 18 | |
Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 19 | # |
| 20 | # Include the definitions to build the Java code. |
| 21 | # |
The Android Open Source Project | adc854b | 2009-03-03 19:28:47 -0800 | [diff] [blame] | 22 | |
Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 23 | include $(LOCAL_PATH)/JavaLibrary.mk |
The Android Open Source Project | adc854b | 2009-03-03 19:28:47 -0800 | [diff] [blame] | 24 | |
Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 25 | |
| 26 | # |
| 27 | # Include the definitions to build the native code. |
| 28 | # |
| 29 | |
| 30 | include $(LOCAL_PATH)/NativeCode.mk |
Jean-Baptiste Queru | 6e1c2a9 | 2010-04-30 10:13:35 -0700 | [diff] [blame] | 31 | |
Brian Carlstrom | 347b2a6 | 2011-04-26 11:34:16 -0700 | [diff] [blame] | 32 | # |
| 33 | # Include the definitions for the Certificate Authority (CA) certificates |
| 34 | # |
| 35 | |
| 36 | include $(LOCAL_PATH)/CaCerts.mk |
Jean-Baptiste Queru | 6e1c2a9 | 2010-04-30 10:13:35 -0700 | [diff] [blame] | 37 | |
| 38 | # |
Brian Carlstrom | f50f448 | 2010-06-24 09:26:28 -0700 | [diff] [blame] | 39 | # Disable test modules if LIBCORE_SKIP_TESTS envar is set |
| 40 | # |
| 41 | |
| 42 | ifneq ($(LIBCORE_SKIP_TESTS),) |
| 43 | $(info ********************************************************************************) |
| 44 | $(info * libcore tests are skipped because environment variable LIBCORE_SKIP_TESTS=$(LIBCORE_SKIP_TESTS)) |
| 45 | $(info ********************************************************************************) |
| 46 | ALL_MODULE_TAGS := $(filter-out tests,$(ALL_MODULE_TAGS)) |
| 47 | ALL_MODULES := $(filter-out $(ALL_MODULE_NAME_TAGS.tests),$(ALL_MODULES)) |
| 48 | endif |
Brian Carlstrom | d39b1d6 | 2011-03-06 23:15:39 -0800 | [diff] [blame] | 49 | |
| 50 | |
| 51 | # |
| 52 | # "m dalvik-host" for quick minimal host build |
| 53 | # |
| 54 | |
| 55 | ifeq ($(WITH_HOST_DALVIK),true) |
| 56 | .PHONY: dalvik-host |
Elliott Hughes | 293dd5b | 2011-05-17 11:28:51 -0700 | [diff] [blame] | 57 | dalvik-host: \ |
| 58 | dalvik \ |
| 59 | $(HOST_OUT)/bin/dalvikvm \ |
| 60 | $(HOST_OUT)/bin/dexopt \ |
Elliott Hughes | 7cd6760 | 2012-05-03 17:21:04 -0700 | [diff] [blame] | 61 | $(HOST_OUT)/lib/libjavacore.so \ |
Elliott Hughes | 293dd5b | 2011-05-17 11:28:51 -0700 | [diff] [blame] | 62 | cacerts-host \ |
| 63 | $(HOST_OUT)/usr/share/zoneinfo/zoneinfo.dat \ |
| 64 | $(HOST_OUT)/usr/share/zoneinfo/zoneinfo.idx \ |
| 65 | $(HOST_OUT)/usr/share/zoneinfo/zoneinfo.version \ |
| 66 | core-hostdex \ |
| 67 | bouncycastle-hostdex \ |
| 68 | apache-xml-hostdex \ |
| 69 | apache-harmony-tests-hostdex \ |
| 70 | $(call intermediates-dir-for,JAVA_LIBRARIES,core-tests,,COMMON)/classes.jar |
Brian Carlstrom | d39b1d6 | 2011-03-06 23:15:39 -0800 | [diff] [blame] | 71 | endif |