2 # Copyright (C) 2015 The Android Open Source Project
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 LOCAL_PATH := $(call my-dir)
22 FuzzerExtFunctionsDlsym.cpp \
23 FuzzerExtFunctionsDlsymWin.cpp \
24 FuzzerExtFunctionsWeak.cpp \
25 FuzzerExtraCounters.cpp \
33 FuzzerShmemPosix.cpp \
34 FuzzerShmemWindows.cpp \
36 FuzzerTraceState.cpp \
38 FuzzerUtilDarwin.cpp \
45 LOCAL_MODULE := libLLVM80FuzzerNoMain
46 LOCAL_C_INCLUDES := external/compiler-rt/include
47 LOCAL_SRC_FILES := $(libfuzzer_srcs)
48 LOCAL_SANITIZE := never
49 LOCAL_MULTILIB := both
50 include $(BUILD_STATIC_LIBRARY)
54 LOCAL_MODULE := libLLVM80Fuzzer
55 LOCAL_SRC_FILES := FuzzerMain.cpp
56 LOCAL_WHOLE_STATIC_LIBRARIES := libLLVM80FuzzerNoMain
57 LOCAL_SANITIZE := never
58 LOCAL_MULTILIB := both
59 include $(BUILD_STATIC_LIBRARY)
63 LOCAL_MODULE := libLLVM80FuzzerNoMain
64 LOCAL_C_INCLUDES := external/compiler-rt/include
65 LOCAL_SRC_FILES := $(libfuzzer_srcs)
66 LOCAL_SANITIZE := never
67 LOCAL_MULTILIB := both
68 include $(BUILD_HOST_STATIC_LIBRARY)
72 LOCAL_MODULE := libLLVM80Fuzzer
73 LOCAL_SRC_FILES := FuzzerMain.cpp
74 LOCAL_WHOLE_STATIC_LIBRARIES := libLLVM80FuzzerNoMain
75 LOCAL_SANITIZE := never
76 LOCAL_MULTILIB := both
77 include $(BUILD_HOST_STATIC_LIBRARY)