Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: ppapi/ppapi_proxy_untrusted.gypi

Issue 10565015: Add untrusted NaCl build for PPAPI proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/ppapi_proxy_untrusted.gyp ('k') | ppapi/ppapi_shared.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 # This GYP file defines untrusted (NaCl) targets. All targets in this
6 # file should be conditionally depended upon via 'disable_nacl!=1' to avoid
7 # requiring NaCl sources for building.
8
9 {
10 'includes': [
11 '../native_client/build/common.gypi',
12 ],
13 'targets': [
14 {
15 'target_name': 'base_untrusted',
16 'type': 'none',
17 'dependencies': [
18 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
19 '<(DEPTH)/native_client/src/untrusted/pthread/pthread.gyp:pthread_lib',
20 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib',
21 ],
22 'variables': {
23 'nlib_target': 'libbase_untrusted.a',
24 'build_glibc': 0,
25 'build_newlib': 1,
26 'include_dirs': [
27 '..',
28 ],
29 'sources': [
30 '../base/at_exit.cc',
31 '../base/atomicops_internals_x86_gcc.cc',
32 # '../base/base_paths.cc',
33 # '../base/base_paths_posix.cc',
34 '../base/bind_helpers.cc',
35 '../base/build_time.cc',
36 '../base/callback_internal.cc',
37 # '../base/command_line.cc',
38 # '../base/cpu.cc',
39 '../base/debug/alias.cc',
40 '../base/debug/debugger_posix.cc',
41 # '../base/debug/stack_trace.cc',
42 '../base/debug/trace_event.cc',
43 '../base/debug/trace_event_impl.cc',
44 # '../base/environment.cc',
45 '../base/file_path.cc',
46 # '../base/file_util.cc',
47 # '../base/file_util_posix.cc',
48 # '../base/file_util_proxy.cc',
49 '../base/files/file_path_watcher.cc',
50 # '../base/files/file_path_watcher_kqueue.cc',
51 '../base/files/file_path_watcher_stub.cc',
52 # '../base/global_descriptors_posix.cc',
53 '../base/json/json_reader.cc',
54 '../base/json/json_string_value_serializer.cc',
55 '../base/json/json_writer.cc',
56 '../base/json/string_escape.cc',
57 '../base/lazy_instance.cc',
58 '../base/location.cc',
59 '../base/logging.cc',
60 '../base/memory/ref_counted.cc',
61 '../base/memory/ref_counted_memory.cc',
62 '../base/memory/singleton.cc',
63 '../base/memory/weak_ptr.cc',
64 '../base/message_loop.cc',
65 '../base/message_loop_proxy.cc',
66 '../base/message_loop_proxy_impl.cc',
67 '../base/message_pump.cc',
68 '../base/message_pump_default.cc',
69 '../base/metrics/histogram.cc',
70 '../base/metrics/stats_counters.cc',
71 '../base/metrics/stats_table.cc',
72 # '../base/native_library_posix.cc',
73 '../base/os_compat_nacl.cc',
74 # '../base/path_service.cc',
75 '../base/pending_task.cc',
76 '../base/pickle.cc',
77 '../base/platform_file.cc',
78 # '../base/platform_file_posix.cc',
79 # '../base/process_posix.cc',
80 # '../base/process_util.cc',
81 # '../base/process_util_posix.cc',
82 '../base/profiler/alternate_timer.cc',
83 '../base/profiler/scoped_profile.cc',
84 '../base/profiler/tracked_time.cc',
85 '../base/property_bag.cc',
86 '../base/rand_util.cc',
87 '../base/rand_util_nacl.cc',
88 '../base/safe_strerror_posix.cc',
89 # '../base/scoped_native_library.cc',
90 # '../base/scoped_temp_dir.cc',
91 '../base/sha1_portable.cc',
92 '../base/shared_memory_nacl.cc',
93 '../base/string_number_conversions.cc',
94 '../base/string_piece.cc',
95 '../base/string_split.cc',
96 '../base/string_util.cc',
97 '../base/string16.cc',
98 '../base/stringprintf.cc',
99 '../base/sync_socket_nacl.cc',
100 '../base/synchronization/cancellation_flag.cc',
101 '../base/synchronization/condition_variable_posix.cc',
102 '../base/synchronization/lock.cc',
103 '../base/synchronization/lock_impl_posix.cc',
104 '../base/synchronization/waitable_event_posix.cc',
105 '../base/synchronization/waitable_event_watcher_posix.cc',
106 '../base/system_monitor/system_monitor.cc',
107 '../base/system_monitor/system_monitor_posix.cc',
108 # '../base/sys_info_posix.cc',
109 '../base/sys_string_conversions_posix.cc',
110 '../base/task_runner.cc',
111 '../base/thread_task_runner_handle.cc',
112 '../base/threading/non_thread_safe_impl.cc',
113 '../base/threading/platform_thread_posix.cc',
114 '../base/threading/post_task_and_reply_impl.cc',
115 # '../base/threading/sequenced_worker_pool.cc',
116 '../base/threading/simple_thread.cc',
117 '../base/threading/thread.cc',
118 '../base/threading/thread_checker_impl.cc',
119 '../base/threading/thread_collision_warner.cc',
120 '../base/threading/thread_local_posix.cc',
121 '../base/threading/thread_local_storage_posix.cc',
122 '../base/threading/thread_restrictions.cc',
123 '../base/threading/watchdog.cc',
124 '../base/threading/worker_pool.cc',
125 '../base/threading/worker_pool_posix.cc',
126 '../base/third_party/dmg_fp/g_fmt.cc',
127 '../base/third_party/dmg_fp/dtoa_wrapper.cc',
128 '../base/third_party/dynamic_annotations/dynamic_annotations.c',
129 '../base/third_party/icu/icu_utf.cc',
130 '../base/third_party/nspr/prtime.cc',
131 '../base/time_posix.cc',
132 '../base/time.cc',
133 '../base/timer.cc',
134 '../base/tracked_objects.cc',
135 '../base/tracking_info.cc',
136 '../base/utf_offset_string_conversions.cc',
137 '../base/utf_string_conversion_utils.cc',
138 '../base/utf_string_conversions.cc',
139 '../base/values.cc',
140 '../base/value_conversions.cc',
141 '../base/version.cc',
142 '../base/vlog.cc',
143 # '../base/nix/mime_util_xdg.cc',
144 # '../base/nix/xdg_util.cc',
145 ],
146 'compile_flags': [
147 '-pthread',
148 ],
149 },
150 },
151 {
152 'target_name': 'gpu_untrusted',
153 'type': 'none',
154 'dependencies': [
155 'base_untrusted',
156 ],
157 'variables': {
158 'nlib_target': 'libgpu_untrusted.a',
159 'build_glibc': 0,
160 'build_newlib': 1,
161 'include_dirs': [
162 '../gpu/command_buffer',
163 '..',
164 '../third_party/khronos',
165 ],
166 'sources': [
167 '../gpu/command_buffer/client/gles2_implementation.cc',
168 '../gpu/command_buffer/client/program_info_manager.cc',
169 '../gpu/command_buffer/common/gles2_cmd_utils.cc',
170 '../gpu/command_buffer/common/logging.cc',
171 '../gpu/command_buffer/common/cmd_buffer_common.cc',
172 '../gpu/command_buffer/common/gles2_cmd_format.cc',
173 '../gpu/command_buffer/common/id_allocator.cc',
174 '../gpu/command_buffer/client/cmd_buffer_helper.cc',
175 '../gpu/command_buffer/client/fenced_allocator.cc',
176 '../gpu/command_buffer/client/mapped_memory.cc',
177 '../gpu/command_buffer/client/ring_buffer.cc',
178 '../gpu/command_buffer/client/transfer_buffer.cc',
179 '../gpu/command_buffer/client/gles2_cmd_helper.cc',
180 '../gpu/ipc/gpu_command_buffer_traits.cc',
181 ],
182 'compile_flags': [
183 '-pthread',
184 ],
185 'link_flags': [
186 '-pthread',
187 '-lbase_untrusted',
188 ],
189 },
190 },
191 {
192 'target_name': 'ipc_untrusted',
193 'type': 'none',
194 'dependencies': [
195 'base_untrusted',
196 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib',
197 ],
198 'variables': {
199 'nlib_target': 'libipc_untrusted.a',
200 'build_glibc': 0,
201 'build_newlib': 1,
202 'include_dirs': [
203 '..',
204 ],
205 'sources': [
206 '../ipc/file_descriptor_set_posix.cc',
207 '../ipc/ipc_channel.cc',
208 '../ipc/ipc_channel_nacl.cc',
209 '../ipc/ipc_channel_proxy.cc',
210 '../ipc/ipc_channel_reader.cc',
211 '../ipc/ipc_logging.cc',
212 '../ipc/ipc_message.cc',
213 '../ipc/ipc_message_utils.cc',
214 '../ipc/ipc_platform_file.cc',
215 '../ipc/ipc_sync_channel.cc',
216 '../ipc/ipc_sync_message.cc',
217 '../ipc/ipc_sync_message_filter.cc',
218 ],
219 'compile_flags': [
220 '-pthread',
221 ],
222 'link_flags': [
223 '-pthread',
224 '-lbase_untrusted',
225 ],
226 },
227 },
228 {
229 'target_name': 'ppapi_proxy_untrusted',
230 'type': 'none',
231 'dependencies': [
232 'base_untrusted',
233 'gpu_untrusted',
234 'ipc_untrusted',
235 ],
236 'variables': {
237 'nexe_target': 'libppapi_proxy_untrusted.nexe',
238 'build_glibc': 0,
239 'build_newlib': 1,
240 'include_dirs': [
241 '..',
242 '../third_party/khronos',
243 '../third_party/skia/include/config',
244 ],
245 'sources': [
246 'shared_impl/callback_tracker.cc',
247 'shared_impl/file_type_conversion.cc',
248 'shared_impl/id_assignment.cc',
249 'shared_impl/platform_file.cc',
250 'shared_impl/ppapi_globals.cc',
251 'shared_impl/ppapi_preferences.cc',
252 'shared_impl/ppb_audio_config_shared.cc',
253 # 'shared_impl/ppb_audio_input_shared.cc',
254 'shared_impl/ppb_audio_shared.cc',
255 'shared_impl/ppb_crypto_shared.cc',
256 'shared_impl/ppb_device_ref_shared.cc',
257 'shared_impl/ppb_file_io_shared.cc',
258 'shared_impl/ppb_file_ref_shared.cc',
259 # 'shared_impl/ppb_graphics_3d_shared.cc',
260 'shared_impl/ppb_image_data_shared.cc',
261 'shared_impl/ppb_input_event_shared.cc',
262 'shared_impl/ppb_instance_shared.cc',
263 'shared_impl/ppb_memory_shared.cc',
264 # 'shared_impl/ppb_opengles2_shared.cc',
265 'shared_impl/ppb_resource_array_shared.cc',
266 'shared_impl/ppb_url_request_info_shared.cc',
267 # 'shared_impl/ppb_url_util_shared.cc',
268 'shared_impl/ppb_var_shared.cc',
269 # 'shared_impl/ppb_video_decoder_shared.cc',
270 # 'shared_impl/ppb_video_capture_shared.cc',
271 'shared_impl/ppb_view_shared.cc',
272 'shared_impl/ppp_instance_combined.cc',
273 'shared_impl/proxy_lock.cc',
274 'shared_impl/resource.cc',
275 'shared_impl/resource_tracker.cc',
276 'shared_impl/scoped_pp_resource.cc',
277 'shared_impl/time_conversion.cc',
278 'shared_impl/tracked_callback.cc',
279 'shared_impl/var.cc',
280 'shared_impl/var_tracker.cc',
281
282 'thunk/enter.cc',
283 'thunk/ppb_audio_config_thunk.cc',
284 # 'thunk/ppb_audio_input_thunk.cc',
285 # 'thunk/ppb_audio_input_trusted_thunk.cc',
286 'thunk/ppb_audio_thunk.cc',
287 # 'thunk/ppb_audio_trusted_thunk.cc',
288 # 'thunk/ppb_broker_thunk.cc',
289 # 'thunk/ppb_browser_font_trusted_thunk.cc',
290 # 'thunk/ppb_buffer_thunk.cc',
291 # 'thunk/ppb_buffer_trusted_thunk.cc',
292 # 'thunk/ppb_char_set_thunk.cc',
293 'thunk/ppb_console_thunk.cc',
294 'thunk/ppb_cursor_control_thunk.cc',
295 'thunk/ppb_device_ref_thunk.cc',
296 # 'thunk/ppb_directory_reader_thunk.cc',
297 'thunk/ppb_input_event_thunk.cc',
298 # 'thunk/ppb_file_chooser_thunk.cc',
299 'thunk/ppb_file_io_thunk.cc',
300 # 'thunk/ppb_file_io_trusted_thunk.cc',
301 'thunk/ppb_file_ref_thunk.cc',
302 'thunk/ppb_file_system_thunk.cc',
303 'thunk/ppb_find_thunk.cc',
304 # 'thunk/ppb_flash_clipboard_thunk.cc',
305 # 'thunk/ppb_flash_fullscreen_thunk.cc',
306 # 'thunk/ppb_flash_menu_thunk.cc',
307 # 'thunk/ppb_flash_message_loop_thunk.cc',
308 'thunk/ppb_fullscreen_thunk.cc',
309 'thunk/ppb_gamepad_thunk.cc',
310 # 'thunk/ppb_gles_chromium_texture_mapping_thunk.cc',
311 # 'thunk/ppb_graphics_2d_thunk.cc',
312 # 'thunk/ppb_graphics_3d_thunk.cc',
313 # 'thunk/ppb_graphics_3d_trusted_thunk.cc',
314 # 'thunk/ppb_host_resolver_private_thunk.cc',
315 'thunk/ppb_image_data_thunk.cc',
316 # 'thunk/ppb_image_data_trusted_thunk.cc',
317 'thunk/ppb_instance_thunk.cc',
318 # 'thunk/ppb_layer_compositor_thunk.cc',
319 'thunk/ppb_messaging_thunk.cc',
320 'thunk/ppb_mouse_lock_thunk.cc',
321 'thunk/ppb_resource_array_thunk.cc',
322 # 'thunk/ppb_scrollbar_thunk.cc',
323 # 'thunk/ppb_talk_private_thunk.cc',
324 # 'thunk/ppb_tcp_server_socket_private_thunk.cc',
325 # 'thunk/ppb_tcp_socket_private_thunk.cc',
326 'thunk/ppb_text_input_thunk.cc',
327 # 'thunk/ppb_udp_socket_private_thunk.cc',
328 'thunk/ppb_url_loader_thunk.cc',
329 'thunk/ppb_url_request_info_thunk.cc',
330 'thunk/ppb_url_response_info_thunk.cc',
331 # 'thunk/ppb_url_util_thunk.cc',
332 # 'thunk/ppb_video_capture_thunk.cc',
333 # 'thunk/ppb_video_decoder_thunk.cc',
334 # 'thunk/ppb_video_layer_thunk.cc',
335 'thunk/ppb_view_thunk.cc',
336 # 'thunk/ppb_websocket_thunk.cc',
337 'thunk/ppb_widget_thunk.cc',
338 # 'thunk/ppb_x509_certificate_private_thunk.cc',
339 'thunk/ppb_zoom_thunk.cc',
340
341 # 'proxy/broker_dispatcher.cc',
342 'proxy/dispatcher.cc',
343 'proxy/host_dispatcher.cc',
344 'proxy/host_var_serialization_rules.cc',
345 'proxy/interface_list.cc',
346 'proxy/interface_proxy.cc',
347 'proxy/pepper_file_messages.cc',
348 'proxy/plugin_array_buffer_var.cc',
349 'proxy/plugin_dispatcher.cc',
350 'proxy/plugin_globals.cc',
351 'proxy/plugin_message_filter.cc',
352 'proxy/plugin_resource_tracker.cc',
353 'proxy/plugin_var_serialization_rules.cc',
354 'proxy/plugin_var_tracker.cc',
355 'proxy/ppapi_messages.cc',
356 'proxy/ppapi_param_traits.cc',
357 # 'proxy/ppb_audio_input_proxy.cc',
358 'proxy/ppb_audio_proxy.cc',
359 # 'proxy/ppb_broker_proxy.cc',
360 # 'proxy/ppb_buffer_proxy.cc',
361 'proxy/ppb_core_proxy.cc',
362 # 'proxy/ppb_file_chooser_proxy.cc',
363 'proxy/ppb_file_io_proxy.cc',
364 'proxy/ppb_file_ref_proxy.cc',
365 'proxy/ppb_file_system_proxy.cc',
366 # 'proxy/ppb_graphics_2d_proxy.cc',
367 # 'proxy/ppb_graphics_3d_proxy.cc',
368 # 'proxy/ppb_host_resolver_private_proxy.cc',
369 'proxy/ppb_image_data_proxy.cc',
370 'proxy/ppb_instance_proxy.cc',
371 'proxy/ppb_message_loop_proxy.cc',
372 # 'proxy/ppb_network_monitor_private_proxy.cc',
373 # 'proxy/ppb_pdf_proxy.cc',
374 # 'proxy/ppb_talk_private_proxy.cc',
375 # 'proxy/ppb_tcp_server_socket_private_proxy.cc',
376 # 'proxy/ppb_tcp_socket_private_proxy.cc',
377 # 'proxy/ppb_testing_proxy.cc',
378 # 'proxy/ppb_udp_socket_private_proxy.cc',
379 'proxy/ppb_url_loader_proxy.cc',
380 'proxy/ppb_url_response_info_proxy.cc',
381 'proxy/ppb_var_deprecated_proxy.cc',
382 # 'proxy/ppb_video_capture_proxy.cc',
383 # 'proxy/ppb_video_decoder_proxy.cc',
384 'proxy/ppp_class_proxy.cc',
385 # 'proxy/ppp_graphics_3d_proxy.cc',
386 'proxy/ppp_input_event_proxy.cc',
387 # 'proxy/ppp_instance_private_proxy.cc',
388 'proxy/ppp_instance_proxy.cc',
389 'proxy/ppp_messaging_proxy.cc',
390 'proxy/ppp_mouse_lock_proxy.cc',
391 'proxy/ppp_printing_proxy.cc',
392 'proxy/ppp_text_input_proxy.cc',
393 # 'proxy/ppp_video_decoder_proxy.cc',
394 'proxy/proxy_channel.cc',
395 'proxy/proxy_module.cc',
396 'proxy/proxy_object_var.cc',
397 'proxy/resource_creation_proxy.cc',
398 'proxy/serialized_structs.cc',
399 'proxy/serialized_var.cc',
400 ],
401 'compile_flags': [
402 '-pthread',
403 ],
404 'link_flags': [
405 # '-lppapi_cpp',
406 # '-lppapi',
407 # '-lppruntime',
408 '-pthread',
409 '-lgpu_untrusted',
410 '-lipc_untrusted',
411 '-lbase_untrusted',
412 ],
413 },
414 },
415 ],
416 }
OLDNEW
« no previous file with comments | « ppapi/ppapi_proxy_untrusted.gyp ('k') | ppapi/ppapi_shared.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698