Convert Google Now's Authentication Manager to use Promises
[chromium-blink-merge.git] / gpu / gpu_untrusted.gyp
blob7974d12c5d7301b6b18f3d032cbf97b068989af5
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': 0,
26             'build_irt': 1,
27           },
28           'defines': [
29             'GLES2_IMPL_IMPLEMENTATION',
30           ],
31           'sources': [
32             '<@(gles2_implementation_source_files)',
33           ],
34           'dependencies': [
35             '../native_client/tools.gyp:prep_toolchain',
36             '../base/base_untrusted.gyp:base_untrusted',
37             '../third_party/khronos/khronos.gyp:khronos_headers',
38             'command_buffer/command_buffer_untrusted.gyp:gles2_utils_untrusted',
39             'gles2_cmd_helper_untrusted',
40           ],
41         },
42         {
43           'target_name': 'command_buffer_common_untrusted',
44           'type': 'none',
45           'variables': {
46             'nacl_untrusted_build': 1,
47             'nlib_target': 'libcommand_buffer_common_untrusted.a',
48             'build_glibc': 0,
49             'build_newlib': 0,
50             'build_irt': 1,
51           },
52           'includes': [
53             'command_buffer_common.gypi',
54           ],
55           'dependencies': [
56             '../native_client/tools.gyp:prep_toolchain',
57             '../base/base_untrusted.gyp:base_untrusted',
58             'command_buffer/command_buffer_untrusted.gyp:gles2_utils_untrusted',
59           ],
60         },
61         {
62           'target_name': 'gles2_cmd_helper_untrusted',
63           'type': 'none',
64           'variables': {
65             'nacl_untrusted_build': 1,
66             'nlib_target': 'libgles2_cmd_helper_untrusted.a',
67             'build_glibc': 0,
68             'build_newlib': 0,
69             'build_irt': 1,
70           },
71           'includes': [
72             'gles2_cmd_helper.gypi',
73           ],
74           'dependencies': [
75             '../native_client/tools.gyp:prep_toolchain',
76             '../base/base_untrusted.gyp:base_untrusted',
77             'command_buffer_client_untrusted',
78           ],
79         },
80         {
81           'target_name': 'command_buffer_client_untrusted',
82           'type': 'none',
83           'variables': {
84             'nacl_untrusted_build': 1,
85             'nlib_target': 'libcommand_buffer_client_untrusted.a',
86             'build_glibc': 0,
87             'build_newlib': 0,
88             'build_irt': 1,
89           },
90           'includes': [
91             'command_buffer_client.gypi',
92           ],
93           'dependencies': [
94             '../native_client/tools.gyp:prep_toolchain',
95             '../base/base_untrusted.gyp:base_untrusted',
96             'command_buffer_common_untrusted',
97           ],
98         },
99         {
100           'target_name': 'gpu_ipc_untrusted',
101           'type': 'none',
102           'variables': {
103             'nacl_untrusted_build': 1,
104             'nlib_target': 'libgpu_ipc_untrusted.a',
105             'build_glibc': 0,
106             'build_newlib': 0,
107             'build_irt': 1,
108           },
109           'includes': [
110             'gpu_ipc.gypi',
111           ],
112           'dependencies': [
113             '../native_client/tools.gyp:prep_toolchain',
114             '../base/base_untrusted.gyp:base_untrusted',
115             'command_buffer_common_untrusted',
116           ],
117         },
118       ],
119     }],
120   ],