Switch some page set from user_agent fields to coresponding shared_state classes
[chromium-blink-merge.git] / gpu / gpu_nacl.gyp
blob1f386195cc5ee65fd0decca1abf3b6d85559e000
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_nacl',
20           'type': 'none',
21           'variables': {
22             'nacl_untrusted_build': 1,
23             'nlib_target': 'libgles2_implementation_nacl.a',
24             'build_glibc': 0,
25             'build_newlib': 0,
26             'build_irt': 1,
27             'build_pnacl_newlib': 0,
28             'build_nonsfi_helper': 1,
29           },
30           'defines': [
31             'GLES2_IMPL_IMPLEMENTATION',
32           ],
33           'sources': [
34             '<@(gles2_implementation_source_files)',
35           ],
36           'dependencies': [
37             '../base/base_nacl.gyp:base_nacl',
38             '../base/base_nacl.gyp:base_nacl_nonsfi',
39             '../third_party/khronos/khronos.gyp:khronos_headers',
40             'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl',
41             'gles2_cmd_helper_nacl',
42           ],
43         },
44         {
45           'target_name': 'command_buffer_common_nacl',
46           'type': 'none',
47           'variables': {
48             'nacl_untrusted_build': 1,
49             'nlib_target': 'libcommand_buffer_common_nacl.a',
50             'build_glibc': 0,
51             'build_newlib': 0,
52             'build_irt': 1,
53             'build_pnacl_newlib': 0,
54             'build_nonsfi_helper': 1,
55           },
56           'includes': [
57             'command_buffer_common.gypi',
58           ],
59           'dependencies': [
60             '../base/base_nacl.gyp:base_nacl',
61             '../base/base_nacl.gyp:base_nacl_nonsfi',
62             'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl',
63           ],
64         },
65         {
66           'target_name': 'gles2_cmd_helper_nacl',
67           'type': 'none',
68           'variables': {
69             'nacl_untrusted_build': 1,
70             'nlib_target': 'libgles2_cmd_helper_nacl.a',
71             'build_glibc': 0,
72             'build_newlib': 0,
73             'build_irt': 1,
74             'build_pnacl_newlib': 0,
75             'build_nonsfi_helper': 1,
76           },
77           'includes': [
78             'gles2_cmd_helper.gypi',
79           ],
80           'dependencies': [
81             '../base/base_nacl.gyp:base_nacl',
82             '../base/base_nacl.gyp:base_nacl_nonsfi',
83             'command_buffer_client_nacl',
84           ],
85         },
86         {
87           'target_name': 'command_buffer_client_nacl',
88           'type': 'none',
89           'variables': {
90             'nacl_untrusted_build': 1,
91             'nlib_target': 'libcommand_buffer_client_nacl.a',
92             'build_glibc': 0,
93             'build_newlib': 0,
94             'build_irt': 1,
95             'build_pnacl_newlib': 0,
96             'build_nonsfi_helper': 1,
97           },
98           'includes': [
99             'command_buffer_client.gypi',
100           ],
101           'dependencies': [
102             '../base/base_nacl.gyp:base_nacl',
103             '../base/base_nacl.gyp:base_nacl_nonsfi',
104             'command_buffer_common_nacl',
105           ],
106         },
107         {
108           'target_name': 'gpu_ipc_nacl',
109           'type': 'none',
110           'variables': {
111             'nacl_untrusted_build': 1,
112             'nlib_target': 'libgpu_ipc_nacl.a',
113             'build_glibc': 0,
114             'build_newlib': 0,
115             'build_irt': 1,
116             'build_pnacl_newlib': 0,
117             'build_nonsfi_helper': 1,
118           },
119           'includes': [
120             'gpu_ipc.gypi',
121           ],
122           'dependencies': [
123             '../base/base_nacl.gyp:base_nacl',
124             '../base/base_nacl.gyp:base_nacl_nonsfi',
125             'command_buffer_common_nacl',
126           ],
127         },
128       ],
129     }],
130   ],