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
15# Makefile to build device-based native tests.
16
17# GTest does not build on the simulator because it depends on STLport.
18ifneq ($(TARGET_SIMULATOR),true)
19
20LOCAL_PATH := $(call my-dir)
21include $(CLEAR_VARS)
22
23# All source files will be bundled into one test module
24LOCAL_SRC_FILES := TradeFedNativeTestApp_test.cpp
25
26LOCAL_CFLAGS := -Wall -Werror
27
28# All gtests in all files should be compiled into one binary
29# The standard naming should conform to: <module_being_tested>tests
30# For example, for libjingle, use libjingletests
31LOCAL_MODULE := tfnativetests
32
33LOCAL_MODULE_TAGS := optional
34
35include $(BUILD_NATIVE_TEST)
36
37endif
38