1*7688df22SAndroid Build Coastguard Worker# Copyright © 2017 Intel Corporation 2*7688df22SAndroid Build Coastguard Worker 3*7688df22SAndroid Build Coastguard Worker# Permission is hereby granted, free of charge, to any person obtaining a copy 4*7688df22SAndroid Build Coastguard Worker# of this software and associated documentation files (the "Software"), to deal 5*7688df22SAndroid Build Coastguard Worker# in the Software without restriction, including without limitation the rights 6*7688df22SAndroid Build Coastguard Worker# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7*7688df22SAndroid Build Coastguard Worker# copies of the Software, and to permit persons to whom the Software is 8*7688df22SAndroid Build Coastguard Worker# furnished to do so, subject to the following conditions: 9*7688df22SAndroid Build Coastguard Worker 10*7688df22SAndroid Build Coastguard Worker# The above copyright notice and this permission notice shall be included in 11*7688df22SAndroid Build Coastguard Worker# all copies or substantial portions of the Software. 12*7688df22SAndroid Build Coastguard Worker 13*7688df22SAndroid Build Coastguard Worker# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14*7688df22SAndroid Build Coastguard Worker# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15*7688df22SAndroid Build Coastguard Worker# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16*7688df22SAndroid Build Coastguard Worker# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17*7688df22SAndroid Build Coastguard Worker# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18*7688df22SAndroid Build Coastguard Worker# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19*7688df22SAndroid Build Coastguard Worker# SOFTWARE. 20*7688df22SAndroid Build Coastguard Worker 21*7688df22SAndroid Build Coastguard Workerinc_exynos = include_directories('../../exynos') 22*7688df22SAndroid Build Coastguard Worker 23*7688df22SAndroid Build Coastguard Workerif with_libkms 24*7688df22SAndroid Build Coastguard Worker exynos_fimg2d_test = executable( 25*7688df22SAndroid Build Coastguard Worker 'exynos_fimg2d_test', 26*7688df22SAndroid Build Coastguard Worker files('exynos_fimg2d_test.c'), 27*7688df22SAndroid Build Coastguard Worker c_args : libdrm_c_args, 28*7688df22SAndroid Build Coastguard Worker include_directories : [inc_root, inc_drm, inc_exynos, 29*7688df22SAndroid Build Coastguard Worker include_directories('../../libkms')], 30*7688df22SAndroid Build Coastguard Worker link_with : [libdrm, libkms, libdrm_exynos], 31*7688df22SAndroid Build Coastguard Worker dependencies : dep_threads, 32*7688df22SAndroid Build Coastguard Worker install : with_install_tests, 33*7688df22SAndroid Build Coastguard Worker ) 34*7688df22SAndroid Build Coastguard Workerendif 35*7688df22SAndroid Build Coastguard Worker 36*7688df22SAndroid Build Coastguard Workerexynos_fimg2d_perf = executable( 37*7688df22SAndroid Build Coastguard Worker 'exynos_fimg2d_perf', 38*7688df22SAndroid Build Coastguard Worker files('exynos_fimg2d_perf.c'), 39*7688df22SAndroid Build Coastguard Worker c_args : libdrm_c_args, 40*7688df22SAndroid Build Coastguard Worker include_directories : [inc_root, inc_drm, inc_exynos], 41*7688df22SAndroid Build Coastguard Worker link_with : [libdrm, libdrm_exynos], 42*7688df22SAndroid Build Coastguard Worker dependencies : dep_threads, 43*7688df22SAndroid Build Coastguard Worker install : with_install_tests, 44*7688df22SAndroid Build Coastguard Worker) 45*7688df22SAndroid Build Coastguard Worker 46*7688df22SAndroid Build Coastguard Workerexynos_fimg2d_event = executable( 47*7688df22SAndroid Build Coastguard Worker 'exynos_fimg2d_event', 48*7688df22SAndroid Build Coastguard Worker files('exynos_fimg2d_event.c'), 49*7688df22SAndroid Build Coastguard Worker c_args : libdrm_c_args, 50*7688df22SAndroid Build Coastguard Worker include_directories : [inc_root, inc_drm, inc_exynos], 51*7688df22SAndroid Build Coastguard Worker link_with : [libdrm, libdrm_exynos], 52*7688df22SAndroid Build Coastguard Worker dependencies : dep_threads, 53*7688df22SAndroid Build Coastguard Worker install : with_install_tests, 54*7688df22SAndroid Build Coastguard Worker) 55