blob: 5e5b0f76b7f2846838444f7486269190a6882fd8 [file] [log] [blame]
Ryo Hashimoto7e61ab72015-06-22 13:23:51 -07001# Copyright (C) 2015 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
15LOCAL_PATH := $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_MODULE := breakpad_client
20
21LOCAL_CPP_EXTENSION := .cc
22
23LOCAL_SRC_FILES := \
24 src/client/linux/dump_writer_common/seccomp_unwinder.cc \
25 src/client/linux/dump_writer_common/thread_info.cc \
26 src/client/linux/dump_writer_common/ucontext_reader.cc \
27 src/client/linux/handler/minidump_descriptor.cc \
28 src/client/linux/minidump_writer/linux_core_dumper.cc \
29 src/client/linux/minidump_writer/linux_dumper.cc \
30 src/client/linux/minidump_writer/linux_ptrace_dumper.cc \
31 src/client/linux/minidump_writer/minidump_writer.cc \
32 src/client/minidump_file_writer.cc \
33 src/common/convert_UTF.c \
34 src/common/linux/elf_core_dump.cc \
35 src/common/linux/elfutils.cc \
36 src/common/linux/file_id.cc \
37 src/common/linux/guid_creator.cc \
38 src/common/linux/linux_libc_support.cc \
39 src/common/linux/memory_mapped_file.cc \
40 src/common/linux/safe_readlink.cc \
41 src/common/string_conversion.cc \
42
43LOCAL_C_INCLUDES := \
44 $(LOCAL_PATH)/src/common/android/include \
45 $(LOCAL_PATH)/src \
46
47LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_C_INCLUDES)
48
49include $(BUILD_STATIC_LIBRARY)