OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # nacl_win64_target is for building the trusted Win64 NaCl broker. | 8 # nacl_win64_target is for building the trusted Win64 NaCl broker. |
9 'nacl_win64_target': 0, | 9 'nacl_win64_target': 0, |
10 }, | 10 }, |
11 'includes': [ | 11 'includes': [ |
12 '../build/common_untrusted.gypi', | 12 '../build/common_untrusted.gypi', |
13 'gpu_common.gypi', | 13 'gpu_common.gypi', |
14 ], | 14 ], |
15 'conditions': [ | 15 'conditions': [ |
16 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 16 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
17 'targets': [ | 17 'targets': [ |
18 { | 18 { |
19 'target_name': 'gles2_implementation_nacl', | 19 'target_name': 'gles2_implementation_nacl', |
20 'type': 'none', | 20 'type': 'none', |
21 'variables': { | 21 'variables': { |
22 'nacl_untrusted_build': 1, | 22 'nacl_untrusted_build': 1, |
23 'nlib_target': 'libgles2_implementation_nacl.a', | 23 'nlib_target': 'libgles2_implementation_nacl.a', |
24 'build_glibc': 0, | 24 'build_glibc': 0, |
25 'build_newlib': 0, | 25 'build_newlib': 0, |
26 'build_irt': 1, | 26 'build_irt': 1, |
| 27 'build_pnacl_newlib': 0, |
| 28 'build_nonsfi_helper': 1, |
27 }, | 29 }, |
28 'defines': [ | 30 'defines': [ |
29 'GLES2_IMPL_IMPLEMENTATION', | 31 'GLES2_IMPL_IMPLEMENTATION', |
30 ], | 32 ], |
31 'sources': [ | 33 'sources': [ |
32 '<@(gles2_implementation_source_files)', | 34 '<@(gles2_implementation_source_files)', |
33 ], | 35 ], |
34 'dependencies': [ | 36 'dependencies': [ |
| 37 '../base/base_nacl.gyp:base_nacl', |
| 38 '../base/base_nacl.gyp:base_nacl_nonsfi', |
35 '../native_client/tools.gyp:prep_toolchain', | 39 '../native_client/tools.gyp:prep_toolchain', |
36 '../base/base_nacl.gyp:base_nacl', | |
37 '../third_party/khronos/khronos.gyp:khronos_headers', | 40 '../third_party/khronos/khronos.gyp:khronos_headers', |
38 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl', | 41 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl', |
39 'gles2_cmd_helper_nacl', | 42 'gles2_cmd_helper_nacl', |
40 ], | 43 ], |
41 }, | 44 }, |
42 { | 45 { |
43 'target_name': 'command_buffer_common_nacl', | 46 'target_name': 'command_buffer_common_nacl', |
44 'type': 'none', | 47 'type': 'none', |
45 'variables': { | 48 'variables': { |
46 'nacl_untrusted_build': 1, | 49 'nacl_untrusted_build': 1, |
47 'nlib_target': 'libcommand_buffer_common_nacl.a', | 50 'nlib_target': 'libcommand_buffer_common_nacl.a', |
48 'build_glibc': 0, | 51 'build_glibc': 0, |
49 'build_newlib': 0, | 52 'build_newlib': 0, |
50 'build_irt': 1, | 53 'build_irt': 1, |
| 54 'build_pnacl_newlib': 0, |
| 55 'build_nonsfi_helper': 1, |
51 }, | 56 }, |
52 'includes': [ | 57 'includes': [ |
53 'command_buffer_common.gypi', | 58 'command_buffer_common.gypi', |
54 ], | 59 ], |
55 'dependencies': [ | 60 'dependencies': [ |
| 61 '../base/base_nacl.gyp:base_nacl', |
| 62 '../base/base_nacl.gyp:base_nacl_nonsfi', |
56 '../native_client/tools.gyp:prep_toolchain', | 63 '../native_client/tools.gyp:prep_toolchain', |
57 '../base/base_nacl.gyp:base_nacl', | |
58 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl', | 64 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl', |
59 ], | 65 ], |
60 }, | 66 }, |
61 { | 67 { |
62 'target_name': 'gles2_cmd_helper_nacl', | 68 'target_name': 'gles2_cmd_helper_nacl', |
63 'type': 'none', | 69 'type': 'none', |
64 'variables': { | 70 'variables': { |
65 'nacl_untrusted_build': 1, | 71 'nacl_untrusted_build': 1, |
66 'nlib_target': 'libgles2_cmd_helper_nacl.a', | 72 'nlib_target': 'libgles2_cmd_helper_nacl.a', |
67 'build_glibc': 0, | 73 'build_glibc': 0, |
68 'build_newlib': 0, | 74 'build_newlib': 0, |
69 'build_irt': 1, | 75 'build_irt': 1, |
| 76 'build_pnacl_newlib': 0, |
| 77 'build_nonsfi_helper': 1, |
70 }, | 78 }, |
71 'includes': [ | 79 'includes': [ |
72 'gles2_cmd_helper.gypi', | 80 'gles2_cmd_helper.gypi', |
73 ], | 81 ], |
74 'dependencies': [ | 82 'dependencies': [ |
| 83 '../base/base_nacl.gyp:base_nacl', |
| 84 '../base/base_nacl.gyp:base_nacl_nonsfi', |
75 '../native_client/tools.gyp:prep_toolchain', | 85 '../native_client/tools.gyp:prep_toolchain', |
76 '../base/base_nacl.gyp:base_nacl', | |
77 'command_buffer_client_nacl', | 86 'command_buffer_client_nacl', |
78 ], | 87 ], |
79 }, | 88 }, |
80 { | 89 { |
81 'target_name': 'command_buffer_client_nacl', | 90 'target_name': 'command_buffer_client_nacl', |
82 'type': 'none', | 91 'type': 'none', |
83 'variables': { | 92 'variables': { |
84 'nacl_untrusted_build': 1, | 93 'nacl_untrusted_build': 1, |
85 'nlib_target': 'libcommand_buffer_client_nacl.a', | 94 'nlib_target': 'libcommand_buffer_client_nacl.a', |
86 'build_glibc': 0, | 95 'build_glibc': 0, |
87 'build_newlib': 0, | 96 'build_newlib': 0, |
88 'build_irt': 1, | 97 'build_irt': 1, |
| 98 'build_pnacl_newlib': 0, |
| 99 'build_nonsfi_helper': 1, |
89 }, | 100 }, |
90 'includes': [ | 101 'includes': [ |
91 'command_buffer_client.gypi', | 102 'command_buffer_client.gypi', |
92 ], | 103 ], |
93 'dependencies': [ | 104 'dependencies': [ |
| 105 '../base/base_nacl.gyp:base_nacl', |
| 106 '../base/base_nacl.gyp:base_nacl_nonsfi', |
94 '../native_client/tools.gyp:prep_toolchain', | 107 '../native_client/tools.gyp:prep_toolchain', |
95 '../base/base_nacl.gyp:base_nacl', | |
96 'command_buffer_common_nacl', | 108 'command_buffer_common_nacl', |
97 ], | 109 ], |
98 }, | 110 }, |
99 { | 111 { |
100 'target_name': 'gpu_ipc_nacl', | 112 'target_name': 'gpu_ipc_nacl', |
101 'type': 'none', | 113 'type': 'none', |
102 'variables': { | 114 'variables': { |
103 'nacl_untrusted_build': 1, | 115 'nacl_untrusted_build': 1, |
104 'nlib_target': 'libgpu_ipc_nacl.a', | 116 'nlib_target': 'libgpu_ipc_nacl.a', |
105 'build_glibc': 0, | 117 'build_glibc': 0, |
106 'build_newlib': 0, | 118 'build_newlib': 0, |
107 'build_irt': 1, | 119 'build_irt': 1, |
| 120 'build_pnacl_newlib': 0, |
| 121 'build_nonsfi_helper': 1, |
108 }, | 122 }, |
109 'includes': [ | 123 'includes': [ |
110 'gpu_ipc.gypi', | 124 'gpu_ipc.gypi', |
111 ], | 125 ], |
112 'dependencies': [ | 126 'dependencies': [ |
| 127 '../base/base_nacl.gyp:base_nacl', |
| 128 '../base/base_nacl.gyp:base_nacl_nonsfi', |
113 '../native_client/tools.gyp:prep_toolchain', | 129 '../native_client/tools.gyp:prep_toolchain', |
114 '../base/base_nacl.gyp:base_nacl', | |
115 'command_buffer_common_nacl', | 130 'command_buffer_common_nacl', |
116 ], | 131 ], |
117 }, | 132 }, |
118 ], | 133 ], |
119 }], | 134 }], |
120 ], | 135 ], |
121 } | 136 } |
OLD | NEW |