1# Copyright (C) 2010 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
17include $(CLEAR_VARS)
18LOCAL_MODULE_TAGS := tests   # Allows non-localized strings
19LOCAL_SRC_FILES := $(call all-subdir-java-files)
20LOCAL_SRC_FILES += src/com/android/rpc_performance/IService.aidl
21LOCAL_PACKAGE_NAME := RpcPerformance
22include $(BUILD_PACKAGE)
23
24#include $(CLEAR_VARS)
25#LOCAL_MODULE := rpcperftest
26#LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
27#LOCAL_SHARED_LIBRARIES := libbinder
28#LOCAL_SRC_FILES := rpcperftest.cpp
29#include $(BUILD_EXECUTABLE)
30
31#include $(CLEAR_VARS)
32#LOCAL_FORCE_STATIC_EXECUTABLE := true
33#LOCAL_MODULE := rpcperftest_static
34#LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
35#LOCAL_STATIC_LIBRARIES := libbinder libutils libcutils libstdc++ libc
36#LOCAL_SRC_FILES := rpcperftest.cpp
37#include $(BUILD_EXECUTABLE)
38