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

Side by Side Diff: ppapi/ppapi_cpp.gypi

Issue 8632023: Avoid references to untrusted.gypi in WebKit (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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.gyp ('k') | ppapi/ppapi_internal.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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
6 # Shared source lists between trusted and untrusted targets are stored in
7 # ppapi_sources.gypi.
8
5 { 9 {
10 'includes': [
11 'ppapi_sources.gypi'
12 ],
6 'targets': [ 13 'targets': [
7 { 14 {
8 'target_name': 'ppapi_c', 15 'target_name': 'ppapi_c',
9 'type': 'none', 16 'type': 'none',
10 'all_dependent_settings': { 17 'all_dependent_settings': {
11 'include_dirs+': [ 18 'include_dirs+': [
12 '..', 19 '..',
13 ], 20 ],
14 }, 21 },
15 'sources': [ 22 'sources': [
16 'c/pp_bool.h', 23 '<@(c_sources)',
17 'c/pp_completion_callback.h', 24 'cpp/module_embedder.h',
18 'c/pp_errors.h', 25 'cpp/ppp_entrypoints.cc',
19 'c/pp_file_info.h',
20 'c/pp_graphics_3d.h',
21 'c/pp_input_event.h',
22 'c/pp_instance.h',
23 'c/pp_macros.h',
24 'c/pp_module.h',
25 'c/pp_point.h',
26 'c/pp_rect.h',
27 'c/pp_resource.h',
28 'c/pp_size.h',
29 'c/pp_stdint.h',
30 'c/pp_time.h',
31 'c/pp_var.h',
32 'c/ppb.h',
33 'c/ppb_audio.h',
34 'c/ppb_audio_config.h',
35 'c/ppb_core.h',
36 'c/ppb_file_io.h',
37 'c/ppb_file_ref.h',
38 'c/ppb_file_system.h',
39 'c/ppb_fullscreen.h',
40 'c/ppb_graphics_2d.h',
41 'c/ppb_graphics_3d.h',
42 'c/ppb_image_data.h',
43 'c/ppb_input_event.h',
44 'c/ppb_instance.h',
45 'c/ppb_messaging.h',
46 'c/ppb_mouse_lock.h',
47 'c/ppb_opengles2.h',
48 'c/ppb_url_loader.h',
49 'c/ppb_url_request_info.h',
50 'c/ppb_url_response_info.h',
51 'c/ppb_var.h',
52 'c/ppp.h',
53 'c/ppp_graphics_3d.h',
54 'c/ppp_input_event.h',
55 'c/ppp_instance.h',
56 'c/ppp_messaging.h',
57 'c/ppp_mouse_lock.h',
58
59 # Dev interfaces.
60 'c/dev/pp_cursor_type_dev.h',
61 'c/dev/pp_video_dev.h',
62 'c/dev/ppb_buffer_dev.h',
63 'c/dev/ppb_char_set_dev.h',
64 'c/dev/ppb_context_3d_dev.h',
65 'c/dev/ppb_context_3d_trusted_dev.h',
66 'c/dev/ppb_console_dev.h',
67 'c/dev/ppb_cursor_control_dev.h',
68 'c/dev/ppb_directory_reader_dev.h',
69 'c/dev/ppb_file_chooser_dev.h',
70 'c/dev/ppb_find_dev.h',
71 'c/dev/ppb_font_dev.h',
72 'c/dev/ppb_fullscreen_dev.h',
73 'c/dev/ppb_ime_input_event_dev.h',
74 'c/dev/ppb_memory_dev.h',
75 'c/dev/ppb_scrollbar_dev.h',
76 'c/dev/ppb_surface_3d_dev.h',
77 'c/dev/ppb_testing_dev.h',
78 'c/dev/ppb_url_util_dev.h',
79 'c/dev/ppb_video_decoder_dev.h',
80 'c/dev/ppb_websocket_dev.h',
81 'c/dev/ppb_widget_dev.h',
82 'c/dev/ppb_zoom_dev.h',
83 'c/dev/ppp_cursor_control_dev.h',
84 'c/dev/ppp_find_dev.h',
85 'c/dev/ppp_network_state_dev.h',
86 'c/dev/ppp_scrollbar_dev.h',
87 'c/dev/ppp_selection_dev.h',
88 'c/dev/ppb_text_input_dev.h',
89 'c/dev/ppp_video_decoder_dev.h',
90 'c/dev/ppp_widget_dev.h',
91 'c/dev/ppp_zoom_dev.h',
92
93 # Private interfaces.
94 'c/private/ppb_flash.h',
95 'c/private/ppb_flash_clipboard.h',
96 'c/private/ppb_flash_file.h',
97 'c/private/ppb_flash_fullscreen.h',
98 'c/private/ppb_flash_menu.h',
99 'c/private/ppb_flash_net_connector.h',
100 'c/private/ppb_flash_tcp_socket.h',
101 'c/private/ppb_flash_udp_socket.h',
102 'c/private/ppb_gpu_blacklist_private.h',
103 'c/private/ppb_instance_private.h',
104 'c/private/ppb_nacl_private.h',
105 'c/private/ppb_net_address_private.h',
106 'c/private/ppb_pdf.h',
107 'c/private/ppb_proxy_private.h',
108 'c/private/ppp_instance_private.h',
109 'c/private/ppb_tcp_socket_private.h',
110 'c/private/ppb_udp_socket_private.h',
111
112 # Deprecated interfaces.
113 'c/dev/deprecated_bool.h',
114 'c/dev/ppb_var_deprecated.h',
115 'c/dev/ppp_class_deprecated.h',
116
117 # Trusted interfaces.
118 'c/trusted/ppb_audio_trusted.h',
119 'c/trusted/ppb_broker_trusted.h',
120 'c/trusted/ppb_buffer_trusted.h',
121 'c/trusted/ppb_file_chooser_trusted.h',
122 'c/trusted/ppb_file_io_trusted.h',
123 'c/trusted/ppb_graphics_3d_trusted.h',
124 'c/trusted/ppb_image_data_trusted.h',
125 'c/trusted/ppb_url_loader_trusted.h',
126 'c/trusted/ppp_broker.h',
127 ],
128 'conditions': [
129 ['p2p_apis==1', {
130 'sources': [
131 'c/dev/ppb_transport_dev.h',
132 ],
133 }],
134 ], 26 ],
135 }, 27 },
136 { 28 {
137 'target_name': 'ppapi_cpp_objects', 29 'target_name': 'ppapi_cpp_objects',
138 'type': 'static_library', 30 'type': 'static_library',
139 'dependencies': [ 31 'dependencies': [
140 'ppapi_c' 32 'ppapi_c'
141 ], 33 ],
142 'include_dirs+': [ 34 'include_dirs+': [
143 '..', 35 '..',
144 ], 36 ],
145 'sources': [ 37 'sources': [
146 'cpp/audio.cc', 38 '<@(cpp_sources)',
147 'cpp/audio.h',
148 'cpp/audio_config.cc',
149 'cpp/audio_config.h',
150 'cpp/completion_callback.cc',
151 'cpp/completion_callback.h',
152 'cpp/core.cc',
153 'cpp/core.h',
154 'cpp/file_io.cc',
155 'cpp/file_io.h',
156 'cpp/file_ref.cc',
157 'cpp/file_ref.h',
158 'cpp/file_system.cc',
159 'cpp/file_system.h',
160 'cpp/fullscreen.cc',
161 'cpp/fullscreen.h',
162 'cpp/graphics_2d.cc',
163 'cpp/graphics_2d.h',
164 'cpp/graphics_3d.cc',
165 'cpp/graphics_3d.h',
166 'cpp/graphics_3d_client.cc',
167 'cpp/graphics_3d_client.h',
168 'cpp/image_data.cc',
169 'cpp/image_data.h',
170 'cpp/input_event.cc',
171 'cpp/input_event.h',
172 'cpp/instance.cc',
173 'cpp/instance.h',
174 'cpp/logging.h',
175 'cpp/module.cc',
176 'cpp/module.h',
177 'cpp/module_impl.h',
178 'cpp/mouse_lock.cc',
179 'cpp/mouse_lock.h',
180 'cpp/non_thread_safe_ref_count.h',
181 'cpp/paint_aggregator.cc',
182 'cpp/paint_aggregator.h',
183 'cpp/paint_manager.cc',
184 'cpp/paint_manager.h',
185 'cpp/point.h',
186 'cpp/rect.cc',
187 'cpp/rect.h',
188 'cpp/resource.cc',
189 'cpp/resource.h',
190 'cpp/size.h',
191 'cpp/url_loader.cc',
192 'cpp/url_loader.h',
193 'cpp/url_request_info.cc',
194 'cpp/url_request_info.h',
195 'cpp/url_response_info.cc',
196 'cpp/url_response_info.h',
197 'cpp/var.cc',
198 'cpp/var.h',
199
200 # Dev interfaces.
201 'cpp/dev/audio_input_dev.cc',
202 'cpp/dev/audio_input_dev.h',
203 'cpp/dev/buffer_dev.cc',
204 'cpp/dev/buffer_dev.h',
205 'cpp/dev/context_3d_dev.cc',
206 'cpp/dev/context_3d_dev.h',
207 'cpp/dev/directory_entry_dev.cc',
208 'cpp/dev/directory_entry_dev.h',
209 'cpp/dev/directory_reader_dev.cc',
210 'cpp/dev/directory_reader_dev.h',
211 'cpp/dev/file_chooser_dev.cc',
212 'cpp/dev/file_chooser_dev.h',
213 'cpp/dev/find_dev.cc',
214 'cpp/dev/find_dev.h',
215 'cpp/dev/font_dev.cc',
216 'cpp/dev/font_dev.h',
217 'cpp/dev/fullscreen_dev.cc',
218 'cpp/dev/fullscreen_dev.h',
219 'cpp/dev/ime_input_event_dev.cc',
220 'cpp/dev/ime_input_event_dev.h',
221 'cpp/dev/memory_dev.cc',
222 'cpp/dev/memory_dev.h',
223 'cpp/dev/printing_dev.cc',
224 'cpp/dev/printing_dev.h',
225 'cpp/dev/scrollbar_dev.cc',
226 'cpp/dev/scrollbar_dev.h',
227 'cpp/dev/selection_dev.cc',
228 'cpp/dev/selection_dev.h',
229 'cpp/dev/surface_3d_dev.cc',
230 'cpp/dev/surface_3d_dev.h',
231 'cpp/dev/text_input_dev.cc',
232 'cpp/dev/text_input_dev.h',
233 'cpp/dev/url_util_dev.cc',
234 'cpp/dev/url_util_dev.h',
235 'cpp/dev/video_capture_client_dev.cc',
236 'cpp/dev/video_capture_client_dev.h',
237 'cpp/dev/video_capture_dev.cc',
238 'cpp/dev/video_capture_dev.h',
239 'cpp/dev/video_decoder_client_dev.cc',
240 'cpp/dev/video_decoder_client_dev.h',
241 'cpp/dev/video_decoder_dev.cc',
242 'cpp/dev/video_decoder_dev.h',
243 'cpp/dev/widget_client_dev.cc',
244 'cpp/dev/widget_client_dev.h',
245 'cpp/dev/widget_dev.cc',
246 'cpp/dev/widget_dev.h',
247 'cpp/dev/zoom_dev.cc',
248 'cpp/dev/zoom_dev.h',
249
250 # Deprecated interfaces.
251 'cpp/dev/scriptable_object_deprecated.h',
252 'cpp/dev/scriptable_object_deprecated.cc',
253
254 # Private interfaces.
255 'cpp/private/flash_fullscreen.cc',
256 'cpp/private/flash_fullscreen.h',
257 'cpp/private/flash_menu.cc',
258 'cpp/private/flash_menu.h',
259 'cpp/private/flash_net_connector.cc',
260 'cpp/private/flash_net_connector.h',
261 'cpp/private/instance_private.cc',
262 'cpp/private/instance_private.h',
263 'cpp/private/net_address_private.cc',
264 'cpp/private/net_address_private.h',
265 'cpp/private/tcp_socket_private.cc',
266 'cpp/private/tcp_socket_private.h',
267 'cpp/private/udp_socket_private.cc',
268 'cpp/private/udp_socket_private.h',
269 'cpp/private/var_private.cc',
270 'cpp/private/var_private.h',
271
272 # Trusted interfaces.
273 'cpp/trusted/file_chooser_trusted.cc',
274 'cpp/trusted/file_chooser_trusted.h',
275 ], 39 ],
276 'conditions': [ 40 'conditions': [
277 ['OS=="win"', { 41 ['OS=="win"', {
278 'msvs_settings': { 42 'msvs_settings': {
279 'VCCLCompilerTool': { 43 'VCCLCompilerTool': {
280 'AdditionalOptions': ['/we4244'], # implicit conversion, possible loss of data 44 'AdditionalOptions': ['/we4244'], # implicit conversion, possible loss of data
281 }, 45 },
282 }, 46 },
283 }], 47 }],
284 ['OS=="linux"', { 48 ['OS=="linux"', {
285 'cflags': ['-Wextra', '-pedantic'], 49 'cflags': ['-Wextra', '-pedantic'],
286 }], 50 }],
287 ['OS=="mac"', { 51 ['OS=="mac"', {
288 'xcode_settings': { 52 'xcode_settings': {
289 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], 53 'WARNING_CFLAGS': ['-Wextra', '-pedantic'],
290 }, 54 },
291 }], 55 }],
292 ['p2p_apis==1', {
293 'sources': [
294 'cpp/dev/transport_dev.cc',
295 'cpp/dev/transport_dev.h',
296 ],
297 }],
298 ], 56 ],
299 }, 57 },
300 { 58 {
301 'target_name': 'ppapi_cpp', 59 'target_name': 'ppapi_cpp',
302 'type': 'static_library', 60 'type': 'static_library',
303 'dependencies': [ 61 'dependencies': [
304 'ppapi_c', 62 'ppapi_c',
305 'ppapi_cpp_objects', 63 'ppapi_cpp_objects',
306 ], 64 ],
307 'include_dirs+': [ 65 'include_dirs+': [
308 '..', 66 '..',
309 ], 67 ],
310 'sources': [ 68 'sources': [
311 'cpp/module_embedder.h', 69 'cpp/module_embedder.h',
312 'cpp/ppp_entrypoints.cc', 70 'cpp/ppp_entrypoints.cc',
313 ], 71 ],
314 'conditions': [ 72 'conditions': [
315 ['OS=="linux"', { 73 ['OS=="linux"', {
316 'cflags': ['-Wextra', '-pedantic'], 74 'cflags': ['-Wextra', '-pedantic'],
317 }], 75 }],
318 ['OS=="mac"', { 76 ['OS=="mac"', {
319 'xcode_settings': { 77 'xcode_settings': {
320 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], 78 'WARNING_CFLAGS': ['-Wextra', '-pedantic'],
321 }, 79 },
322 }] 80 }]
323 ], 81 ],
324 }, 82 },
325 ], 83 ],
326 'conditions': [
327 ['disable_nacl!=1', {
328 'targets' : [
329 {
330 'target_name': 'ppapi_cpp_lib',
331 'type': 'none',
332 'variables': {
333 'nlib_target': 'libppapi_cpp.a',
334 'build_glibc': 0,
335 'build_newlib': 1,
336 'inst_dir': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib',
337 'sources': [
338 'cpp/audio.cc',
339 'cpp/audio.h',
340 'cpp/audio_config.cc',
341 'cpp/audio_config.h',
342 'cpp/completion_callback.cc',
343 'cpp/completion_callback.h',
344 'cpp/core.cc',
345 'cpp/core.h',
346 'cpp/file_io.cc',
347 'cpp/file_io.h',
348 'cpp/file_ref.cc',
349 'cpp/file_ref.h',
350 'cpp/file_system.cc',
351 'cpp/file_system.h',
352 'cpp/fullscreen.cc',
353 'cpp/fullscreen.h',
354 'cpp/graphics_2d.cc',
355 'cpp/graphics_2d.h',
356 'cpp/graphics_3d.cc',
357 'cpp/graphics_3d.h',
358 'cpp/graphics_3d_client.cc',
359 'cpp/graphics_3d_client.h',
360 'cpp/image_data.cc',
361 'cpp/image_data.h',
362 'cpp/input_event.cc',
363 'cpp/input_event.h',
364 'cpp/instance.cc',
365 'cpp/instance.h',
366 'cpp/logging.h',
367 'cpp/module.cc',
368 'cpp/module.h',
369 'cpp/module_impl.h',
370 'cpp/mouse_lock.cc',
371 'cpp/mouse_lock.h',
372 'cpp/non_thread_safe_ref_count.h',
373 'cpp/paint_aggregator.cc',
374 'cpp/paint_aggregator.h',
375 'cpp/paint_manager.cc',
376 'cpp/paint_manager.h',
377 'cpp/point.h',
378 'cpp/rect.cc',
379 'cpp/rect.h',
380 'cpp/resource.cc',
381 'cpp/resource.h',
382 'cpp/size.h',
383 'cpp/url_loader.cc',
384 'cpp/url_loader.h',
385 'cpp/url_request_info.cc',
386 'cpp/url_request_info.h',
387 'cpp/url_response_info.cc',
388 'cpp/url_response_info.h',
389 'cpp/var.cc',
390 'cpp/var.h',
391
392 # Dev interfaces.
393 'cpp/dev/buffer_dev.cc',
394 'cpp/dev/buffer_dev.h',
395 'cpp/dev/context_3d_dev.cc',
396 'cpp/dev/context_3d_dev.h',
397 'cpp/dev/directory_entry_dev.cc',
398 'cpp/dev/directory_entry_dev.h',
399 'cpp/dev/directory_reader_dev.cc',
400 'cpp/dev/directory_reader_dev.h',
401 'cpp/dev/file_chooser_dev.cc',
402 'cpp/dev/file_chooser_dev.h',
403 'cpp/dev/find_dev.cc',
404 'cpp/dev/find_dev.h',
405 'cpp/dev/font_dev.cc',
406 'cpp/dev/font_dev.h',
407 'cpp/dev/fullscreen_dev.cc',
408 'cpp/dev/fullscreen_dev.h',
409 'cpp/dev/ime_input_event_dev.cc',
410 'cpp/dev/ime_input_event_dev.h',
411 'cpp/dev/memory_dev.cc',
412 'cpp/dev/memory_dev.h',
413 'cpp/dev/printing_dev.cc',
414 'cpp/dev/printing_dev.h',
415 'cpp/dev/scrollbar_dev.cc',
416 'cpp/dev/scrollbar_dev.h',
417 'cpp/dev/selection_dev.cc',
418 'cpp/dev/selection_dev.h',
419 'cpp/dev/surface_3d_dev.cc',
420 'cpp/dev/surface_3d_dev.h',
421 'cpp/dev/text_input_dev.cc',
422 'cpp/dev/text_input_dev.h',
423 'cpp/dev/url_util_dev.cc',
424 'cpp/dev/url_util_dev.h',
425 'cpp/dev/video_capture_client_dev.cc',
426 'cpp/dev/video_capture_client_dev.h',
427 'cpp/dev/video_capture_dev.cc',
428 'cpp/dev/video_capture_dev.h',
429 'cpp/dev/video_decoder_client_dev.cc',
430 'cpp/dev/video_decoder_client_dev.h',
431 'cpp/dev/video_decoder_dev.cc',
432 'cpp/dev/video_decoder_dev.h',
433 'cpp/dev/widget_client_dev.cc',
434 'cpp/dev/widget_client_dev.h',
435 'cpp/dev/widget_dev.cc',
436 'cpp/dev/widget_dev.h',
437 'cpp/dev/zoom_dev.cc',
438 'cpp/dev/zoom_dev.h',
439
440 # Deprecated interfaces.
441 'cpp/dev/scriptable_object_deprecated.h',
442 'cpp/dev/scriptable_object_deprecated.cc',
443
444 # Private interfaces.
445 'cpp/private/flash_fullscreen.cc',
446 'cpp/private/flash_fullscreen.h',
447 'cpp/private/instance_private.cc',
448 'cpp/private/instance_private.h',
449 'cpp/private/var_private.cc',
450 'cpp/private/var_private.h',
451
452 # Trusted interfaces.
453 'cpp/trusted/file_chooser_trusted.cc',
454 'cpp/trusted/file_chooser_trusted.h',
455
456 # Entrypoints
457 'cpp/module_embedder.h',
458 'cpp/ppp_entrypoints.cc',
459 ],
460 },
461 'dependencies': [
462 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
463 ],
464 },
465 ],
466 }],
467 ],
468 } 84 }
OLDNEW
« no previous file with comments | « ppapi/ppapi.gyp ('k') | ppapi/ppapi_internal.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698