| Carl Shapiro | 7b21670 | 2011-06-17 15:09:26 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2011 The Android Open Source Project |
| 3 | # |
| 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. |
| 15 | # |
| 16 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | include $(CLEAR_VARS) |
| 19 | |
| 20 | LOCAL_MODULE := libart |
| 21 | LOCAL_MODULE_TAGS := optional |
| 22 | |
| Carl Shapiro | a5d5cfd | 2011-06-21 12:46:59 -0700 | [diff] [blame] | 23 | LIBART_TARGET_ARCH := $(HOST_ARCH) |
| Carl Shapiro | 9bf84fd | 2011-06-17 17:05:25 -0700 | [diff] [blame] | 24 | include $(LOCAL_PATH)/Android.common.mk |
| 25 | LOCAL_SRC_FILES := $(LIBART_LOCAL_SRC_FILES) |
| Carl Shapiro | 7b21670 | 2011-06-17 15:09:26 -0700 | [diff] [blame] | 26 | |
| Carl Shapiro | 12eb78e | 2011-06-24 14:51:06 -0700 | [diff] [blame] | 27 | LOCAL_C_INCLUDES := \ |
| Carl Shapiro | 1fb8620 | 2011-06-27 17:43:13 -0700 | [diff] [blame] | 28 | dalvik |
| Carl Shapiro | 7b21670 | 2011-06-17 15:09:26 -0700 | [diff] [blame] | 29 | |
| Carl Shapiro | 12eb78e | 2011-06-24 14:51:06 -0700 | [diff] [blame] | 30 | LOCAL_WHOLE_STATIC_LIBRARIES := \ |
| Carl Shapiro | 7b21670 | 2011-06-17 15:09:26 -0700 | [diff] [blame] | 31 | libcutils \ |
| 32 | libdex \ |
| 33 | liblog \ |
| 34 | libz |
| 35 | |
| 36 | LOCAL_LDLIBS := \ |
| 37 | -ldl \ |
| 38 | -lpthread \ |
| 39 | -lrt |
| 40 | |
| 41 | include $(BUILD_HOST_SHARED_LIBRARY) |