1 # Copyright (C) 2011 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 LOCAL_PATH:= $(call my-dir) 16 17 include $(CLEAR_VARS) 18 19 LOCAL_SRC_FILES := cp-demangle.c 20 LOCAL_CFLAGS += -DHAVE_STRING_H -DHAVE_STDLIB_H -DIN_GLIBCPP_V3 21 LOCAL_MODULE := libgccdemangle 22 LOCAL_MODULE_TAGS := optional 23 24 include $(BUILD_SHARED_LIBRARY) 25 26 ########################## 27 28 include $(CLEAR_VARS) 29 30 LOCAL_SRC_FILES := cp-demangle.c 31 LOCAL_CFLAGS += -DHAVE_STRING_H -DHAVE_STDLIB_H -DIN_GLIBCPP_V3 32 LOCAL_MODULE := libgccdemangle 33 LOCAL_MODULE_TAGS := optional 34 35 include $(BUILD_STATIC_LIBRARY) 36 37 ########################## 38 39 include $(CLEAR_VARS) 40 41 LOCAL_SRC_FILES := cp-demangle.c 42 LOCAL_CFLAGS += -DHAVE_STRING_H -DHAVE_STDLIB_H -DIN_GLIBCPP_V3 43 LOCAL_MODULE := libgccdemangle 44 LOCAL_MODULE_TAGS := optional 45 46 include $(BUILD_HOST_SHARED_LIBRARY) 47 48 ########################## 49 50 include $(CLEAR_VARS) 51 52 LOCAL_SRC_FILES := cp-demangle.c 53 LOCAL_CFLAGS += -DHAVE_STRING_H -DHAVE_STDLIB_H -DIN_GLIBCPP_V3 54 LOCAL_MODULE := libgccdemangle 55 LOCAL_MODULE_TAGS := optional 56 57 include $(BUILD_HOST_STATIC_LIBRARY) 58 59 ########################## 60 61 include $(CLEAR_VARS) 62 63 LOCAL_SRC_FILES := test.c 64 LOCAL_SHARED_LIBRARIES := libgccdemangle 65 LOCAL_MODULE := gccdemangle_test 66 LOCAL_MODULE_TAGS := optional 67 68 include $(BUILD_EXECUTABLE) 69 70 ########################## 71 72 include $(CLEAR_VARS) 73 74 LOCAL_SRC_FILES := test.c 75 LOCAL_SHARED_LIBRARIES := libgccdemangle 76 LOCAL_MODULE := gccdemangle_test 77 LOCAL_MODULE_TAGS := optional 78 79 include $(BUILD_HOST_EXECUTABLE) 80