blob: 4ea6a543050d74b8b1d191ef18d5f3cdb0afd33a [file] [log] [blame]
Riley Andrews6e61ea92015-09-03 17:25:14 -07001#
2# Copyright (C) 2014 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)
Riley Andrews6e61ea92015-09-03 17:25:14 -070018include $(CLEAR_VARS)
Gopinath94852d92015-12-14 12:27:51 -080019
20LOCAL_SRC_FILES := mmapPerf.cpp
Riley Andrews6e61ea92015-09-03 17:25:14 -070021LOCAL_MODULE := mmapPerf
Gopinath94852d92015-12-14 12:27:51 -080022LOCAL_MULTILIB := both
23LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)
24LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64
Riley Andrews6e61ea92015-09-03 17:25:14 -070025LOCAL_CLANG := true
Elliott Hughesdee97052016-10-07 15:19:02 -070026LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -O3
Riley Andrews6e61ea92015-09-03 17:25:14 -070027LOCAL_FORCE_STATIC_EXECUTABLE := true
28LOCAL_CXX_STL := libc++_static
29LOCAL_STATIC_LIBRARIES := libc
Julien Desprezdf7cd652016-04-05 18:29:52 +010030include $(BUILD_NATIVE_BENCHMARK)