| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 'ppapi_example_skeleton', | 254 'ppapi_example_skeleton', |
| 255 'ppapi.gyp:ppapi_cpp', | 255 'ppapi.gyp:ppapi_cpp', |
| 256 ], | 256 ], |
| 257 'sources': [ | 257 'sources': [ |
| 258 'examples/mouse_lock/mouse_lock.cc', | 258 'examples/mouse_lock/mouse_lock.cc', |
| 259 ], | 259 ], |
| 260 }, | 260 }, |
| 261 ], | 261 ], |
| 262 | 262 |
| 263 'conditions': [ | 263 'conditions': [ |
| 264 ['disable_nacl!=1', { | |
| 265 'targets': [ | |
| 266 { | |
| 267 'target_name': 'ppapi_nacl_tests', | |
| 268 'type': 'none', | |
| 269 'dependencies': [ | |
| 270 'native_client/native_client.gyp:nacl_irt', | |
| 271 ], | |
| 272 'variables': { | |
| 273 'nexe_target': 'ppapi_nacl_tests', | |
| 274 'build_glibc': 0, | |
| 275 'build_newlib': 1, | |
| 276 'include_dirs': [ | |
| 277 'lib/gl/include', | |
| 278 '..', | |
| 279 ], | |
| 280 'sources': [ | |
| 281 # Common test files | |
| 282 'tests/test_case.cc', | |
| 283 'tests/test_utils.cc', | |
| 284 'tests/testing_instance.cc', | |
| 285 | |
| 286 # Compile-time tests | |
| 287 'tests/test_c_includes.c', | |
| 288 'tests/test_cpp_includes.cc', | |
| 289 'tests/test_struct_sizes.c', | |
| 290 | |
| 291 # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER) | |
| 292 # Add/uncomment PPAPI interfaces below when they get proxied. | |
| 293 # Not yet proxied. | |
| 294 #'test_broker.cc', | |
| 295 # Not yet proxied. | |
| 296 #'test_buffer.cc', | |
| 297 # Not yet proxied. | |
| 298 #'test_char_set.cc', | |
| 299 'tests/test_cursor_control.cc', | |
| 300 # Fails in DeleteDirectoryRecursively. | |
| 301 # BUG: http://code.google.com/p/nativeclient/issues/detail?id=2107 | |
| 302 #'test_directory_reader.cc', | |
| 303 'tests/test_file_io.cc', | |
| 304 'tests/test_file_ref.cc', | |
| 305 'tests/test_file_system.cc', | |
| 306 'tests/test_memory.cc', | |
| 307 'tests/test_graphics_2d.cc', | |
| 308 'tests/test_image_data.cc', | |
| 309 'tests/test_paint_aggregator.cc', | |
| 310 # test_post_message.cc relies on synchronous scripting, which is n
ot | |
| 311 # available for untrusted tests. | |
| 312 # Does not compile under nacl (uses private interface ExecuteScrip
t). | |
| 313 #'test_post_message.cc', | |
| 314 'tests/test_scrollbar.cc', | |
| 315 # Not yet proxied. | |
| 316 #'tests/test_transport.cc', | |
| 317 # Not yet proxied. | |
| 318 #'tests/test_uma.cc', | |
| 319 # Activating the URL loader test requires a test httpd that | |
| 320 # understands HTTP POST, which our current httpd.py doesn't. | |
| 321 # It also requires deactivating the tests that use FileIOTrusted | |
| 322 # when running in NaCl. | |
| 323 #'tests/test_url_loader.cc', | |
| 324 # Does not compile under nacl (uses VarPrivate). | |
| 325 #'test_url_util.cc', | |
| 326 # Not yet proxied. | |
| 327 #'test_video_decoder.cc', | |
| 328 'tests/test_var.cc', | |
| 329 | |
| 330 # Deprecated test cases. | |
| 331 #'tests/test_instance_deprecated.cc', | |
| 332 # Var_deprecated fails in TestPassReference, and we probably won't | |
| 333 # fix it. | |
| 334 #'tests/test_var_deprecated.cc' | |
| 335 ], | |
| 336 }, | |
| 337 }, | |
| 338 ], | |
| 339 }], | |
| 340 # NOTE: the PPAPI examples fail to build on mac & windows. | 264 # NOTE: the PPAPI examples fail to build on mac & windows. |
| 341 # http://code.google.com/p/chromium/issues/detail?id=54005 tracks mac. | 265 # http://code.google.com/p/chromium/issues/detail?id=54005 tracks mac. |
| 342 ['OS!="mac"', { | 266 ['OS!="mac"', { |
| 343 'targets': [ | 267 'targets': [ |
| 344 { | 268 { |
| 345 'target_name': 'ppapi_example_c_stub', | 269 'target_name': 'ppapi_example_c_stub', |
| 346 'dependencies': [ | 270 'dependencies': [ |
| 347 'ppapi_example_skeleton', | 271 'ppapi_example_skeleton', |
| 348 'ppapi.gyp:ppapi_c', | 272 'ppapi.gyp:ppapi_c', |
| 349 ], | 273 ], |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 'lib/gl/include', | 403 'lib/gl/include', |
| 480 ], | 404 ], |
| 481 'sources': [ | 405 'sources': [ |
| 482 'examples/video_capture/video_capture.cc', | 406 'examples/video_capture/video_capture.cc', |
| 483 ], | 407 ], |
| 484 }, | 408 }, |
| 485 ], | 409 ], |
| 486 }] | 410 }] |
| 487 ] | 411 ] |
| 488 } | 412 } |
| OLD | NEW |