| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'includes': [ | |
| 7 'khronos_glcts.gypi', | |
| 8 'khronos_glcts_defaults.gypi', | |
| 9 ], | |
| 10 'targets': [ | |
| 11 { | |
| 12 'target_name': 'khronos_glcts_test', | |
| 13 'type': 'executable', | |
| 14 'dependencies': [ | |
| 15 '<(DEPTH)/base/base.gyp:base', | |
| 16 '<(DEPTH)/gpu/gpu.gyp:gpu', | |
| 17 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 18 ], | |
| 19 'sources': [ | |
| 20 'khronos_glcts_test.cc', | |
| 21 ], | |
| 22 'conditions': [ | |
| 23 ['internal_khronos_glcts_tests', { | |
| 24 'dependencies': [ | |
| 25 'khronos_glcts_test_windowless', | |
| 26 ], | |
| 27 'variables': { | |
| 28 'khronos_glcts_test_output_dir': '<(SHARED_INTERMEDIATE_DIR)/gpu/khr
onos_glcts_test', | |
| 29 }, | |
| 30 'sources': [ | |
| 31 '<(khronos_glcts_test_output_dir)/khronos_glcts_test_autogen.cc', | |
| 32 ], | |
| 33 'actions': [ | |
| 34 { | |
| 35 'action_name': 'generate_khronos_glcts_tests', | |
| 36 'inputs': [ | |
| 37 'generate_khronos_glcts_tests.py', | |
| 38 'khronos_glcts_test.h', | |
| 39 '<@(glcts_gtf_runfiles)', | |
| 40 ], | |
| 41 'outputs': [ | |
| 42 '<(khronos_glcts_test_output_dir)/khronos_glcts_test_autogen.cc'
, | |
| 43 ], | |
| 44 'action': [ | |
| 45 'python', | |
| 46 'generate_khronos_glcts_tests.py', | |
| 47 '--outdir=<(khronos_glcts_test_output_dir)', | |
| 48 '<@(glcts_gtf_runfiles)', | |
| 49 ], | |
| 50 }, | |
| 51 ], | |
| 52 }], | |
| 53 ], | |
| 54 }, | |
| 55 ], | |
| 56 'conditions': [ | |
| 57 ['internal_khronos_glcts_tests', { | |
| 58 'targets': [ | |
| 59 { | |
| 60 'target_name': 'tcutil_platform_windowless', | |
| 61 'type': 'static_library', | |
| 62 'dependencies': [ | |
| 63 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:khro
nos_glcts_framework', | |
| 64 ], | |
| 65 'sources': [ | |
| 66 'native/egl_native_windowless.cc', | |
| 67 ], | |
| 68 }, | |
| 69 { | |
| 70 'target_name': 'khronos_glcts_test_windowless', | |
| 71 'type': 'executable', | |
| 72 'dependencies': [ | |
| 73 'tcutil_platform_windowless', | |
| 74 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:khro
nos_glcts_framework', | |
| 75 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_cts.gyp:glcts_es2'
, | |
| 76 ], | |
| 77 'copies': [ | |
| 78 { | |
| 79 'destination': '<(PRODUCT_DIR)/khronos_glcts_data/gl_cts', | |
| 80 'files': [ | |
| 81 '<@(glcts_data_dirs)', | |
| 82 ], | |
| 83 }, | |
| 84 { | |
| 85 'destination': '<(PRODUCT_DIR)/khronos_glcts_data/gl_cts/GTF', | |
| 86 'files': [ | |
| 87 '<@(glcts_gtf_data_dirs)', | |
| 88 '<@(glcts_gtf_runfiles)', | |
| 89 ], | |
| 90 }, | |
| 91 ], | |
| 92 'sources': [ | |
| 93 '<(DEPTH)/third_party/khronos_glcts/cts/glcTestPackageEntry.cpp', | |
| 94 '<(DEPTH)/third_party/khronos_glcts/cts/glcTestPackageRegistry.cpp', | |
| 95 '<(DEPTH)/third_party/khronos_glcts/cts/glcTestPackageRegistry.hpp', | |
| 96 'native/main.cc', | |
| 97 ], | |
| 98 }, | |
| 99 ], | |
| 100 }], | |
| 101 ], | |
| 102 } | |
| OLD | NEW |