| Christopher Ferris | 91f4410 | 2013-05-20 17:24:15 -0700 | [diff] [blame] | 1 | # 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 | |
| 15 | LOCAL_PATH:= $(call my-dir) |
| 16 | |
| 17 | src_files := \ |
| 18 | memtrack.cpp |
| 19 | |
| Christopher Ferris | 91f4410 | 2013-05-20 17:24:15 -0700 | [diff] [blame] | 20 | include $(CLEAR_VARS) |
| Dan Albert | caacf4e | 2014-09-12 10:46:30 -0700 | [diff] [blame^] | 21 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| Christopher Ferris | 91f4410 | 2013-05-20 17:24:15 -0700 | [diff] [blame] | 22 | |
| 23 | LOCAL_SRC_FILES := $(src_files) |
| 24 | |
| 25 | LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) |
| 26 | LOCAL_MODULE_TAGS := debug |
| 27 | LOCAL_MODULE := memtrack_share |
| 28 | |
| 29 | LOCAL_C_INCLUDES += $(includes) |
| 30 | LOCAL_SHARED_LIBRARIES := \ |
| Christopher Ferris | 91f4410 | 2013-05-20 17:24:15 -0700 | [diff] [blame] | 31 | liblog \ |
| 32 | |
| Dan Albert | caacf4e | 2014-09-12 10:46:30 -0700 | [diff] [blame^] | 33 | include external/stlport/libstlport.mk |
| Christopher Ferris | 91f4410 | 2013-05-20 17:24:15 -0700 | [diff] [blame] | 34 | include $(BUILD_EXECUTABLE) |
| 35 | |
| 36 | include $(CLEAR_VARS) |
| Dan Albert | caacf4e | 2014-09-12 10:46:30 -0700 | [diff] [blame^] | 37 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| Christopher Ferris | 91f4410 | 2013-05-20 17:24:15 -0700 | [diff] [blame] | 38 | |
| 39 | LOCAL_SRC_FILES := $(src_files) |
| 40 | LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) |
| 41 | LOCAL_MODULE_TAGS := debug |
| 42 | LOCAL_MODULE := memtrack |
| 43 | |
| 44 | LOCAL_FORCE_STATIC_EXECUTABLE := true |
| Christopher Ferris | 91f4410 | 2013-05-20 17:24:15 -0700 | [diff] [blame] | 45 | LOCAL_STATIC_LIBRARIES := \ |
| 46 | libc \ |
| 47 | libstdc++ \ |
| 48 | libstlport_static \ |
| 49 | liblog \ |
| 50 | |
| Dan Albert | caacf4e | 2014-09-12 10:46:30 -0700 | [diff] [blame^] | 51 | include external/stlport/libstlport.mk |
| Christopher Ferris | 91f4410 | 2013-05-20 17:24:15 -0700 | [diff] [blame] | 52 | include $(BUILD_EXECUTABLE) |