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 file_utils.cc \ 18 process_info.cc \ 19 process_memory_stats.cc 20 21include $(BUILD_EXECUTABLE) 22