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 | |
Kenny Root | 5816277 | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 18 | # |
| 19 | # Subprojects with separate makefiles |
| 20 | # |
| 21 | |
Neil Fuller | 91c98d7 | 2015-03-13 14:31:20 +0000 | [diff] [blame] | 22 | subdirs := benchmarks tzdata |
Kenny Root | 5816277 | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 23 | subdir_makefiles := $(call all-named-subdir-makefiles,$(subdirs)) |
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 | # Include the definitions to build the Java code. |
| 27 | # |
The Android Open Source Project | adc854b | 2009-03-03 19:28:47 -0800 | [diff] [blame] | 28 | |
Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 29 | include $(LOCAL_PATH)/JavaLibrary.mk |
The Android Open Source Project | adc854b | 2009-03-03 19:28:47 -0800 | [diff] [blame] | 30 | |
Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 31 | # |
| 32 | # Include the definitions to build the native code. |
| 33 | # |
| 34 | |
| 35 | include $(LOCAL_PATH)/NativeCode.mk |
Jean-Baptiste Queru | 6e1c2a9 | 2010-04-30 10:13:35 -0700 | [diff] [blame] | 36 | |
Brian Carlstrom | 347b2a6 | 2011-04-26 11:34:16 -0700 | [diff] [blame] | 37 | # |
Piotr Jastrzebski | 983b2c6 | 2015-04-24 09:13:00 +0100 | [diff] [blame] | 38 | # Copy OpenJDK prebuilt data files |
| 39 | # |
| 40 | include $(CLEAR_VARS) |
| 41 | LOCAL_MODULE := currency.data-target |
| 42 | LOCAL_MODULE_STEM := currency.data |
| 43 | LOCAL_SRC_FILES := ojluni/currency.data |
| 44 | LOCAL_MODULE_CLASS := ETC |
| 45 | LOCAL_MODULE_TAGS := optional |
| 46 | LOCAL_MODULE_PATH := $(TARGET_OUT)/usr/share |
| 47 | include $(BUILD_PREBUILT) |
| 48 | |
Narayan Kamath | 4cb7ea3 | 2015-07-31 12:33:09 +0100 | [diff] [blame] | 49 | include $(CLEAR_VARS) |
| 50 | LOCAL_MODULE := currency.data-host |
| 51 | LOCAL_MODULE_STEM := currency.data |
| 52 | LOCAL_SRC_FILES := ojluni/currency.data |
| 53 | LOCAL_MODULE_CLASS := ETC |
| 54 | LOCAL_MODULE_TAGS := optional |
| 55 | LOCAL_MODULE_PATH := $(HOST_OUT)/usr/share |
| 56 | include $(BUILD_PREBUILT) |
| 57 | |
Piotr Jastrzebski | 983b2c6 | 2015-04-24 09:13:00 +0100 | [diff] [blame] | 58 | # |
Elliott Hughes | c5cd6e8 | 2012-10-18 18:13:10 -0700 | [diff] [blame] | 59 | # Disable test modules if LIBCORE_SKIP_TESTS environment variable is set. |
Brian Carlstrom | f50f448 | 2010-06-24 09:26:28 -0700 | [diff] [blame] | 60 | # |
| 61 | |
| 62 | ifneq ($(LIBCORE_SKIP_TESTS),) |
| 63 | $(info ********************************************************************************) |
| 64 | $(info * libcore tests are skipped because environment variable LIBCORE_SKIP_TESTS=$(LIBCORE_SKIP_TESTS)) |
| 65 | $(info ********************************************************************************) |
Brian Carlstrom | f50f448 | 2010-06-24 09:26:28 -0700 | [diff] [blame] | 66 | endif |
Brian Carlstrom | d39b1d6 | 2011-03-06 23:15:39 -0800 | [diff] [blame] | 67 | |
Kenny Root | 5816277 | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 68 | include $(subdir_makefiles) |