1# Copyright 2017 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5LOCAL_PATH := $(call my-dir) 6 7include $(CLEAR_VARS) 8 9LOCAL_MODULE := atrace_helper 10LOCAL_CPPFLAGS := -std=c++11 -Wall -Wextra -Werror -O2 11LOCAL_CPPFLAGS += -fPIE -fno-rtti -fno-exceptions -fstack-protector 12LOCAL_CPP_EXTENSION := .cc 13LOCAL_LDLIBS := -fPIE -pie -llog 14 15LOCAL_SRC_FILES := \ 16 main.cc \ 17 atrace_process_dump.cc \ 18 file_utils.cc \ 19 libmemtrack_wrapper.cc \ 20 process_memory_stats.cc \ 21 procfs_utils.cc \ 22 time_utils.cc 23 24include $(BUILD_EXECUTABLE) 25