1e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# Copyright (C) 2008 The Android Open Source Project 2e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# 3e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# Licensed under the Apache License, Version 2.0 (the "License"); 4e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# you may not use this file except in compliance with the License. 5e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# You may obtain a copy of the License at 6e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# 7e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# http://www.apache.org/licenses/LICENSE-2.0 8e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# 9e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# Unless required by applicable law or agreed to in writing, software 10e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# distributed under the License is distributed on an "AS IS" BASIS, 11e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# See the License for the specific language governing permissions and 13e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project# limitations under the License. 14e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project 15e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source ProjectLOCAL_PATH := $(call my-dir) 16e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Project 1772f4a2f30765fe17ba0dbf178c61fa953154108aElliott Hughespagemap_src_files := \ 1872f4a2f30765fe17ba0dbf178c61fa953154108aElliott Hughes pm_kernel.c \ 1972f4a2f30765fe17ba0dbf178c61fa953154108aElliott Hughes pm_process.c \ 2072f4a2f30765fe17ba0dbf178c61fa953154108aElliott Hughes pm_map.c \ 2172f4a2f30765fe17ba0dbf178c61fa953154108aElliott Hughes pm_memusage.c \ 2272f4a2f30765fe17ba0dbf178c61fa953154108aElliott Hughes 2372f4a2f30765fe17ba0dbf178c61fa953154108aElliott Hughesinclude $(CLEAR_VARS) 24e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source ProjectLOCAL_MODULE := libpagemap 25e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source ProjectLOCAL_MODULE_TAGS := debug 2672f4a2f30765fe17ba0dbf178c61fa953154108aElliott HughesLOCAL_SRC_FILES := $(pagemap_src_files) 27e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source ProjectLOCAL_C_INCLUDES := $(LOCAL_PATH)/include 28879785074ca93e13896ce364a45eb5cc17081c4aDan AlbertLOCAL_CFLAGS := -Wno-unused-parameter 2972f4a2f30765fe17ba0dbf178c61fa953154108aElliott HughesLOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include 30e16cb84e2324f05334d18dcf5956f20f44262b62The Android Open Source Projectinclude $(BUILD_SHARED_LIBRARY) 3172f4a2f30765fe17ba0dbf178c61fa953154108aElliott Hughes 3272f4a2f30765fe17ba0dbf178c61fa953154108aElliott Hughesinclude $(CLEAR_VARS) 3372f4a2f30765fe17ba0dbf178c61fa953154108aElliott HughesLOCAL_MODULE := pagemap_test 3472f4a2f30765fe17ba0dbf178c61fa953154108aElliott HughesLOCAL_SRC_FILES := pagemap_test.cpp 3572f4a2f30765fe17ba0dbf178c61fa953154108aElliott HughesLOCAL_SHARED_LIBRARIES := libpagemap 3672f4a2f30765fe17ba0dbf178c61fa953154108aElliott Hughesinclude $(BUILD_NATIVE_TEST) 37