cc: Fix incorrect LTHI shutdown logic
[chromium-blink-merge.git] / gpu / gpu_untrusted.gyp
bloba6e502fde6562c130e055eb01c9cb1421044bf44
1 # Copyright (c) 2012 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   'variables': {
7     'chromium_code': 1,
8     # nacl_win64_target is for building the trusted Win64 NaCl broker.
9     'nacl_win64_target': 0,
10   },
11   'includes': [
12     '../build/common_untrusted.gypi',
13     'gpu_common.gypi',
14   ],
15   'conditions': [
16     ['disable_nacl==0 and disable_nacl_untrusted==0', {
17       'targets': [
18         {
19           'target_name': 'gles2_implementation_untrusted',
20           'type': 'none',
21           'variables': {
22             'nacl_untrusted_build': 1,
23             'nlib_target': 'libgles2_implementation_untrusted.a',
24             'build_glibc': 0,
25             'build_newlib': 1,
26           },
27           'defines': [
28             'GLES2_IMPL_IMPLEMENTATION',
29           ],
30           'sources': [
31             '<@(gles2_implementation_source_files)',
32           ],
33           'dependencies': [
34             '../native_client/tools.gyp:prep_toolchain',
35             '../base/base_untrusted.gyp:base_untrusted',
36             '../third_party/khronos/khronos.gyp:khronos_headers',
37             'command_buffer/command_buffer_untrusted.gyp:gles2_utils_untrusted',
38             'gles2_cmd_helper_untrusted',
39           ],
40         },
41         {
42           'target_name': 'command_buffer_common_untrusted',
43           'type': 'none',
44           'variables': {
45             'nacl_untrusted_build': 1,
46             'nlib_target': 'libcommand_buffer_common_untrusted.a',
47             'build_glibc': 0,
48             'build_newlib': 1,
49           },
50           'includes': [
51             'command_buffer_common.gypi',
52           ],
53           'dependencies': [
54             '../native_client/tools.gyp:prep_toolchain',
55             '../base/base_untrusted.gyp:base_untrusted',
56             'command_buffer/command_buffer_untrusted.gyp:gles2_utils_untrusted',
57           ],
58         },
59         {
60           'target_name': 'gles2_cmd_helper_untrusted',
61           'type': 'none',
62           'variables': {
63             'nacl_untrusted_build': 1,
64             'nlib_target': 'libgles2_cmd_helper_untrusted.a',
65             'build_glibc': 0,
66             'build_newlib': 1,
67           },
68           'includes': [
69             'gles2_cmd_helper.gypi',
70           ],
71           'dependencies': [
72             '../native_client/tools.gyp:prep_toolchain',
73             '../base/base_untrusted.gyp:base_untrusted',
74             'command_buffer_client_untrusted',
75           ],
76         },
77         {
78           'target_name': 'command_buffer_client_untrusted',
79           'type': 'none',
80           'variables': {
81             'nacl_untrusted_build': 1,
82             'nlib_target': 'libcommand_buffer_client_untrusted.a',
83             'build_glibc': 0,
84             'build_newlib': 1,
85           },
86           'includes': [
87             'command_buffer_client.gypi',
88           ],
89           'dependencies': [
90             '../native_client/tools.gyp:prep_toolchain',
91             '../base/base_untrusted.gyp:base_untrusted',
92             'command_buffer_common_untrusted',
93           ],
94         },
95         {
96           'target_name': 'gpu_ipc_untrusted',
97           'type': 'none',
98           'variables': {
99             'nacl_untrusted_build': 1,
100             'nlib_target': 'libgpu_ipc_untrusted.a',
101             'build_glibc': 0,
102             'build_newlib': 1,
103           },
104           'includes': [
105             'gpu_ipc.gypi',
106           ],
107           'dependencies': [
108             '../native_client/tools.gyp:prep_toolchain',
109             '../base/base_untrusted.gyp:base_untrusted',
110             'command_buffer_common_untrusted',
111           ],
112         },
113       ],
114     }],
115   ],