OLD | NEW |
| (Empty) |
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. | |
4 | |
5 { | |
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 '../native_client/tools.gyp:prep_toolchain', | |
40 '../third_party/khronos/khronos.gyp:khronos_headers', | |
41 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl', | |
42 'gles2_cmd_helper_nacl', | |
43 ], | |
44 }, | |
45 { | |
46 'target_name': 'command_buffer_common_nacl', | |
47 'type': 'none', | |
48 'variables': { | |
49 'nacl_untrusted_build': 1, | |
50 'nlib_target': 'libcommand_buffer_common_nacl.a', | |
51 'build_glibc': 0, | |
52 'build_newlib': 0, | |
53 'build_irt': 1, | |
54 'build_pnacl_newlib': 0, | |
55 'build_nonsfi_helper': 1, | |
56 }, | |
57 'includes': [ | |
58 'command_buffer_common.gypi', | |
59 ], | |
60 'dependencies': [ | |
61 '../base/base_nacl.gyp:base_nacl', | |
62 '../base/base_nacl.gyp:base_nacl_nonsfi', | |
63 '../native_client/tools.gyp:prep_toolchain', | |
64 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl', | |
65 ], | |
66 }, | |
67 { | |
68 'target_name': 'gles2_cmd_helper_nacl', | |
69 'type': 'none', | |
70 'variables': { | |
71 'nacl_untrusted_build': 1, | |
72 'nlib_target': 'libgles2_cmd_helper_nacl.a', | |
73 'build_glibc': 0, | |
74 'build_newlib': 0, | |
75 'build_irt': 1, | |
76 'build_pnacl_newlib': 0, | |
77 'build_nonsfi_helper': 1, | |
78 }, | |
79 'includes': [ | |
80 'gles2_cmd_helper.gypi', | |
81 ], | |
82 'dependencies': [ | |
83 '../base/base_nacl.gyp:base_nacl', | |
84 '../base/base_nacl.gyp:base_nacl_nonsfi', | |
85 '../native_client/tools.gyp:prep_toolchain', | |
86 'command_buffer_client_nacl', | |
87 ], | |
88 }, | |
89 { | |
90 'target_name': 'command_buffer_client_nacl', | |
91 'type': 'none', | |
92 'variables': { | |
93 'nacl_untrusted_build': 1, | |
94 'nlib_target': 'libcommand_buffer_client_nacl.a', | |
95 'build_glibc': 0, | |
96 'build_newlib': 0, | |
97 'build_irt': 1, | |
98 'build_pnacl_newlib': 0, | |
99 'build_nonsfi_helper': 1, | |
100 }, | |
101 'includes': [ | |
102 'command_buffer_client.gypi', | |
103 ], | |
104 'dependencies': [ | |
105 '../base/base_nacl.gyp:base_nacl', | |
106 '../base/base_nacl.gyp:base_nacl_nonsfi', | |
107 '../native_client/tools.gyp:prep_toolchain', | |
108 'command_buffer_common_nacl', | |
109 ], | |
110 }, | |
111 { | |
112 'target_name': 'gpu_ipc_nacl', | |
113 'type': 'none', | |
114 'variables': { | |
115 'nacl_untrusted_build': 1, | |
116 'nlib_target': 'libgpu_ipc_nacl.a', | |
117 'build_glibc': 0, | |
118 'build_newlib': 0, | |
119 'build_irt': 1, | |
120 'build_pnacl_newlib': 0, | |
121 'build_nonsfi_helper': 1, | |
122 }, | |
123 'includes': [ | |
124 'gpu_ipc.gypi', | |
125 ], | |
126 'dependencies': [ | |
127 '../base/base_nacl.gyp:base_nacl', | |
128 '../base/base_nacl.gyp:base_nacl_nonsfi', | |
129 '../native_client/tools.gyp:prep_toolchain', | |
130 'command_buffer_common_nacl', | |
131 ], | |
132 }, | |
133 ], | |
134 }], | |
135 ], | |
136 } | |
OLD | NEW |