Home | History | Annotate | Download | only in dexlist
      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.cpp
     22 
     23 dexdump_c_includes := \
     24 		dalvik
     25 
     26 dexdump_static_libraries := \
     27 		libdex
     28 
     29 include $(CLEAR_VARS)
     30 LOCAL_MODULE := dexlist
     31 LOCAL_MODULE_TAGS := optional
     32 LOCAL_SRC_FILES := $(dexdump_src_files)
     33 LOCAL_C_INCLUDES := $(dexdump_c_includes)
     34 LOCAL_SHARED_LIBRARIES := libcutils libz libutils
     35 LOCAL_STATIC_LIBRARIES := $(dexdump_static_libraries) libbase
     36 LOCAL_LDLIBS +=
     37 LOCAL_32_BIT_ONLY := true
     38 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
     39 #include $(BUILD_EXECUTABLE)
     40 
     41 include $(CLEAR_VARS)
     42 LOCAL_MODULE := dexlist
     43 LOCAL_MODULE_TAGS := optional
     44 LOCAL_SRC_FILES := $(dexdump_src_files)
     45 LOCAL_C_INCLUDES := $(dexdump_c_includes)
     46 LOCAL_STATIC_LIBRARIES := $(dexdump_static_libraries) libcutils liblog libutils libbase
     47 LOCAL_LDLIBS += -lpthread -lz
     48 # TODO: Move dexlist from libdex to libart and lose the 32-bit limitation.
     49 LOCAL_32_BIT_ONLY := true
     50 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
     51 include $(BUILD_HOST_EXECUTABLE)
     52