OLD | NEW |
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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'ppapi_example', | 8 'target_name': 'ppapi_example', |
9 'dependencies': [ | 9 'dependencies': [ |
10 'ppapi.gyp:ppapi_cpp' | 10 'ppapi.gyp:ppapi_cpp' |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 # }], | 57 # }], |
58 #], | 58 #], |
59 }, | 59 }, |
60 { | 60 { |
61 'target_name': 'ppapi_tests', | 61 'target_name': 'ppapi_tests', |
62 'type': 'loadable_module', | 62 'type': 'loadable_module', |
63 'include_dirs': [ | 63 'include_dirs': [ |
64 'lib/gl/include', | 64 'lib/gl/include', |
65 ], | 65 ], |
66 'sources': [ | 66 'sources': [ |
67 # Common test files. | 67 '<@(test_sources)', |
68 'tests/test_case.cc', | |
69 'tests/test_case.h', | |
70 'tests/testing_instance.cc', | |
71 'tests/testing_instance.h', | |
72 | |
73 # Test cases. | |
74 'tests/all_c_includes.h', | |
75 'tests/all_cpp_includes.h', | |
76 'tests/arch_dependent_sizes_32.h', | |
77 'tests/arch_dependent_sizes_64.h', | |
78 'tests/pp_thread.h', | |
79 'tests/test_broker.cc', | |
80 'tests/test_broker.h', | |
81 'tests/test_buffer.cc', | |
82 'tests/test_buffer.h', | |
83 'tests/test_c_includes.c', | |
84 'tests/test_char_set.cc', | |
85 'tests/test_char_set.h', | |
86 'tests/test_core.cc', | |
87 'tests/test_core.h', | |
88 'tests/test_cpp_includes.cc', | |
89 'tests/test_crypto.cc', | |
90 'tests/test_crypto.h', | |
91 'tests/test_cursor_control.cc', | |
92 'tests/test_cursor_control.h', | |
93 'tests/test_directory_reader.cc', | |
94 'tests/test_directory_reader.h', | |
95 'tests/test_file_io.cc', | |
96 'tests/test_file_io.h', | |
97 'tests/test_file_ref.cc', | |
98 'tests/test_file_ref.h', | |
99 'tests/test_file_system.cc', | |
100 'tests/test_file_system.h', | |
101 'tests/test_flash.cc', | |
102 'tests/test_flash.h', | |
103 'tests/test_flash_clipboard.cc', | |
104 'tests/test_flash_clipboard.h', | |
105 'tests/test_flash_fullscreen.cc', | |
106 'tests/test_flash_fullscreen.h', | |
107 'tests/test_fullscreen.cc', | |
108 'tests/test_fullscreen.h', | |
109 'tests/test_graphics_2d.cc', | |
110 'tests/test_graphics_2d.h', | |
111 'tests/test_graphics_3d.cc', | |
112 'tests/test_graphics_3d.h', | |
113 'tests/test_image_data.cc', | |
114 'tests/test_image_data.h', | |
115 'tests/test_input_event.cc', | |
116 'tests/test_input_event.h', | |
117 'tests/test_memory.cc', | |
118 'tests/test_memory.h', | |
119 'tests/test_net_address_private.cc', | |
120 'tests/test_net_address_private.h', | |
121 'tests/test_paint_aggregator.cc', | |
122 'tests/test_paint_aggregator.h', | |
123 'tests/test_post_message.cc', | |
124 'tests/test_post_message.h', | |
125 'tests/test_scrollbar.cc', | |
126 'tests/test_scrollbar.h', | |
127 'tests/test_struct_sizes.c', | |
128 'tests/test_tcp_socket_private.cc', | |
129 'tests/test_tcp_socket_private.h', | |
130 'tests/test_uma.cc', | |
131 'tests/test_uma.h', | |
132 'tests/test_url_loader.cc', | |
133 'tests/test_url_loader.h', | |
134 'tests/test_url_util.cc', | |
135 'tests/test_url_util.h', | |
136 'tests/test_utils.cc', | |
137 'tests/test_utils.h', | |
138 'tests/test_var.cc', | |
139 'tests/test_var.h', | |
140 'tests/test_video_decoder.cc', | |
141 'tests/test_video_decoder.h', | |
142 'tests/test_websocket.cc', | |
143 'tests/test_websocket.h', | |
144 | |
145 # Deprecated test cases. | |
146 'tests/test_instance_deprecated.cc', | |
147 'tests/test_instance_deprecated.h', | |
148 'tests/test_var_deprecated.cc', | |
149 'tests/test_var_deprecated.h', | |
150 ], | 68 ], |
151 'dependencies': [ | 69 'dependencies': [ |
152 'ppapi.gyp:ppapi_cpp', | 70 'ppapi.gyp:ppapi_cpp', |
153 'ppapi_internal.gyp:ppapi_shared', | 71 'ppapi_internal.gyp:ppapi_shared', |
154 ], | 72 ], |
155 'run_as': { | 73 'run_as': { |
156 'action': [ | 74 'action': [ |
157 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', | 75 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', |
158 '--enable-pepper-testing', | 76 '--enable-pepper-testing', |
159 '--enable-accelerated-plugins', | 77 '--enable-accelerated-plugins', |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 'target_name': 'ppapi_example_audio', | 220 'target_name': 'ppapi_example_audio', |
303 'dependencies': [ | 221 'dependencies': [ |
304 'ppapi_example_skeleton', | 222 'ppapi_example_skeleton', |
305 'ppapi.gyp:ppapi_cpp', | 223 'ppapi.gyp:ppapi_cpp', |
306 ], | 224 ], |
307 'sources': [ | 225 'sources': [ |
308 'examples/audio/audio.cc', | 226 'examples/audio/audio.cc', |
309 ], | 227 ], |
310 }, | 228 }, |
311 { | 229 { |
312 'target_name': 'ppapi_example_audio_input', | |
313 'dependencies': [ | |
314 'ppapi_example_skeleton', | |
315 'ppapi.gyp:ppapi_cpp', | |
316 ], | |
317 'sources': [ | |
318 'examples/audio_input/audio_input.cc', | |
319 ], | |
320 }, | |
321 { | |
322 'target_name': 'ppapi_example_file_chooser', | 230 'target_name': 'ppapi_example_file_chooser', |
323 'dependencies': [ | 231 'dependencies': [ |
324 'ppapi_example_skeleton', | 232 'ppapi_example_skeleton', |
325 'ppapi.gyp:ppapi_cpp', | 233 'ppapi.gyp:ppapi_cpp', |
326 ], | 234 ], |
327 'sources': [ | 235 'sources': [ |
328 'examples/file_chooser/file_chooser.cc', | 236 'examples/file_chooser/file_chooser.cc', |
329 ], | 237 ], |
330 }, | 238 }, |
331 { | 239 { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 'ppapi.gyp:ppapi_egl', | 331 'ppapi.gyp:ppapi_egl', |
424 ], | 332 ], |
425 'include_dirs': [ | 333 'include_dirs': [ |
426 'lib/gl/include', | 334 'lib/gl/include', |
427 ], | 335 ], |
428 'sources': [ | 336 'sources': [ |
429 'examples/video_capture/video_capture.cc', | 337 'examples/video_capture/video_capture.cc', |
430 ], | 338 ], |
431 }, | 339 }, |
432 ], | 340 ], |
433 'conditions': [ | |
434 ['disable_nacl!=1', { | |
435 'targets': [ | |
436 { | |
437 'target_name': 'ppapi_nacl_tests', | |
438 'type': 'none', | |
439 'dependencies': [ | |
440 'native_client/native_client.gyp:ppapi_lib', | |
441 'native_client/native_client.gyp:nacl_irt', | |
442 'ppapi.gyp:ppapi_cpp_lib', | |
443 ], | |
444 'variables': { | |
445 'nexe_target': 'ppapi_nacl_tests', | |
446 'build_glibc': 0, | |
447 'build_newlib': 1, | |
448 'include_dirs': [ | |
449 'lib/gl/include', | |
450 '..', | |
451 ], | |
452 'link_flags': [ | |
453 '-lppapi_cpp', | |
454 '-lppapi', | |
455 ], | |
456 'extra_deps64': [ | |
457 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_cpp.a', | |
458 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi.a', | |
459 ], | |
460 'extra_deps32': [ | |
461 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_cpp.a', | |
462 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi.a', | |
463 ], | |
464 'sources': [ | |
465 # Common test files | |
466 'tests/test_case.cc', | |
467 'tests/test_utils.cc', | |
468 'tests/testing_instance.cc', | |
469 | |
470 # Compile-time tests | |
471 'tests/test_c_includes.c', | |
472 'tests/test_cpp_includes.cc', | |
473 'tests/test_struct_sizes.c', | |
474 # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER) | |
475 | |
476 # Add/uncomment PPAPI interfaces below when they get proxied. | |
477 # Not yet proxied. | |
478 #'test_broker.cc', | |
479 # Not yet proxied. | |
480 #'test_buffer.cc', | |
481 # Not yet proxied. | |
482 #'test_char_set.cc', | |
483 'tests/test_cursor_control.cc', | |
484 # Fails in DeleteDirectoryRecursively. | |
485 # BUG: http://code.google.com/p/nativeclient/issues/detail?id=2107 | |
486 #'test_directory_reader.cc', | |
487 'tests/test_file_io.cc', | |
488 'tests/test_file_ref.cc', | |
489 'tests/test_file_system.cc', | |
490 'tests/test_memory.cc', | |
491 'tests/test_graphics_2d.cc', | |
492 'tests/test_image_data.cc', | |
493 'tests/test_paint_aggregator.cc', | |
494 # test_post_message.cc relies on synchronous scripting, which is n
ot | |
495 # available for untrusted tests. | |
496 # Does not compile under nacl (uses private interface ExecuteScrip
t). | |
497 #'test_post_message.cc', | |
498 'tests/test_scrollbar.cc', | |
499 # Not yet proxied. | |
500 #'tests/test_transport.cc', | |
501 # Not yet proxied. | |
502 #'tests/test_uma.cc', | |
503 # Activating the URL loader test requires a test httpd that | |
504 # understands HTTP POST, which our current httpd.py doesn't. | |
505 # It also requires deactivating the tests that use FileIOTrusted | |
506 # when running in NaCl. | |
507 #'tests/test_url_loader.cc', | |
508 # Does not compile under nacl (uses VarPrivate). | |
509 #'test_url_util.cc', | |
510 # Not yet proxied. | |
511 #'test_video_decoder.cc', | |
512 'tests/test_var.cc', | |
513 | |
514 # Deprecated test cases. | |
515 #'tests/test_instance_deprecated.cc', | |
516 # Var_deprecated fails in TestPassReference, and we probably won't | |
517 # fix it. | |
518 #'tests/test_var_deprecated.cc' | |
519 ], | |
520 }, | |
521 }, | |
522 ], | |
523 }], | |
524 ], | |
525 } | 341 } |
OLD | NEW |