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

Side by Side Diff: ppapi/ppapi_cpp.gypi

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