blob: 22472ca35b31d0f206a567cf037ab9e03c81b207 [file] [log] [blame]
Christopher Ferris91f44102013-05-20 17:24:15 -07001# Copyright (C) 2013 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
17src_files := \
18 memtrack.cpp
19
Christopher Ferris91f44102013-05-20 17:24:15 -070020include $(CLEAR_VARS)
Dan Albertcaacf4e2014-09-12 10:46:30 -070021LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
Christopher Ferris91f44102013-05-20 17:24:15 -070022
23LOCAL_SRC_FILES := $(src_files)
24
25LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
26LOCAL_MODULE_TAGS := debug
27LOCAL_MODULE := memtrack_share
28
29LOCAL_C_INCLUDES += $(includes)
30LOCAL_SHARED_LIBRARIES := \
Christopher Ferris91f44102013-05-20 17:24:15 -070031 liblog \
32
Dan Albertcaacf4e2014-09-12 10:46:30 -070033include external/stlport/libstlport.mk
Christopher Ferris91f44102013-05-20 17:24:15 -070034include $(BUILD_EXECUTABLE)
35
36include $(CLEAR_VARS)
Dan Albertcaacf4e2014-09-12 10:46:30 -070037LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
Christopher Ferris91f44102013-05-20 17:24:15 -070038
39LOCAL_SRC_FILES := $(src_files)
40LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
41LOCAL_MODULE_TAGS := debug
42LOCAL_MODULE := memtrack
43
44LOCAL_FORCE_STATIC_EXECUTABLE := true
Christopher Ferris91f44102013-05-20 17:24:15 -070045LOCAL_STATIC_LIBRARIES := \
46 libc \
47 libstdc++ \
48 libstlport_static \
49 liblog \
50
Dan Albertcaacf4e2014-09-12 10:46:30 -070051include external/stlport/libstlport.mk
Christopher Ferris91f44102013-05-20 17:24:15 -070052include $(BUILD_EXECUTABLE)