Standardize usage of virtual/override/final specifiers in crypto/.
[chromium-blink-merge.git] / gpu / khronos_glcts_support / khronos_glcts_test.gyp
blob70b193209d0f11c166e5d442aa529243c438b8f6
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.
6   'includes': [
7     'khronos_glcts.gypi',
8   ],
9   'targets': [
10     {
11       'target_name': 'khronos_glcts_test',
12       'type': 'executable',
13       'dependencies': [
14         '<(DEPTH)/base/base.gyp:base',
15         '<(DEPTH)/gpu/gpu.gyp:gpu',
16         '<(DEPTH)/testing/gtest.gyp:gtest',
17       ],
18       'sources': [
19         'khronos_glcts_test.cc',
20       ],
21       'conditions': [
22         ['internal_khronos_glcts_tests', {
23           'dependencies': [
24             'khronos_glcts_test_windowless',
25           ],
26           'variables': {
27             'khronos_glcts_test_output_dir': '<(SHARED_INTERMEDIATE_DIR)/gpu/khronos_glcts_test',
28           },
29           'sources': [
30             '<(khronos_glcts_test_output_dir)/khronos_glcts_test_autogen.cc',
31           ],
32           'actions': [
33             {
34               'action_name': 'generate_khronos_glcts_tests',
35               'inputs': [
36                 'generate_khronos_glcts_tests.py',
37                 'khronos_glcts_test.h',
38                 '<@(glcts_gtf_runfiles)',
39               ],
40               'outputs': [
41                 '<(khronos_glcts_test_output_dir)/khronos_glcts_test_autogen.cc',
42               ],
43               'action': [
44                 'python',
45                 'generate_khronos_glcts_tests.py',
46                 '--outdir=<(khronos_glcts_test_output_dir)',
47                 '<@(glcts_gtf_runfiles)',
48               ],
49             },
50           ],
51         }],
52       ],
53     },
54   ],
55   'conditions': [
56     ['internal_khronos_glcts_tests', {
57       'targets': [
58         {
59           'target_name': 'tcutil_platform_windowless',
60           'type': 'static_library',
61           'dependencies': [
62             '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:khronos_glcts_framework',
63           ],
64           'sources': [
65             'native/egl_native_windowless.cc',
66           ],
67         },
68         {
69           'target_name': 'khronos_glcts_test_windowless',
70           'type': 'executable',
71           'dependencies': [
72             'tcutil_platform_windowless',
73             '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:khronos_glcts_framework',
74             '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_cts.gyp:glcts_es2',
75           ],
76           'copies': [
77             {
78               'destination': '<(PRODUCT_DIR)/khronos_glcts_data/gl_cts',
79               'files': [
80                 '<@(glcts_data_dirs)',
81               ],
82             },
83             {
84               'destination': '<(PRODUCT_DIR)/khronos_glcts_data/gl_cts/GTF',
85               'files': [
86                 '<@(glcts_gtf_data_dirs)',
87                 '<@(glcts_gtf_runfiles)',
88               ],
89             },
90           ],
91           'sources': [
92             '<(DEPTH)/third_party/khronos_glcts/cts/glcTestPackageEntry.cpp',
93             '<(DEPTH)/third_party/khronos_glcts/cts/glcTestPackageRegistry.cpp',
94             '<(DEPTH)/third_party/khronos_glcts/cts/glcTestPackageRegistry.hpp',
95             'native/main.cc',
96           ],
97         },
98       ],
99     }],
100   ],