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 }, | |
9 'includes': [ | |
10 '../native_client/build/untrusted.gypi', | |
11 'gpu_common.gypi', | |
12 ], | |
13 'conditions': [ | |
14 ['disable_nacl==0 and disable_nacl_untrusted==0', { | |
15 'targets': [ | |
16 { | |
17 'target_name': 'gles2_implementation_untrusted', | |
18 'type': 'none', | |
19 'variables': { | |
20 'nacl_untrusted_build': 1, | |
21 'nlib_target': 'libgles2_implementation_untrusted.a', | |
22 'build_glibc': 0, | |
23 'build_newlib': 1, | |
24 }, | |
25 'defines': [ | |
26 'GLES2_IMPL_IMPLEMENTATION', | |
27 ], | |
28 'include_dirs': [ | |
29 '../third_party/khronos', | |
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 '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 ], | |
116 } | |
OLD | NEW |