1# 2# Copyright (C) 2015 The Android Open Source Project 3# 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 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 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. 15# 16 17LOCAL_PATH := $(call my-dir) 18 19include $(CLEAR_VARS) 20 21LOCAL_SRC_FILES := \ 22 crash_dispatcher.cc \ 23 24LOCAL_CPP_EXTENSION := cc 25 26LOCAL_CPPFLAGS := \ 27 -W \ 28 -Wall \ 29 -Wextra \ 30 -Wunused \ 31 -Werror \ 32 -Wno-unused-parameter \ 33 34LOCAL_SHARED_LIBRARIES := \ 35 libbase \ 36 liblog \ 37 38LOCAL_MODULE := crash_dispatcher 39 40include $(BUILD_EXECUTABLE) 41 42 43include $(CLEAR_VARS) 44 45LOCAL_SRC_FILES := \ 46 crash_collector.cc \ 47 coredump_writer.cc \ 48 49LOCAL_CPP_EXTENSION := cc 50 51LOCAL_CPPFLAGS := \ 52 -W \ 53 -Wall \ 54 -Wextra \ 55 -Wunused \ 56 -Werror \ 57 -Wno-unused-parameter \ 58 59LOCAL_SHARED_LIBRARIES := \ 60 libbase \ 61 libcutils \ 62 liblog \ 63 libutils \ 64 65LOCAL_STATIC_LIBRARIES := \ 66 breakpad_client \ 67 68LOCAL_MODULE := crash_collector 69LOCAL_MODULE_STEM_32 := crash_collector32 70LOCAL_MODULE_STEM_64 := crash_collector64 71LOCAL_MULTILIB := both 72 73include $(BUILD_EXECUTABLE) 74 75 76include $(CLEAR_VARS) 77 78LOCAL_MODULE := crash-report-provider 79LOCAL_SRC_FILES := $(call all-java-files-under, src) 80 81include $(BUILD_STATIC_JAVA_LIBRARY) 82 83 84include $(CLEAR_VARS) 85 86LOCAL_MODULE_TAGS := optional 87LOCAL_STATIC_JAVA_LIBRARIES := crash-report-provider 88LOCAL_PACKAGE_NAME := CrashReportProvider 89LOCAL_CERTIFICATE := platform 90 91include $(BUILD_PACKAGE) 92