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

Side by Side Diff: ppapi/ppapi_cpp.gypi

Issue 8635015: Refactor use of ppapi_cpp and ppapi_tests to avoid include of untrusted.gypi (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_cpp.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
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'targets': [
7 {
8 'target_name': 'ppapi_c',
9 'type': 'none',
10 'all_dependent_settings': {
11 'include_dirs+': [
12 '..',
13 ],
14 },
15 'sources': [
16 'c/pp_bool.h',
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_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 ],
135 },
136 {
137 'target_name': 'ppapi_cpp_objects',
138 'type': 'static_library',
139 'dependencies': [
140 'ppapi_c'
141 ],
142 'include_dirs+': [
143 '..',
144 ],
145 'sources': [
146 'cpp/audio.cc',
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/buffer_dev.cc',
202 'cpp/dev/buffer_dev.h',
203 'cpp/dev/context_3d_dev.cc',
204 'cpp/dev/context_3d_dev.h',
205 'cpp/dev/directory_entry_dev.cc',
206 'cpp/dev/directory_entry_dev.h',
207 'cpp/dev/directory_reader_dev.cc',
208 'cpp/dev/directory_reader_dev.h',
209 'cpp/dev/file_chooser_dev.cc',
210 'cpp/dev/file_chooser_dev.h',
211 'cpp/dev/find_dev.cc',
212 'cpp/dev/find_dev.h',
213 'cpp/dev/font_dev.cc',
214 'cpp/dev/font_dev.h',
215 'cpp/dev/fullscreen_dev.cc',
216 'cpp/dev/fullscreen_dev.h',
217 'cpp/dev/ime_input_event_dev.cc',
218 'cpp/dev/ime_input_event_dev.h',
219 'cpp/dev/memory_dev.cc',
220 'cpp/dev/memory_dev.h',
221 'cpp/dev/printing_dev.cc',
222 'cpp/dev/printing_dev.h',
223 'cpp/dev/scrollbar_dev.cc',
224 'cpp/dev/scrollbar_dev.h',
225 'cpp/dev/selection_dev.cc',
226 'cpp/dev/selection_dev.h',
227 'cpp/dev/surface_3d_dev.cc',
228 'cpp/dev/surface_3d_dev.h',
229 'cpp/dev/text_input_dev.cc',
230 'cpp/dev/text_input_dev.h',
231 'cpp/dev/url_util_dev.cc',
232 'cpp/dev/url_util_dev.h',
233 'cpp/dev/video_capture_client_dev.cc',
234 'cpp/dev/video_capture_client_dev.h',
235 'cpp/dev/video_capture_dev.cc',
236 'cpp/dev/video_capture_dev.h',
237 'cpp/dev/video_decoder_client_dev.cc',
238 'cpp/dev/video_decoder_client_dev.h',
239 'cpp/dev/video_decoder_dev.cc',
240 'cpp/dev/video_decoder_dev.h',
241 'cpp/dev/widget_client_dev.cc',
242 'cpp/dev/widget_client_dev.h',
243 'cpp/dev/widget_dev.cc',
244 'cpp/dev/widget_dev.h',
245 'cpp/dev/zoom_dev.cc',
246 'cpp/dev/zoom_dev.h',
247
248 # Deprecated interfaces.
249 'cpp/dev/scriptable_object_deprecated.h',
250 'cpp/dev/scriptable_object_deprecated.cc',
251
252 # Private interfaces.
253 'cpp/private/flash_fullscreen.cc',
254 'cpp/private/flash_fullscreen.h',
255 'cpp/private/flash_tcp_socket.cc',
256 'cpp/private/flash_tcp_socket.h',
257 'cpp/private/instance_private.cc',
258 'cpp/private/instance_private.h',
259 'cpp/private/net_address_private.cc',
260 'cpp/private/net_address_private.h',
261 'cpp/private/tcp_socket_private.cc',
262 'cpp/private/tcp_socket_private.h',
263 'cpp/private/udp_socket_private.cc',
264 'cpp/private/udp_socket_private.h',
265 'cpp/private/var_private.cc',
266 'cpp/private/var_private.h',
267
268 # Trusted interfaces.
269 'cpp/trusted/file_chooser_trusted.cc',
270 'cpp/trusted/file_chooser_trusted.h',
271 ],
272 'conditions': [
273 ['OS=="win"', {
274 'msvs_settings': {
275 'VCCLCompilerTool': {
276 'AdditionalOptions': ['/we4244'], # implicit conversion, possible loss of data
277 },
278 },
279 }],
280 ['OS=="linux"', {
281 'cflags': ['-Wextra', '-pedantic'],
282 }],
283 ['OS=="mac"', {
284 'xcode_settings': {
285 'WARNING_CFLAGS': ['-Wextra', '-pedantic'],
286 },
287 }],
288 ['p2p_apis==1', {
289 'sources': [
290 'cpp/dev/transport_dev.cc',
291 'cpp/dev/transport_dev.h',
292 ],
293 }],
294 ],
295 },
296 {
297 'target_name': 'ppapi_cpp',
298 'type': 'static_library',
299 'dependencies': [
300 'ppapi_c',
301 'ppapi_cpp_objects',
302 ],
303 'include_dirs+': [
304 '..',
305 ],
306 'sources': [
307 'cpp/module_embedder.h',
308 'cpp/ppp_entrypoints.cc',
309 ],
310 'conditions': [
311 ['OS=="linux"', {
312 'cflags': ['-Wextra', '-pedantic'],
313 }],
314 ['OS=="mac"', {
315 'xcode_settings': {
316 'WARNING_CFLAGS': ['-Wextra', '-pedantic'],
317 },
318 }]
319 ],
320 },
321 ],
322 'conditions': [
323 ['disable_nacl!=1', {
324 'targets' : [
325 {
326 'target_name': 'ppapi_cpp_lib',
327 'type': 'none',
328 'variables': {
329 'nlib_target': 'libppapi_cpp.a',
330 'build_glibc': 0,
331 'build_newlib': 1,
332 'sources': [
333 'cpp/audio.cc',
334 'cpp/audio.h',
335 'cpp/audio_config.cc',
336 'cpp/audio_config.h',
337 'cpp/completion_callback.cc',
338 'cpp/completion_callback.h',
339 'cpp/core.cc',
340 'cpp/core.h',
341 'cpp/file_io.cc',
342 'cpp/file_io.h',
343 'cpp/file_ref.cc',
344 'cpp/file_ref.h',
345 'cpp/file_system.cc',
346 'cpp/file_system.h',
347 'cpp/fullscreen.cc',
348 'cpp/fullscreen.h',
349 'cpp/graphics_2d.cc',
350 'cpp/graphics_2d.h',
351 'cpp/graphics_3d.cc',
352 'cpp/graphics_3d.h',
353 'cpp/graphics_3d_client.cc',
354 'cpp/graphics_3d_client.h',
355 'cpp/image_data.cc',
356 'cpp/image_data.h',
357 'cpp/input_event.cc',
358 'cpp/input_event.h',
359 'cpp/instance.cc',
360 'cpp/instance.h',
361 'cpp/logging.h',
362 'cpp/module.cc',
363 'cpp/module.h',
364 'cpp/module_impl.h',
365 'cpp/mouse_lock.cc',
366 'cpp/mouse_lock.h',
367 'cpp/non_thread_safe_ref_count.h',
368 'cpp/paint_aggregator.cc',
369 'cpp/paint_aggregator.h',
370 'cpp/paint_manager.cc',
371 'cpp/paint_manager.h',
372 'cpp/point.h',
373 'cpp/rect.cc',
374 'cpp/rect.h',
375 'cpp/resource.cc',
376 'cpp/resource.h',
377 'cpp/size.h',
378 'cpp/url_loader.cc',
379 'cpp/url_loader.h',
380 'cpp/url_request_info.cc',
381 'cpp/url_request_info.h',
382 'cpp/url_response_info.cc',
383 'cpp/url_response_info.h',
384 'cpp/var.cc',
385 'cpp/var.h',
386
387 # Dev interfaces.
388 'cpp/dev/buffer_dev.cc',
389 'cpp/dev/buffer_dev.h',
390 'cpp/dev/context_3d_dev.cc',
391 'cpp/dev/context_3d_dev.h',
392 'cpp/dev/directory_entry_dev.cc',
393 'cpp/dev/directory_entry_dev.h',
394 'cpp/dev/directory_reader_dev.cc',
395 'cpp/dev/directory_reader_dev.h',
396 'cpp/dev/file_chooser_dev.cc',
397 'cpp/dev/file_chooser_dev.h',
398 'cpp/dev/find_dev.cc',
399 'cpp/dev/find_dev.h',
400 'cpp/dev/font_dev.cc',
401 'cpp/dev/font_dev.h',
402 'cpp/dev/fullscreen_dev.cc',
403 'cpp/dev/fullscreen_dev.h',
404 'cpp/dev/ime_input_event_dev.cc',
405 'cpp/dev/ime_input_event_dev.h',
406 'cpp/dev/memory_dev.cc',
407 'cpp/dev/memory_dev.h',
408 'cpp/dev/printing_dev.cc',
409 'cpp/dev/printing_dev.h',
410 'cpp/dev/scrollbar_dev.cc',
411 'cpp/dev/scrollbar_dev.h',
412 'cpp/dev/selection_dev.cc',
413 'cpp/dev/selection_dev.h',
414 'cpp/dev/surface_3d_dev.cc',
415 'cpp/dev/surface_3d_dev.h',
416 'cpp/dev/text_input_dev.cc',
417 'cpp/dev/text_input_dev.h',
418 'cpp/dev/url_util_dev.cc',
419 'cpp/dev/url_util_dev.h',
420 'cpp/dev/video_capture_client_dev.cc',
421 'cpp/dev/video_capture_client_dev.h',
422 'cpp/dev/video_capture_dev.cc',
423 'cpp/dev/video_capture_dev.h',
424 'cpp/dev/video_decoder_client_dev.cc',
425 'cpp/dev/video_decoder_client_dev.h',
426 'cpp/dev/video_decoder_dev.cc',
427 'cpp/dev/video_decoder_dev.h',
428 'cpp/dev/widget_client_dev.cc',
429 'cpp/dev/widget_client_dev.h',
430 'cpp/dev/widget_dev.cc',
431 'cpp/dev/widget_dev.h',
432 'cpp/dev/zoom_dev.cc',
433 'cpp/dev/zoom_dev.h',
434
435 # Deprecated interfaces.
436 'cpp/dev/scriptable_object_deprecated.h',
437 'cpp/dev/scriptable_object_deprecated.cc',
438
439 # Private interfaces.
440 'cpp/private/flash_fullscreen.cc',
441 'cpp/private/flash_fullscreen.h',
442 'cpp/private/instance_private.cc',
443 'cpp/private/instance_private.h',
444 'cpp/private/var_private.cc',
445 'cpp/private/var_private.h',
446
447 # Trusted interfaces.
448 'cpp/trusted/file_chooser_trusted.cc',
449 'cpp/trusted/file_chooser_trusted.h',
450
451 # Entrypoints
452 'cpp/module_embedder.h',
453 'cpp/ppp_entrypoints.cc',
454 ],
455 },
456 'dependencies': [
457 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
458 ],
459 },
460 ],
461 }],
462 ],
463 }
OLDNEW
« no previous file with comments | « ppapi/ppapi_cpp.gyp ('k') | ppapi/ppapi_internal.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698