OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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, # Use higher warning level. | 7 'chromium_code': 1, # Use higher warning level. |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'conditions': [ | 10 'conditions': [ |
11 # Linux shared libraries should always be built -fPIC. | 11 # Linux shared libraries should always be built -fPIC. |
12 # | 12 # |
13 # TODO(ajwong): For internal pepper plugins, which are statically linked | 13 # TODO(ajwong): For internal pepper plugins, which are statically linked |
14 # into chrome, do we want to build w/o -fPIC? If so, how can we express | 14 # into chrome, do we want to build w/o -fPIC? If so, how can we express |
15 # that in the build system? | 15 # that in the build system? |
16 ['OS=="linux" or OS=="openbsd" or OS=="freebsd" or OS=="solaris"', { | 16 ['OS=="linux" or OS=="openbsd" or OS=="freebsd" or OS=="solaris"', { |
17 'cflags': ['-fPIC', '-fvisibility=hidden'], | 17 'cflags': ['-fPIC', '-fvisibility=hidden'], |
18 | 18 |
19 # This is needed to make the Linux shlib build happy. Without this, | 19 # This is needed to make the Linux shlib build happy. Without this, |
20 # -fvisibility=hidden gets stripped by the exclusion in common.gypi | 20 # -fvisibility=hidden gets stripped by the exclusion in common.gypi |
21 # that is triggered when a shared library build is specified. | 21 # that is triggered when a shared library build is specified. |
22 'cflags/': [['include', '^-fvisibility=hidden$']], | 22 'cflags/': [['include', '^-fvisibility=hidden$']], |
23 }], | 23 }], |
24 ], | 24 ], |
25 }, | 25 }, |
26 'targets': [ | 26 'includes': [ |
27 { | 27 'ppapi_cpp.gypi', |
28 'target_name': 'ppapi_c', | 28 'ppapi_gl.gypi', |
29 'type': 'none', | 29 'ppapi_shared_proxy.gypi', |
30 'all_dependent_settings': { | 30 'ppapi_tests.gypi', |
31 'include_dirs': [ | |
32 '..', | |
33 ], | |
34 }, | |
35 'sources': [ | |
36 'c/pp_bool.h', | |
37 'c/pp_completion_callback.h', | |
38 'c/pp_errors.h', | |
39 'c/pp_input_event.h', | |
40 'c/pp_instance.h', | |
41 'c/pp_macros.h', | |
42 'c/pp_module.h', | |
43 'c/pp_point.h', | |
44 'c/pp_rect.h', | |
45 'c/pp_resource.h', | |
46 'c/pp_size.h', | |
47 'c/pp_stdint.h', | |
48 'c/pp_time.h', | |
49 'c/pp_var.h', | |
50 'c/ppb.h', | |
51 'c/ppb_audio.h', | |
52 'c/ppb_audio_config.h', | |
53 'c/ppb_core.h', | |
54 'c/ppb_class.h', | |
55 'c/ppb_graphics_2d.h', | |
56 'c/ppb_image_data.h', | |
57 'c/ppb_instance.h', | |
58 'c/ppb_url_loader.h', | |
59 'c/ppb_url_request_info.h', | |
60 'c/ppb_url_response_info.h', | |
61 'c/ppb_var.h', | |
62 'c/ppp.h', | |
63 'c/ppp_instance.h', | |
64 | |
65 # Dev interfaces. | |
66 'c/dev/pp_cursor_type_dev.h', | |
67 'c/dev/pp_file_info_dev.h', | |
68 'c/dev/pp_graphics_3d_dev.h', | |
69 'c/dev/pp_video_dev.h', | |
70 'c/dev/ppb_buffer_dev.h', | |
71 'c/dev/ppb_char_set_dev.h', | |
72 'c/dev/ppb_context_3d_dev.h', | |
73 'c/dev/ppb_cursor_control_dev.h', | |
74 'c/dev/ppb_directory_reader_dev.h', | |
75 'c/dev/ppb_file_chooser_dev.h', | |
76 'c/dev/ppb_file_io_dev.h', | |
77 'c/dev/ppb_file_io_trusted_dev.h', | |
78 'c/dev/ppb_file_ref_dev.h', | |
79 'c/dev/ppb_file_system_dev.h', | |
80 'c/dev/ppb_find_dev.h', | |
81 'c/dev/ppb_font_dev.h', | |
82 'c/dev/ppb_fullscreen_dev.h', | |
83 'c/dev/ppb_graphics_3d_dev.h', | |
84 'c/dev/ppb_opengles_dev.h', | |
85 'c/dev/ppb_scrollbar_dev.h', | |
86 'c/dev/ppb_surface_3d_dev.h', | |
87 'c/dev/ppb_testing_dev.h', | |
88 'c/dev/ppb_transport_dev.h', | |
89 'c/dev/ppb_url_util_dev.h', | |
90 'c/dev/ppb_video_decoder_dev.h', | |
91 'c/dev/ppb_widget_dev.h', | |
92 'c/dev/ppb_zoom_dev.h', | |
93 'c/dev/ppp_cursor_control_dev.h', | |
94 'c/dev/ppp_find_dev.h', | |
95 'c/dev/ppp_graphics_3d_dev.h', | |
96 'c/dev/ppp_scrollbar_dev.h', | |
97 'c/dev/ppp_selection_dev.h', | |
98 'c/dev/ppp_printing_dev.h', | |
99 'c/dev/ppp_widget_dev.h', | |
100 'c/dev/ppp_zoom_dev.h', | |
101 | |
102 # Private interfaces. | |
103 'c/private/ppb_flash.h', | |
104 'c/private/ppb_nacl_private.h', | |
105 'c/private/ppb_pdf.h', | |
106 | |
107 # Deprecated interfaces. | |
108 'c/dev/deprecated_bool.h', | |
109 'c/dev/ppb_var_deprecated.h', | |
110 'c/dev/ppp_class_deprecated.h', | |
111 | |
112 # Trusted interfaces. | |
113 'c/trusted/ppb_audio_trusted.h', | |
114 'c/trusted/ppb_image_data_trusted.h', | |
115 'c/trusted/ppb_url_loader_trusted.h', | |
116 ], | |
117 }, | |
118 { | |
119 'target_name': 'ppapi_cpp_objects', | |
120 'type': 'static_library', | |
121 'dependencies': [ | |
122 'ppapi_c' | |
123 ], | |
124 'include_dirs': [ | |
125 '..', | |
126 ], | |
127 'sources': [ | |
128 'cpp/audio.cc', | |
129 'cpp/audio.h', | |
130 'cpp/audio_config.cc', | |
131 'cpp/audio_config.h', | |
132 'cpp/common.h', | |
133 'cpp/completion_callback.h', | |
134 'cpp/core.cc', | |
135 'cpp/core.h', | |
136 'cpp/graphics_2d.cc', | |
137 'cpp/graphics_2d.h', | |
138 'cpp/image_data.cc', | |
139 'cpp/image_data.h', | |
140 'cpp/instance.cc', | |
141 'cpp/instance.h', | |
142 'cpp/logging.h', | |
143 'cpp/module.cc', | |
144 'cpp/module.h', | |
145 'cpp/module_impl.h', | |
146 'cpp/non_thread_safe_ref_count.h', | |
147 'cpp/paint_aggregator.cc', | |
148 'cpp/paint_aggregator.h', | |
149 'cpp/paint_manager.cc', | |
150 'cpp/paint_manager.h', | |
151 'cpp/point.h', | |
152 'cpp/rect.cc', | |
153 'cpp/rect.h', | |
154 'cpp/resource.cc', | |
155 'cpp/resource.h', | |
156 'cpp/size.h', | |
157 'cpp/url_loader.cc', | |
158 'cpp/url_loader.h', | |
159 'cpp/url_request_info.cc', | |
160 'cpp/url_request_info.h', | |
161 'cpp/url_response_info.cc', | |
162 'cpp/url_response_info.h', | |
163 'cpp/var.cc', | |
164 'cpp/var.h', | |
165 | |
166 # Dev interfaces. | |
167 'cpp/dev/buffer_dev.cc', | |
168 'cpp/dev/buffer_dev.h', | |
169 'cpp/dev/context_3d_dev.cc', | |
170 'cpp/dev/context_3d_dev.h', | |
171 'cpp/dev/directory_entry_dev.cc', | |
172 'cpp/dev/directory_entry_dev.h', | |
173 'cpp/dev/directory_reader_dev.cc', | |
174 'cpp/dev/directory_reader_dev.h', | |
175 'cpp/dev/file_chooser_dev.cc', | |
176 'cpp/dev/file_chooser_dev.h', | |
177 'cpp/dev/file_io_dev.cc', | |
178 'cpp/dev/file_io_dev.h', | |
179 'cpp/dev/file_ref_dev.cc', | |
180 'cpp/dev/file_ref_dev.h', | |
181 'cpp/dev/file_system_dev.cc', | |
182 'cpp/dev/file_system_dev.h', | |
183 'cpp/dev/find_dev.cc', | |
184 'cpp/dev/find_dev.h', | |
185 'cpp/dev/font_dev.cc', | |
186 'cpp/dev/font_dev.h', | |
187 'cpp/dev/fullscreen_dev.cc', | |
188 'cpp/dev/fullscreen_dev.h', | |
189 'cpp/dev/graphics_3d_client_dev.cc', | |
190 'cpp/dev/graphics_3d_client_dev.h', | |
191 'cpp/dev/graphics_3d_dev.cc', | |
192 'cpp/dev/graphics_3d_dev.h', | |
193 'cpp/dev/printing_dev.cc', | |
194 'cpp/dev/printing_dev.h', | |
195 'cpp/dev/scrollbar_dev.cc', | |
196 'cpp/dev/scrollbar_dev.h', | |
197 'cpp/dev/selection_dev.cc', | |
198 'cpp/dev/selection_dev.h', | |
199 'cpp/dev/surface_3d_dev.cc', | |
200 'cpp/dev/surface_3d_dev.h', | |
201 'cpp/dev/transport_dev.cc', | |
202 'cpp/dev/transport_dev.h', | |
203 'cpp/dev/url_util_dev.cc', | |
204 'cpp/dev/url_util_dev.h', | |
205 'cpp/dev/video_decoder_dev.cc', | |
206 'cpp/dev/video_decoder_dev.h', | |
207 'cpp/dev/widget_client_dev.cc', | |
208 'cpp/dev/widget_client_dev.h', | |
209 'cpp/dev/widget_dev.cc', | |
210 'cpp/dev/widget_dev.h', | |
211 'cpp/dev/zoom_dev.cc', | |
212 'cpp/dev/zoom_dev.h', | |
213 | |
214 # Deprecated interfaces. | |
215 'cpp/dev/scriptable_object_deprecated.h', | |
216 'cpp/dev/scriptable_object_deprecated.cc', | |
217 ], | |
218 'conditions': [ | |
219 ['OS=="win"', { | |
220 'msvs_guid': 'AD371A1D-3459-4E2D-8E8A-881F4B83B908', | |
221 'msvs_settings': { | |
222 'VCCLCompilerTool': { | |
223 'AdditionalOptions': ['/we4244'], # implicit conversion, possible
loss of data | |
224 }, | |
225 }, | |
226 }], | |
227 ['OS=="linux"', { | |
228 'cflags': ['-Wextra', '-pedantic'], | |
229 }], | |
230 ['OS=="mac"', { | |
231 'xcode_settings': { | |
232 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], | |
233 }, | |
234 }] | |
235 ], | |
236 }, | |
237 { | |
238 'target_name': 'ppapi_cpp', | |
239 'type': 'static_library', | |
240 'dependencies': [ | |
241 'ppapi_c', | |
242 'ppapi_cpp_objects', | |
243 ], | |
244 'include_dirs': [ | |
245 '..', | |
246 ], | |
247 'sources': [ | |
248 'cpp/module_embedder.h', | |
249 'cpp/ppp_entrypoints.cc', | |
250 ], | |
251 'conditions': [ | |
252 ['OS=="win"', { | |
253 'msvs_guid': '057E7FA0-83C0-11DF-8395-0800200C9A66', | |
254 }], | |
255 ['OS=="linux"', { | |
256 'cflags': ['-Wextra', '-pedantic'], | |
257 }], | |
258 ['OS=="mac"', { | |
259 'xcode_settings': { | |
260 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], | |
261 }, | |
262 }] | |
263 ], | |
264 }, | |
265 { | |
266 'target_name': 'ppapi_gles2', | |
267 'type': 'static_library', | |
268 'dependencies': [ | |
269 'ppapi_c', | |
270 ], | |
271 'include_dirs': [ | |
272 'lib/gl/include', | |
273 ], | |
274 'sources': [ | |
275 'lib/gl/gles2/gl2ext_ppapi.c', | |
276 'lib/gl/gles2/gl2ext_ppapi.h', | |
277 'lib/gl/gles2/gles2.c', | |
278 ], | |
279 }, | |
280 { | |
281 'target_name': 'ppapi_example', | |
282 'dependencies': [ | |
283 'ppapi_cpp' | |
284 ], | |
285 'xcode_settings': { | |
286 'INFOPLIST_FILE': 'example/Info.plist', | |
287 }, | |
288 'sources': [ | |
289 'example/example.cc', | |
290 ], | |
291 'conditions': [ | |
292 ['OS=="win"', { | |
293 'product_name': 'ppapi_example', | |
294 'type': 'shared_library', | |
295 'msvs_guid': 'EE00E36E-9E8C-4DFB-925E-FBE32CEDB91B', | |
296 'sources': [ | |
297 'example/example.rc', | |
298 ], | |
299 'run_as': { | |
300 'action': [ | |
301 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', | |
302 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-examp
le', | |
303 'file://$(ProjectDir)/example/example.html', | |
304 ], | |
305 }, | |
306 }], | |
307 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | |
308 'product_name': 'ppapi_example', | |
309 'type': 'shared_library', | |
310 'cflags': ['-fvisibility=hidden'], | |
311 # -gstabs, used in the official builds, causes an ICE. Simply remove | |
312 # it. | |
313 'cflags!': ['-gstabs'], | |
314 }], | |
315 ['OS=="mac"', { | |
316 'type': 'loadable_module', | |
317 'mac_bundle': 1, | |
318 'product_name': 'PPAPIExample', | |
319 'product_extension': 'plugin', | |
320 'sources+': [ | |
321 'example/Info.plist' | |
322 ], | |
323 }], | |
324 ], | |
325 # See README for instructions on how to run and debug on the Mac. | |
326 #'conditions' : [ | |
327 # ['OS=="mac"', { | |
328 # 'target_name' : 'Chromium', | |
329 # 'type' : 'executable', | |
330 # 'xcode_settings' : { | |
331 # 'ARGUMENTS' : '--renderer-startup-dialog --internal-pepper --no-san
dbox file://${SRCROOT}/test_page.html' | |
332 # }, | |
333 # }], | |
334 #], | |
335 }, | |
336 # { | |
337 # 'target_name': 'ppapi_example_skeleton', | |
338 # 'type': 'none', | |
339 # 'dependencies': [ | |
340 # 'ppapi_cpp', | |
341 # ], | |
342 # 'export_dependent_setting': ['ppapi_cpp'], | |
343 # 'direct_dependent_settings': { | |
344 # 'product_name': '>(_target_name)', | |
345 # 'conditions': [ | |
346 # ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | |
347 # 'type': 'shared_library', | |
348 # 'cflags': ['-fvisibility=hidden'], | |
349 # # -gstabs, used in the official builds, causes an ICE. Simply remov
e | |
350 # # it. | |
351 # 'cflags!': ['-gstabs'], | |
352 # }], | |
353 # # TODO(ppapi authors): Make the examples build on Windows & Mac | |
354 # ['OS=="win"', { | |
355 # 'suppress_wildcard': 1, | |
356 # 'type': 'shared_library', | |
357 # }], | |
358 # ['OS=="mac"', { | |
359 # 'suppress_wildcard': 1, | |
360 # 'type': 'loadable_module', | |
361 # }], | |
362 # ], | |
363 # }, | |
364 # }, | |
365 # { | |
366 # 'target_name': 'ppapi_example_c_stub', | |
367 # 'dependencies': [ | |
368 # 'ppapi_example_skeleton', | |
369 # ], | |
370 # 'sources': [ | |
371 # 'examples/stub/stub.c', | |
372 # ], | |
373 # }, | |
374 # { | |
375 # 'target_name': 'ppapi_example_cc_stub', | |
376 # 'dependencies': [ | |
377 # 'ppapi_example_skeleton', | |
378 # ], | |
379 # 'sources': [ | |
380 # 'examples/stub/stub.cc', | |
381 # ], | |
382 # }, | |
383 # { | |
384 # 'target_name': 'ppapi_example_audio', | |
385 # 'dependencies': [ | |
386 # 'ppapi_example_skeleton', | |
387 # ], | |
388 # 'sources': [ | |
389 # 'examples/audio/audio.cc', | |
390 # ], | |
391 # }, | |
392 # { | |
393 # 'target_name': 'ppapi_example_file_chooser', | |
394 # 'dependencies': [ | |
395 # 'ppapi_example_skeleton', | |
396 # ], | |
397 # 'sources': [ | |
398 # 'examples/file_chooser/file_chooser.cc', | |
399 # ], | |
400 # }, | |
401 # { | |
402 # 'target_name': 'ppapi_example_graphics_2d', | |
403 # 'dependencies': [ | |
404 # 'ppapi_example_skeleton', | |
405 # ], | |
406 # 'sources': [ | |
407 # 'examples/2d/graphics_2d_example.c', | |
408 # ], | |
409 # }, | |
410 # { | |
411 # 'target_name': 'ppapi_example_paint_manager', | |
412 # 'dependencies': [ | |
413 # 'ppapi_example_skeleton', | |
414 # ], | |
415 # 'sources': [ | |
416 # 'examples/2d/paint_manager_example.cc', | |
417 # ], | |
418 # }, | |
419 # { | |
420 # 'target_name': 'ppapi_example_scroll', | |
421 # 'dependencies': [ | |
422 # 'ppapi_example_skeleton', | |
423 # ], | |
424 # 'sources': [ | |
425 # 'examples/2d/scroll.cc', | |
426 # ], | |
427 # }, | |
428 # { | |
429 # 'target_name': 'ppapi_example_simple_font', | |
430 # 'dependencies': [ | |
431 # 'ppapi_example_skeleton', | |
432 # ], | |
433 # 'sources': [ | |
434 # 'examples/font/simple_font.cc', | |
435 # ], | |
436 # }, | |
437 { | |
438 'target_name': 'ppapi_tests', | |
439 'type': 'loadable_module', | |
440 'sources': [ | |
441 # Common test files. | |
442 'tests/test_case.cc', | |
443 'tests/test_case.h', | |
444 'tests/testing_instance.cc', | |
445 'tests/testing_instance.h', | |
446 | |
447 # Test cases. | |
448 'tests/all_c_includes.h', | |
449 'tests/all_cpp_includes.h', | |
450 'tests/arch_dependent_sizes_32.h', | |
451 'tests/arch_dependent_sizes_64.h', | |
452 'tests/test_buffer.cc', | |
453 'tests/test_buffer.h', | |
454 'tests/test_c_includes.c', | |
455 'tests/test_char_set.cc', | |
456 'tests/test_char_set.h', | |
457 'tests/test_class.cc', | |
458 'tests/test_class.h', | |
459 'tests/test_cpp_includes.cc', | |
460 'tests/test_directory_reader.cc', | |
461 'tests/test_directory_reader.h', | |
462 'tests/test_file_io.cc', | |
463 'tests/test_file_io.h', | |
464 'tests/test_file_ref.cc', | |
465 'tests/test_file_ref.h', | |
466 'tests/test_graphics_2d.cc', | |
467 'tests/test_graphics_2d.h', | |
468 'tests/test_image_data.cc', | |
469 'tests/test_image_data.h', | |
470 'tests/test_paint_aggregator.cc', | |
471 'tests/test_paint_aggregator.h', | |
472 'tests/test_scrollbar.cc', | |
473 'tests/test_scrollbar.h', | |
474 'tests/test_struct_sizes.c', | |
475 'tests/test_transport.cc', | |
476 'tests/test_transport.h', | |
477 'tests/test_url_loader.cc', | |
478 'tests/test_url_loader.h', | |
479 'tests/test_url_util.cc', | |
480 'tests/test_url_util.h', | |
481 'tests/test_utils.cc', | |
482 'tests/test_utils.h', | |
483 'tests/test_var.cc', | |
484 'tests/test_var.h', | |
485 | |
486 # Deprecated test cases. | |
487 'tests/test_instance_deprecated.cc', | |
488 'tests/test_instance_deprecated.h', | |
489 'tests/test_var_deprecated.cc', | |
490 'tests/test_var_deprecated.h', | |
491 ], | |
492 'dependencies': [ | |
493 'ppapi_cpp' | |
494 ], | |
495 'conditions': [ | |
496 ['OS=="win"', { | |
497 'defines': [ | |
498 '_CRT_SECURE_NO_DEPRECATE', | |
499 '_CRT_NONSTDC_NO_WARNINGS', | |
500 '_CRT_NONSTDC_NO_DEPRECATE', | |
501 '_SCL_SECURE_NO_DEPRECATE', | |
502 ], | |
503 }], | |
504 ['OS=="mac"', { | |
505 'mac_bundle': 1, | |
506 'product_name': 'ppapi_tests', | |
507 'product_extension': 'plugin', | |
508 }], | |
509 ], | |
510 # TODO(dmichael): Figure out what is wrong with the script on Windows and add | |
511 # it as an automated action. | |
512 # 'actions': [ | |
513 # { | |
514 # 'action_name': 'generate_ppapi_include_tests', | |
515 # 'inputs': [], | |
516 # 'outputs': [ | |
517 # 'tests/test_c_includes.c', | |
518 # 'tests/test_cc_includes.cc', | |
519 # ], | |
520 # 'action': [ | |
521 # '<!@(python generate_ppapi_include_tests.py)', | |
522 # ], | |
523 # }, | |
524 # ], | |
525 }, | |
526 { | |
527 'target_name': 'ppapi_shared_impl', | |
528 'type': 'static_library', | |
529 'dependencies': [ | |
530 'ppapi_c', | |
531 '../base/base.gyp:base', | |
532 ], | |
533 'include_dirs': [ | |
534 '..', | |
535 ], | |
536 'sources': [ | |
537 'shared_impl/audio_impl.cc', | |
538 'shared_impl/audio_impl.h', | |
539 'shared_impl/image_data_impl.cc', | |
540 'shared_impl/image_data_impl.h', | |
541 ], | |
542 'conditions': [ | |
543 ['OS=="win"', { | |
544 'msvs_guid': 'E7420D65-A885-41EB-B4BE-04DE0C97033B', | |
545 }], | |
546 ], | |
547 }, | |
548 { | |
549 'target_name': 'ppapi_proxy', | |
550 'type': 'static_library', | |
551 'dependencies': [ | |
552 '../ipc/ipc.gyp:ipc', | |
553 'ppapi_c', | |
554 'ppapi_shared_impl', | |
555 ], | |
556 'all_dependent_settings': { | |
557 'include_dirs': [ | |
558 '..', | |
559 ], | |
560 }, | |
561 'include_dirs': [ | |
562 '..', | |
563 '../..', # For nacl includes to work. | |
564 ], | |
565 'sources': [ | |
566 'proxy/callback_tracker.cc', | |
567 'proxy/callback_tracker.h', | |
568 'proxy/dispatcher.cc', | |
569 'proxy/dispatcher.h', | |
570 'proxy/host_dispatcher.cc', | |
571 'proxy/host_dispatcher.h', | |
572 'proxy/host_var_serialization_rules.cc', | |
573 'proxy/host_var_serialization_rules.h', | |
574 'proxy/image_data.cc', | |
575 'proxy/image_data.h', | |
576 'proxy/interface_proxy.cc', | |
577 'proxy/interface_proxy.h', | |
578 'proxy/plugin_dispatcher.cc', | |
579 'proxy/plugin_dispatcher.h', | |
580 'proxy/plugin_resource.cc', | |
581 'proxy/plugin_resource.h', | |
582 'proxy/plugin_resource_tracker.cc', | |
583 'proxy/plugin_resource_tracker.h', | |
584 'proxy/plugin_var_serialization_rules.cc', | |
585 'proxy/plugin_var_serialization_rules.h', | |
586 'proxy/plugin_var_tracker.cc', | |
587 'proxy/plugin_var_tracker.h', | |
588 'proxy/ppapi_messages.cc', | |
589 'proxy/ppapi_messages.h', | |
590 'proxy/ppapi_messages_internal.h', | |
591 'proxy/ppapi_param_traits.cc', | |
592 'proxy/ppapi_param_traits.h', | |
593 'proxy/ppb_audio_config_proxy.cc', | |
594 'proxy/ppb_audio_config_proxy.h', | |
595 'proxy/ppb_audio_proxy.cc', | |
596 'proxy/ppb_audio_proxy.h', | |
597 'proxy/ppb_buffer_proxy.cc', | |
598 'proxy/ppb_buffer_proxy.h', | |
599 'proxy/ppb_char_set_proxy.cc', | |
600 'proxy/ppb_char_set_proxy.h', | |
601 'proxy/ppb_core_proxy.cc', | |
602 'proxy/ppb_core_proxy.h', | |
603 'proxy/ppb_cursor_control_proxy.cc', | |
604 'proxy/ppb_cursor_control_proxy.h', | |
605 'proxy/ppb_flash_proxy.cc', | |
606 'proxy/ppb_flash_proxy.h', | |
607 'proxy/ppb_font_proxy.cc', | |
608 'proxy/ppb_font_proxy.h', | |
609 'proxy/ppb_fullscreen_proxy.cc', | |
610 'proxy/ppb_fullscreen_proxy.h', | |
611 'proxy/ppb_graphics_2d_proxy.cc', | |
612 'proxy/ppb_graphics_2d_proxy.h', | |
613 'proxy/ppb_image_data_proxy.cc', | |
614 'proxy/ppb_image_data_proxy.h', | |
615 'proxy/ppb_instance_proxy.cc', | |
616 'proxy/ppb_instance_proxy.h', | |
617 'proxy/ppb_pdf_proxy.cc', | |
618 'proxy/ppb_pdf_proxy.h', | |
619 'proxy/ppb_testing_proxy.cc', | |
620 'proxy/ppb_testing_proxy.h', | |
621 'proxy/ppb_url_loader_proxy.cc', | |
622 'proxy/ppb_url_loader_proxy.h', | |
623 'proxy/ppb_url_request_info_proxy.cc', | |
624 'proxy/ppb_url_request_info_proxy.h', | |
625 'proxy/ppb_url_response_info_proxy.cc', | |
626 'proxy/ppb_url_response_info_proxy.h', | |
627 'proxy/ppb_var_deprecated_proxy.cc', | |
628 'proxy/ppb_var_deprecated_proxy.h', | |
629 'proxy/ppp_class_proxy.cc', | |
630 'proxy/ppp_class_proxy.h', | |
631 'proxy/ppp_instance_proxy.cc', | |
632 'proxy/ppp_instance_proxy.h', | |
633 'proxy/serialized_structs.cc', | |
634 'proxy/serialized_structs.h', | |
635 'proxy/serialized_var.cc', | |
636 'proxy/serialized_var.h', | |
637 'proxy/var_serialization_rules.h', | |
638 ], | |
639 'defines': [ | |
640 ], | |
641 'conditions': [ | |
642 ['OS=="win"', { | |
643 }], | |
644 ['OS=="linux"', { | |
645 }], | |
646 ['OS=="mac"', { | |
647 }] | |
648 ], | |
649 }, | |
650 { | |
651 'target_name': 'ppapi_unittests', | |
652 'type': 'executable', | |
653 'variables': { | |
654 'chromium_code': 1, | |
655 }, | |
656 'msvs_guid': 'C2BD9365-5BD7-44A7-854E-A49E606BE8E4', | |
657 'dependencies': [ | |
658 'ppapi_proxy', | |
659 '../base/base.gyp:test_support_base', | |
660 '../ipc/ipc.gyp:test_support_ipc', | |
661 '../testing/gmock.gyp:gmock', | |
662 '../testing/gtest.gyp:gtest', | |
663 ], | |
664 'sources': [ | |
665 'proxy/run_all_unittests.cc', | |
666 | |
667 'proxy/plugin_var_tracker_unittest.cc', | |
668 ], | |
669 }, | |
670 ], | 31 ], |
671 } | 32 } |
OLD | NEW |