1 # Copyright (C) 2008 The Android Open Source Project
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 LOCAL_PATH:= $(call my-dir)
37 dex_include_files := \
40 external/safe-iop/include
44 ## Build the device version of libdex
47 ifneq ($(SDK_ONLY),true) # SDK_only doesn't need device version
50 #LOCAL_CFLAGS += -UNDEBUG -DDEBUG=1
51 LOCAL_SRC_FILES := $(dex_src_files)
52 LOCAL_C_INCLUDES += $(dex_include_files)
53 LOCAL_STATIC_LIBRARIES := liblog
54 LOCAL_MODULE_TAGS := optional
55 LOCAL_MODULE := libdex
56 include $(BUILD_STATIC_LIBRARY)
63 ## Build the host version of libdex
67 LOCAL_SRC_FILES := $(dex_src_files)
68 LOCAL_C_INCLUDES += $(dex_include_files)
69 LOCAL_STATIC_LIBRARIES := liblog
70 LOCAL_MODULE_TAGS := optional
71 LOCAL_MODULE := libdex
72 include $(BUILD_HOST_STATIC_LIBRARY)