1b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick# Copyright (C) 2010 The Android Open Source Project
2b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick#
3b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick# Licensed under the Apache License, Version 2.0 (the "License");
4b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick# you may not use this file except in compliance with the License.
5b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick# You may obtain a copy of the License at
6b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick#
7b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick#      http://www.apache.org/licenses/LICENSE-2.0
8b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick#
9b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick# Unless required by applicable law or agreed to in writing, software
10b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick# distributed under the License is distributed on an "AS IS" BASIS,
11b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick# See the License for the specific language governing permissions and
13b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick# limitations under the License.
14b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick
15b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad FitzpatrickLOCAL_PATH:= $(call my-dir)
16b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrick
17b12b4e0dbb16c5cf2cdf45401f2a32f1cb28fb98Dan Egnorinclude $(CLEAR_VARS)
18b12b4e0dbb16c5cf2cdf45401f2a32f1cb28fb98Dan EgnorLOCAL_MODULE_TAGS := tests   # Allows non-localized strings
19b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad FitzpatrickLOCAL_SRC_FILES := $(call all-subdir-java-files)
20b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad FitzpatrickLOCAL_SRC_FILES += src/com/android/rpc_performance/IService.aidl
21b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad FitzpatrickLOCAL_PACKAGE_NAME := RpcPerformance
22b63c226d27f7c9c66cc2e2e72165a6e86f70e211Brad Fitzpatrickinclude $(BUILD_PACKAGE)
23b12b4e0dbb16c5cf2cdf45401f2a32f1cb28fb98Dan Egnor
24524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#include $(CLEAR_VARS)
25524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#LOCAL_MODULE := rpcperftest
26524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
27524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#LOCAL_SHARED_LIBRARIES := libbinder
28524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#LOCAL_SRC_FILES := rpcperftest.cpp
29524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#include $(BUILD_EXECUTABLE)
307980ed8334bd654442c8377a89d0403fa23c463dDan Egnor
31524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#include $(CLEAR_VARS)
32524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#LOCAL_FORCE_STATIC_EXECUTABLE := true
33524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#LOCAL_MODULE := rpcperftest_static
34524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
35524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#LOCAL_STATIC_LIBRARIES := libbinder libutils libcutils libstdc++ libc
36524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#LOCAL_SRC_FILES := rpcperftest.cpp
37524a33dbe8e1186c6f404d0e5cdfd61923b54d70Brad Fitzpatrick#include $(BUILD_EXECUTABLE)
38