OSDN Git Service

am c73d12f6: dalvik: remove LOCAL_PRELINK_MODULE
[android-x86/dalvik.git] / dexlist / Android.mk
1 # Copyright (C) 2008 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 # dexlist -- list all concrete methods found in a DEX file
17 #
18 LOCAL_PATH:= $(call my-dir)
19
20 dexdump_src_files := \
21                 DexList.c
22
23 dexdump_c_includes := \
24                 dalvik \
25                 $(JNI_H_INCLUDE)
26
27 dexdump_shared_libraries :=
28
29 dexdump_static_libraries := \
30                 libdex
31
32 ifneq ($(TARGET_SIMULATOR),true) # not 64 bit clean
33
34 include $(CLEAR_VARS)
35 LOCAL_MODULE := dexlist
36 LOCAL_MODULE_TAGS := optional
37 LOCAL_SRC_FILES := $(dexdump_src_files)
38 LOCAL_C_INCLUDES := $(dexdump_c_includes)
39 LOCAL_SHARED_LIBRARIES := $(dexdump_shared_libraries) libcutils libz
40 LOCAL_STATIC_LIBRARIES := $(dexdump_static_libraries)
41 LOCAL_LDLIBS +=
42 #include $(BUILD_EXECUTABLE)
43
44 include $(CLEAR_VARS)
45 LOCAL_MODULE := dexlist
46 LOCAL_MODULE_TAGS := optional
47 LOCAL_SRC_FILES := $(dexdump_src_files)
48 LOCAL_C_INCLUDES := $(dexdump_c_includes)
49 LOCAL_SHARED_LIBRARIES := $(dexdump_shared_libraries)
50 LOCAL_STATIC_LIBRARIES := $(dexdump_static_libraries) libcutils
51 LOCAL_LDLIBS += -lpthread -lz
52 include $(BUILD_HOST_EXECUTABLE)
53
54 endif # TARGET_SIMULATOR