Rationalize and fix chromium android linker histogram recording.
[chromium-blink-merge.git] / gpu / khronos_glcts_support / khronos_glcts_cts.gyp
blob560deec56e906e43f392dfba5dd55c0e80942f39
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': 'glcts_common',
12       'type': 'static_library',
13       'conditions': [
14         ['OS=="linux"', {
15           'cflags_cc': [
16             # WA: Suppress "implicit conversion turns string literal into
17             # bool" compile warning from glcShaderIndexingTests.cpp,
18             # glcShaderLibraryCase.cpp and glcShaderLoopTests.cpp during
19             # Debug build
20             # TODO(uartie) fix.
21             '-Wno-string-conversion',
22           ],
23         }],
24       ],
25       'dependencies': [
26         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:delibs',
27         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil',
28         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:glutil',
29         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil_egl',
30       ],
31       'direct_dependent_settings': {
32         'include_dirs': [
33           '<(DEPTH)/third_party/khronos_glcts/cts/common',
34         ],
35       },
36       'sources': [
37         '<@(glcts_common_sources)',
38       ],
39     },
40     {
41       'target_name': 'glcts_gtf_wrapper',
42       'type': 'static_library',
43       'dependencies': [
44         'glcts_common',
45         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:delibs',
46         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil',
47         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:glutil',
48         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil_egl',
49       ],
50       'include_dirs': [
51         '<(DEPTH)/third_party/khronos_glcts/cts/gtf',
52         '<(DEPTH)/third_party/khronos_glcts/GTF_ES/glsl/GTF/Source'
53       ],
54       'direct_dependent_settings': {
55         'include_dirs': [
56           '<(DEPTH)/third_party/khronos_glcts/cts/gtf',
57         ],
58       },
59       'sources': [
60         '<@(glcts_gtf_wrapper_srcs)',
61       ],
62     },
63     {
64       'target_name': 'glcts_gtf',
65       'type': 'static_library',
66       'dependencies': [
67         'glcts_common', 'glcts_gtf_wrapper',
68         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_gtf.gyp:gtf_es',
69         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:delibs',
70         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil',
71         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:glutil',
72       ],
73       'direct_dependent_settings': {
74         'include_dirs': [
75           '<(DEPTH)/third_party/khronos_glcts/cts/gtf',
76         ],
77       },
78       'sources': [
79         '<@(glcts_gtf_srcs)',
80       ],
81     },
82     {
83       'target_name': 'glcts_es2',
84       'type': 'static_library',
85       'dependencies': [
86         'glcts_common', 'glcts_gtf',
87         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:delibs',
88         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil',
89         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:glutil',
90       ],
91       'direct_dependent_settings': {
92         'include_dirs': [
93           '<(DEPTH)/third_party/khronos_glcts/cts/gles2',
94         ],
95       },
96       'export_dependent_settings': [
97         'glcts_common',
98       ],
99       'sources': [
100         '<@(glcts_es2_srcs)',
101       ],
102     },
103   ],