blob: a4abe4ff331940580ae44fd371b89234f71c9f05 [file] [log] [blame]
Stuart Scott4e4502a2013-02-07 14:30:41 -08001#
2# Copyright (C) 2013 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
Stuart Scott952b5602013-03-08 10:46:32 -080015
16# build only for linux
17ifeq ($(HOST_OS),linux)
Stuart Scott4e4502a2013-02-07 14:30:41 -080018
19LOCAL_PATH:= $(call my-dir)
20include $(CLEAR_VARS)
21
22LOCAL_MODULE_TAGS := optional
23LOCAL_SRC_FILES := $(patsubst ./%,%, $(shell cd $(LOCAL_PATH); \
24 find . -name "*.cpp" -and -not -name ".*"))
25LOCAL_SRC_FILES += ../jni/graphics/Matrix.cpp
26
27#$(info $(LOCAL_SRC_FILES))
28LOCAL_C_INCLUDES += external/gtest/include $(LOCAL_PATH)/../jni/graphics/
Ying Wang752eee12013-04-09 21:42:10 -070029LOCAL_STATIC_LIBRARIES := libutils libcutils libgtest_host libgtest_main_host liblog
Andrew Hsieh4b08c962014-03-13 04:10:05 -070030LOCAL_LDFLAGS:= -g -lrt -ldl -lstdc++ -lm -fno-exceptions -lpthread
Stuart Scotta132af62013-11-07 10:30:32 -080031LOCAL_MODULE:= cts_device_opengl_test
Stuart Scott4e4502a2013-02-07 14:30:41 -080032include $(BUILD_HOST_EXECUTABLE)
Stuart Scott952b5602013-03-08 10:46:32 -080033
Ying Wang752eee12013-04-09 21:42:10 -070034endif # linux