Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 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_tests', |
| 9 | 'type': 'loadable_module', |
| 10 | 'include_dirs': [ |
| 11 | 'lib/gl/include', |
| 12 | ], |
| 13 | 'defines': [ |
| 14 | 'GL_GLEXT_PROTOTYPES', |
| 15 | ], |
| 16 | 'sources': [ |
| 17 | '<@(test_common_source_files)', |
| 18 | '<@(test_trusted_source_files)', |
| 19 | ], |
| 20 | 'dependencies': [ |
| 21 | 'ppapi.gyp:ppapi_cpp', |
| 22 | 'ppapi_internal.gyp:ppapi_shared', |
| 23 | ], |
| 24 | 'copies': [ |
| 25 | { |
| 26 | 'destination': '<(PRODUCT_DIR)', |
| 27 | 'files': [ |
| 28 | # Keep 'test_case.html.mock-http-headers' with 'test_case.html'. |
| 29 | 'tests/test_case.html', |
| 30 | 'tests/test_case.html.mock-http-headers', |
| 31 | 'tests/test_page.css', |
| 32 | 'tests/ppapi_nacl_tests_newlib.nmf', |
| 33 | ], |
| 34 | }, |
| 35 | { |
| 36 | 'destination': '<(PRODUCT_DIR)/test_url_loader_data', |
| 37 | 'files': [ |
| 38 | 'tests/test_url_loader_data/hello.txt', |
| 39 | ], |
| 40 | }, |
| 41 | ], |
| 42 | 'run_as': { |
| 43 | 'action': [ |
| 44 | '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', |
| 45 | '--enable-pepper-testing', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 46 | '--register-pepper-plugins=$(TargetPath);application/x-ppapi-tests', |
| 47 | 'file://$(ProjectDir)/tests/test_case.html?testcase=', |
| 48 | ], |
| 49 | }, |
| 50 | 'conditions': [ |
| 51 | ['OS=="win"', { |
| 52 | 'defines': [ |
| 53 | '_CRT_SECURE_NO_DEPRECATE', |
| 54 | '_CRT_NONSTDC_NO_WARNINGS', |
| 55 | '_CRT_NONSTDC_NO_DEPRECATE', |
| 56 | '_SCL_SECURE_NO_DEPRECATE', |
| 57 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 58 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 59 | 'msvs_disabled_warnings': [ 4267, ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 60 | }], |
| 61 | ['OS=="mac"', { |
| 62 | 'mac_bundle': 1, |
| 63 | 'product_name': 'ppapi_tests', |
| 64 | 'product_extension': 'plugin', |
| 65 | }], |
| 66 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 67 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 68 | 'msvs_disabled_warnings': [ 4267, ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 69 | # TODO(dmichael): Figure out what is wrong with the script on Windows and add |
| 70 | # it as an automated action. |
| 71 | # 'actions': [ |
| 72 | # { |
| 73 | # 'action_name': 'generate_ppapi_include_tests', |
| 74 | # 'inputs': [], |
| 75 | # 'outputs': [ |
| 76 | # 'tests/test_c_includes.c', |
| 77 | # 'tests/test_cc_includes.cc', |
| 78 | # ], |
| 79 | # 'action': [ |
| 80 | # '<!@(python generate_ppapi_include_tests.py)', |
| 81 | # ], |
| 82 | # }, |
| 83 | # ], |
| 84 | }, |
| 85 | { |
| 86 | 'target_name': 'ppapi_unittest_shared', |
| 87 | 'type': 'static_library', |
| 88 | 'dependencies': [ |
| 89 | 'ppapi_proxy', |
| 90 | 'ppapi_shared', |
| 91 | '../base/base.gyp:test_support_base', |
| 92 | '../ipc/ipc.gyp:ipc', |
| 93 | '../ipc/ipc.gyp:test_support_ipc', |
| 94 | '../testing/gmock.gyp:gmock', |
| 95 | '../testing/gtest.gyp:gtest', |
| 96 | ], |
| 97 | 'sources': [ |
| 98 | 'proxy/ppapi_proxy_test.cc', |
| 99 | 'proxy/ppapi_proxy_test.h', |
| 100 | 'proxy/resource_message_test_sink.cc', |
| 101 | 'proxy/resource_message_test_sink.h', |
| 102 | 'shared_impl/test_globals.cc', |
| 103 | 'shared_impl/test_globals.h', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 104 | 'shared_impl/unittest_utils.cc', |
| 105 | 'shared_impl/unittest_utils.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 106 | ], |
| 107 | }, |
| 108 | |
| 109 | { |
| 110 | 'target_name': 'ppapi_perftests', |
| 111 | 'type': 'executable', |
| 112 | 'variables': { |
| 113 | 'chromium_code': 1, |
| 114 | }, |
| 115 | 'dependencies': [ |
| 116 | 'ppapi_proxy', |
| 117 | 'ppapi_shared', |
| 118 | 'ppapi_unittest_shared', |
| 119 | '../base/base.gyp:test_support_base', |
| 120 | '../testing/gtest.gyp:gtest', |
| 121 | ], |
| 122 | 'sources': [ |
| 123 | 'proxy/ppapi_perftests.cc', |
| 124 | 'proxy/ppp_messaging_proxy_perftest.cc', |
| 125 | ], |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 126 | 'conditions': [ |
| 127 | # See http://crbug.com/162998#c4 for why this is needed. |
| 128 | ['OS=="linux" and linux_use_tcmalloc==1', { |
| 129 | 'dependencies': [ |
| 130 | '../base/allocator/allocator.gyp:allocator', |
| 131 | ], |
| 132 | }], |
| 133 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 134 | }, |
| 135 | { |
| 136 | 'target_name': 'ppapi_unittests', |
| 137 | 'type': 'executable', |
| 138 | 'variables': { |
| 139 | 'chromium_code': 1, |
| 140 | }, |
| 141 | 'dependencies': [ |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 142 | 'ppapi_host', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 143 | 'ppapi_proxy', |
| 144 | 'ppapi_shared', |
| 145 | 'ppapi_unittest_shared', |
| 146 | '../base/base.gyp:test_support_base', |
| 147 | '../gpu/gpu.gyp:gpu_ipc', |
| 148 | '../ipc/ipc.gyp:ipc', |
| 149 | '../ipc/ipc.gyp:test_support_ipc', |
| 150 | '../media/media.gyp:shared_memory_support', |
| 151 | '../testing/gmock.gyp:gmock', |
| 152 | '../testing/gtest.gyp:gtest', |
| 153 | '../ui/surface/surface.gyp:surface', |
| 154 | ], |
| 155 | 'sources': [ |
| 156 | 'proxy/run_all_unittests.cc', |
| 157 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 158 | 'host/resource_message_filter_unittest.cc', |
| 159 | 'proxy/device_enumeration_resource_helper_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 160 | 'proxy/file_chooser_resource_unittest.cc', |
| 161 | 'proxy/flash_resource_unittest.cc', |
| 162 | 'proxy/mock_resource.cc', |
| 163 | 'proxy/mock_resource.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 164 | 'proxy/pdf_resource_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 165 | 'proxy/plugin_dispatcher_unittest.cc', |
| 166 | 'proxy/plugin_resource_tracker_unittest.cc', |
| 167 | 'proxy/plugin_var_tracker_unittest.cc', |
| 168 | 'proxy/ppb_var_unittest.cc', |
| 169 | 'proxy/ppp_instance_private_proxy_unittest.cc', |
| 170 | 'proxy/ppp_instance_proxy_unittest.cc', |
| 171 | 'proxy/ppp_messaging_proxy_unittest.cc', |
| 172 | 'proxy/printing_resource_unittest.cc', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 173 | 'proxy/raw_var_data_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 174 | 'proxy/serialized_var_unittest.cc', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame^] | 175 | 'proxy/talk_resource_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 176 | 'proxy/websocket_resource_unittest.cc', |
| 177 | 'shared_impl/resource_tracker_unittest.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 178 | 'shared_impl/thread_aware_callback_unittest.cc', |
| 179 | 'shared_impl/time_conversion_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 180 | 'shared_impl/tracked_callback_unittest.cc', |
| 181 | 'shared_impl/var_tracker_unittest.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 182 | 'shared_impl/var_value_conversions_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 183 | ], |
| 184 | 'conditions': [ |
| 185 | [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
| 186 | 'conditions': [ |
| 187 | [ 'linux_use_tcmalloc == 1', { |
| 188 | 'dependencies': [ |
| 189 | '../base/allocator/allocator.gyp:allocator', |
| 190 | ], |
| 191 | }], |
| 192 | ], |
| 193 | }], |
| 194 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 195 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 196 | 'msvs_disabled_warnings': [ 4267, ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 197 | }, |
| 198 | { |
| 199 | 'target_name': 'ppapi_example_skeleton', |
| 200 | 'suppress_wildcard': 1, |
| 201 | 'type': 'none', |
| 202 | 'direct_dependent_settings': { |
| 203 | 'product_name': '>(_target_name)', |
| 204 | 'conditions': [ |
| 205 | ['os_posix==1 and OS!="mac"', { |
| 206 | 'cflags': ['-fvisibility=hidden'], |
| 207 | 'type': 'shared_library', |
| 208 | # -gstabs, used in the official builds, causes an ICE. Simply remove |
| 209 | # it. |
| 210 | 'cflags!': ['-gstabs'], |
| 211 | }], |
| 212 | ['OS=="win"', { |
| 213 | 'type': 'shared_library', |
| 214 | }], |
| 215 | ['OS=="mac"', { |
| 216 | 'type': 'loadable_module', |
| 217 | 'mac_bundle': 1, |
| 218 | 'product_extension': 'plugin', |
| 219 | 'xcode_settings': { |
| 220 | 'OTHER_LDFLAGS': [ |
| 221 | # Not to strip important symbols by -Wl,-dead_strip. |
| 222 | '-Wl,-exported_symbol,_PPP_GetInterface', |
| 223 | '-Wl,-exported_symbol,_PPP_InitializeModule', |
| 224 | '-Wl,-exported_symbol,_PPP_ShutdownModule' |
| 225 | ]}, |
| 226 | }], |
| 227 | ], |
| 228 | }, |
| 229 | }, |
| 230 | { |
| 231 | 'target_name': 'ppapi_example_mouse_cursor', |
| 232 | 'dependencies': [ |
| 233 | 'ppapi_example_skeleton', |
| 234 | 'ppapi.gyp:ppapi_cpp', |
| 235 | ], |
| 236 | 'sources': [ |
| 237 | 'examples/mouse_cursor/mouse_cursor.cc', |
| 238 | ], |
| 239 | }, |
| 240 | { |
| 241 | 'target_name': 'ppapi_example_mouse_lock', |
| 242 | 'dependencies': [ |
| 243 | 'ppapi_example_skeleton', |
| 244 | 'ppapi.gyp:ppapi_cpp', |
| 245 | ], |
| 246 | 'sources': [ |
| 247 | 'examples/mouse_lock/mouse_lock.cc', |
| 248 | ], |
| 249 | }, |
| 250 | |
| 251 | { |
| 252 | 'target_name': 'ppapi_example_gamepad', |
| 253 | 'dependencies': [ |
| 254 | 'ppapi_example_skeleton', |
| 255 | 'ppapi.gyp:ppapi_cpp', |
| 256 | ], |
| 257 | 'sources': [ |
| 258 | 'examples/gamepad/gamepad.cc', |
| 259 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 260 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 261 | 'msvs_disabled_warnings': [ 4267, ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 262 | }, |
| 263 | |
| 264 | { |
| 265 | 'target_name': 'ppapi_example_c_stub', |
| 266 | 'dependencies': [ |
| 267 | 'ppapi_example_skeleton', |
| 268 | 'ppapi.gyp:ppapi_c', |
| 269 | ], |
| 270 | 'sources': [ |
| 271 | 'examples/stub/stub.c', |
| 272 | ], |
| 273 | }, |
| 274 | { |
| 275 | 'target_name': 'ppapi_example_cc_stub', |
| 276 | 'dependencies': [ |
| 277 | 'ppapi_example_skeleton', |
| 278 | 'ppapi.gyp:ppapi_cpp', |
| 279 | ], |
| 280 | 'sources': [ |
| 281 | 'examples/stub/stub.cc', |
| 282 | ], |
| 283 | }, |
| 284 | { |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 285 | 'target_name': 'ppapi_example_crxfs', |
| 286 | 'dependencies': [ |
| 287 | 'ppapi_example_skeleton', |
| 288 | 'ppapi.gyp:ppapi_cpp', |
| 289 | ], |
| 290 | 'sources': [ |
| 291 | 'examples/crxfs/crxfs.cc', |
| 292 | ], |
| 293 | }, |
| 294 | { |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 295 | 'target_name': 'ppapi_example_audio', |
| 296 | 'dependencies': [ |
| 297 | 'ppapi_example_skeleton', |
| 298 | 'ppapi.gyp:ppapi_cpp', |
| 299 | ], |
| 300 | 'sources': [ |
| 301 | 'examples/audio/audio.cc', |
| 302 | ], |
| 303 | }, |
| 304 | { |
| 305 | 'target_name': 'ppapi_example_audio_input', |
| 306 | 'dependencies': [ |
| 307 | 'ppapi_example_skeleton', |
| 308 | 'ppapi.gyp:ppapi_cpp', |
| 309 | ], |
| 310 | 'sources': [ |
| 311 | 'examples/audio_input/audio_input.cc', |
| 312 | ], |
| 313 | }, |
| 314 | { |
| 315 | 'target_name': 'ppapi_example_file_chooser', |
| 316 | 'dependencies': [ |
| 317 | 'ppapi_example_skeleton', |
| 318 | 'ppapi.gyp:ppapi_cpp', |
| 319 | ], |
| 320 | 'sources': [ |
| 321 | 'examples/file_chooser/file_chooser.cc', |
| 322 | ], |
| 323 | }, |
| 324 | { |
| 325 | 'target_name': 'ppapi_example_graphics_2d', |
| 326 | 'dependencies': [ |
| 327 | 'ppapi_example_skeleton', |
| 328 | 'ppapi.gyp:ppapi_c', |
| 329 | ], |
| 330 | 'sources': [ |
| 331 | 'examples/2d/graphics_2d_example.c', |
| 332 | ], |
| 333 | }, |
| 334 | { |
| 335 | 'target_name': 'ppapi_example_ime', |
| 336 | 'dependencies': [ |
| 337 | 'ppapi_example_skeleton', |
| 338 | 'ppapi.gyp:ppapi_cpp', |
| 339 | ], |
| 340 | 'sources': [ |
| 341 | 'examples/ime/ime.cc', |
| 342 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 343 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 344 | 'msvs_disabled_warnings': [ 4267, ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 345 | }, |
| 346 | { |
| 347 | 'target_name': 'ppapi_example_paint_manager', |
| 348 | 'dependencies': [ |
| 349 | 'ppapi_example_skeleton', |
| 350 | 'ppapi.gyp:ppapi_cpp', |
| 351 | ], |
| 352 | 'sources': [ |
| 353 | 'examples/2d/paint_manager_example.cc', |
| 354 | ], |
| 355 | }, |
| 356 | { |
| 357 | 'target_name': 'ppapi_example_input', |
| 358 | 'dependencies': [ |
| 359 | 'ppapi_example_skeleton', |
| 360 | 'ppapi.gyp:ppapi_cpp', |
| 361 | ], |
| 362 | 'sources': [ |
| 363 | 'examples/input/pointer_event_input.cc', |
| 364 | ], |
| 365 | }, |
| 366 | { |
| 367 | 'target_name': 'ppapi_example_post_message', |
| 368 | 'dependencies': [ |
| 369 | 'ppapi_example_skeleton', |
| 370 | 'ppapi.gyp:ppapi_cpp', |
| 371 | ], |
| 372 | 'sources': [ |
| 373 | 'examples/scripting/post_message.cc', |
| 374 | ], |
| 375 | }, |
| 376 | { |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 377 | 'target_name': 'ppapi_example_scaling', |
| 378 | 'dependencies': [ |
| 379 | 'ppapi_example_skeleton', |
| 380 | 'ppapi.gyp:ppapi_cpp', |
| 381 | ], |
| 382 | 'sources': [ |
| 383 | 'examples/scaling/scaling.cc', |
| 384 | ], |
| 385 | }, |
| 386 | { |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 387 | 'target_name': 'ppapi_example_scroll', |
| 388 | 'dependencies': [ |
| 389 | 'ppapi_example_skeleton', |
| 390 | 'ppapi.gyp:ppapi_cpp', |
| 391 | ], |
| 392 | 'sources': [ |
| 393 | 'examples/2d/scroll.cc', |
| 394 | ], |
| 395 | }, |
| 396 | { |
| 397 | 'target_name': 'ppapi_example_simple_font', |
| 398 | 'dependencies': [ |
| 399 | 'ppapi_example_skeleton', |
| 400 | 'ppapi.gyp:ppapi_cpp', |
| 401 | ], |
| 402 | 'sources': [ |
| 403 | 'examples/font/simple_font.cc', |
| 404 | ], |
| 405 | }, |
| 406 | { |
| 407 | 'target_name': 'ppapi_example_url_loader', |
| 408 | 'dependencies': [ |
| 409 | 'ppapi_example_skeleton', |
| 410 | 'ppapi.gyp:ppapi_cpp', |
| 411 | ], |
| 412 | 'sources': [ |
| 413 | 'examples/url_loader/streaming.cc', |
| 414 | ], |
| 415 | }, |
| 416 | { |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 417 | 'target_name': 'ppapi_example_url_loader_file', |
| 418 | 'dependencies': [ |
| 419 | 'ppapi_example_skeleton', |
| 420 | 'ppapi.gyp:ppapi_cpp', |
| 421 | ], |
| 422 | 'sources': [ |
| 423 | 'examples/url_loader/stream_to_file.cc', |
| 424 | ], |
| 425 | }, |
| 426 | { |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 427 | 'target_name': 'ppapi_example_gles2', |
| 428 | 'dependencies': [ |
| 429 | 'ppapi_example_skeleton', |
| 430 | 'ppapi.gyp:ppapi_cpp', |
| 431 | 'ppapi.gyp:ppapi_gles2', |
| 432 | 'ppapi.gyp:ppapi_egl', |
| 433 | ], |
| 434 | 'include_dirs': [ |
| 435 | 'lib/gl/include', |
| 436 | ], |
| 437 | 'sources': [ |
| 438 | 'examples/gles2/gles2.cc', |
| 439 | ], |
| 440 | }, |
| 441 | { |
| 442 | 'target_name': 'ppapi_example_video_decode', |
| 443 | 'dependencies': [ |
| 444 | 'ppapi_example_skeleton', |
| 445 | 'ppapi.gyp:ppapi_cpp', |
| 446 | 'ppapi.gyp:ppapi_gles2', |
| 447 | 'ppapi.gyp:ppapi_egl', |
| 448 | ], |
| 449 | 'include_dirs': [ |
| 450 | 'lib/gl/include', |
| 451 | ], |
| 452 | 'sources': [ |
| 453 | 'examples/video_decode/video_decode.cc', |
| 454 | 'examples/video_decode/testdata.h', |
| 455 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 456 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 457 | 'msvs_disabled_warnings': [ 4267, ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 458 | }, |
| 459 | { |
| 460 | 'target_name': 'ppapi_example_vc', |
| 461 | 'dependencies': [ |
| 462 | 'ppapi_example_skeleton', |
| 463 | 'ppapi.gyp:ppapi_cpp', |
| 464 | 'ppapi.gyp:ppapi_gles2', |
| 465 | 'ppapi.gyp:ppapi_egl', |
| 466 | ], |
| 467 | 'include_dirs': [ |
| 468 | 'lib/gl/include', |
| 469 | ], |
| 470 | 'sources': [ |
| 471 | 'examples/video_capture/video_capture.cc', |
| 472 | ], |
| 473 | }, |
| 474 | { |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 475 | 'target_name': 'ppapi_example_video_effects', |
| 476 | 'dependencies': [ |
| 477 | 'ppapi_example_skeleton', |
| 478 | 'ppapi.gyp:ppapi_cpp', |
| 479 | ], |
| 480 | 'sources': [ |
| 481 | 'examples/video_effects/video_effects.cc', |
| 482 | ], |
| 483 | }, |
| 484 | { |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 485 | 'target_name': 'ppapi_example_enumerate_devices', |
| 486 | 'dependencies': [ |
| 487 | 'ppapi_example_skeleton', |
| 488 | 'ppapi.gyp:ppapi_cpp', |
| 489 | ], |
| 490 | 'sources': [ |
| 491 | 'examples/enumerate_devices/enumerate_devices.cc', |
| 492 | ], |
| 493 | }, |
| 494 | { |
| 495 | 'target_name': 'ppapi_example_flash_topmost', |
| 496 | 'dependencies': [ |
| 497 | 'ppapi_example_skeleton', |
| 498 | 'ppapi.gyp:ppapi_cpp', |
| 499 | ], |
| 500 | 'sources': [ |
| 501 | 'examples/flash_topmost/flash_topmost.cc', |
| 502 | ], |
| 503 | }, |
| 504 | { |
| 505 | 'target_name': 'ppapi_example_printing', |
| 506 | 'dependencies': [ |
| 507 | 'ppapi_example_skeleton', |
| 508 | 'ppapi.gyp:ppapi_cpp', |
| 509 | ], |
| 510 | 'sources': [ |
| 511 | 'examples/printing/printing.cc', |
| 512 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 513 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 514 | 'msvs_disabled_warnings': [ 4267, ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 515 | }, |
| 516 | ], |
| 517 | } |