diff options
author | noelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-01 19:33:21 +0000 |
---|---|---|
committer | noelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-01 19:33:21 +0000 |
commit | 1f081e7a9285a42d5c7672fb59c3f74b8b868a16 (patch) | |
tree | cc4fb1891b70814f1e8c24ddebe1cce32d1ee105 /ppapi/ppapi_tests.gypi | |
parent | 7435a779ef35c6a3bc552751c0d576c1cdbcbee9 (diff) | |
download | chromium_src-1f081e7a9285a42d5c7672fb59c3f74b8b868a16.zip chromium_src-1f081e7a9285a42d5c7672fb59c3f74b8b868a16.tar.gz chromium_src-1f081e7a9285a42d5c7672fb59c3f74b8b868a16.tar.bz2 |
Avoid references to untrusted.gypi in WebKit
Reapply of http://codereview.chromium.org/8632023/
CLs 8710002 and 8671004 should fix various build issues
related to CrOS and other builders.
Remove include of untrusted.gypi in normal ppapi gyp files
to prevent WebKit from depending on NaCl.
Refactor PPAPI gyp files to pull out source lists which are
shared between trusted and untrusted targets.
Fix scons hack which pulls list of sources from GYP so that
we can build with scons.
This CL should allow us to revert the DEPS change:
http://trac.webkit.org/changeset/101011 on the webkit side
Submitting tbr to avoid more build change collisions.
TBR= bradnelson@chromium.org
Please review the scons interaction with ppapi_sources.gypi
Review URL: http://codereview.chromium.org/8727029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/ppapi_tests.gypi')
-rw-r--r-- | ppapi/ppapi_tests.gypi | 177 |
1 files changed, 2 insertions, 175 deletions
diff --git a/ppapi/ppapi_tests.gypi b/ppapi/ppapi_tests.gypi index b6cd46e..43ad3d3 100644 --- a/ppapi/ppapi_tests.gypi +++ b/ppapi/ppapi_tests.gypi @@ -64,93 +64,8 @@ 'lib/gl/include', ], 'sources': [ - # Common test files. - 'tests/test_case.cc', - 'tests/test_case.h', - 'tests/testing_instance.cc', - 'tests/testing_instance.h', - - # Test cases. - 'tests/all_c_includes.h', - 'tests/all_cpp_includes.h', - 'tests/arch_dependent_sizes_32.h', - 'tests/arch_dependent_sizes_64.h', - 'tests/pp_thread.h', - 'tests/test_audio.cc', - 'tests/test_audio.h', - 'tests/test_audio_config.cc', - 'tests/test_audio_config.h', - 'tests/test_broker.cc', - 'tests/test_broker.h', - 'tests/test_buffer.cc', - 'tests/test_buffer.h', - 'tests/test_c_includes.c', - 'tests/test_char_set.cc', - 'tests/test_char_set.h', - 'tests/test_core.cc', - 'tests/test_core.h', - 'tests/test_cpp_includes.cc', - 'tests/test_crypto.cc', - 'tests/test_crypto.h', - 'tests/test_cursor_control.cc', - 'tests/test_cursor_control.h', - 'tests/test_directory_reader.cc', - 'tests/test_directory_reader.h', - 'tests/test_file_io.cc', - 'tests/test_file_io.h', - 'tests/test_file_ref.cc', - 'tests/test_file_ref.h', - 'tests/test_file_system.cc', - 'tests/test_file_system.h', - 'tests/test_flash.cc', - 'tests/test_flash.h', - 'tests/test_flash_clipboard.cc', - 'tests/test_flash_clipboard.h', - 'tests/test_flash_fullscreen.cc', - 'tests/test_flash_fullscreen.h', - 'tests/test_fullscreen.cc', - 'tests/test_fullscreen.h', - 'tests/test_graphics_2d.cc', - 'tests/test_graphics_2d.h', - 'tests/test_graphics_3d.cc', - 'tests/test_graphics_3d.h', - 'tests/test_image_data.cc', - 'tests/test_image_data.h', - 'tests/test_input_event.cc', - 'tests/test_input_event.h', - 'tests/test_memory.cc', - 'tests/test_memory.h', - 'tests/test_net_address_private.cc', - 'tests/test_net_address_private.h', - 'tests/test_paint_aggregator.cc', - 'tests/test_paint_aggregator.h', - 'tests/test_post_message.cc', - 'tests/test_post_message.h', - 'tests/test_scrollbar.cc', - 'tests/test_scrollbar.h', - 'tests/test_struct_sizes.c', - 'tests/test_tcp_socket_private.cc', - 'tests/test_tcp_socket_private.h', - 'tests/test_uma.cc', - 'tests/test_uma.h', - 'tests/test_url_loader.cc', - 'tests/test_url_loader.h', - 'tests/test_url_util.cc', - 'tests/test_url_util.h', - 'tests/test_utils.cc', - 'tests/test_utils.h', - 'tests/test_var.cc', - 'tests/test_var.h', - 'tests/test_video_decoder.cc', - 'tests/test_video_decoder.h', - 'tests/test_websocket.cc', - 'tests/test_websocket.h', - - # Deprecated test cases. - 'tests/test_instance_deprecated.cc', - 'tests/test_instance_deprecated.h', - 'tests/test_var_deprecated.cc', - 'tests/test_var_deprecated.h', + '<@(test_sources_common)', + '<@(test_sources_trusted)', ], 'dependencies': [ 'ppapi.gyp:ppapi_cpp', @@ -434,92 +349,4 @@ ], }, ], - 'conditions': [ - ['disable_nacl!=1', { - 'targets': [ - { - 'target_name': 'ppapi_nacl_tests', - 'type': 'none', - 'dependencies': [ - 'native_client/native_client.gyp:ppapi_lib', - 'native_client/native_client.gyp:nacl_irt', - 'ppapi.gyp:ppapi_cpp_lib', - ], - 'variables': { - 'nexe_target': 'ppapi_nacl_tests', - 'build_glibc': 0, - 'build_newlib': 1, - 'include_dirs': [ - 'lib/gl/include', - '..', - ], - 'link_flags': [ - '-lppapi_cpp', - '-lppapi', - ], - 'extra_deps64': [ - '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_cpp.a', - '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi.a', - ], - 'extra_deps32': [ - '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_cpp.a', - '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi.a', - ], - 'sources': [ - # Common test files - 'tests/test_case.cc', - 'tests/test_utils.cc', - 'tests/testing_instance.cc', - - # Compile-time tests - 'tests/test_c_includes.c', - 'tests/test_cpp_includes.cc', - 'tests/test_struct_sizes.c', - # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER) - - # Add/uncomment PPAPI interfaces below when they get proxied. - # Not yet proxied. - #'test_broker.cc', - # Not yet proxied. - #'test_buffer.cc', - # Not yet proxied. - #'test_char_set.cc', - 'tests/test_cursor_control.cc', - # Fails in DeleteDirectoryRecursively. - # BUG: http://code.google.com/p/nativeclient/issues/detail?id=2107 - #'test_directory_reader.cc', - 'tests/test_file_io.cc', - 'tests/test_file_ref.cc', - 'tests/test_file_system.cc', - 'tests/test_memory.cc', - 'tests/test_graphics_2d.cc', - 'tests/test_image_data.cc', - 'tests/test_paint_aggregator.cc', - # test_post_message.cc relies on synchronous scripting, which is not - # available for untrusted tests. - # Does not compile under nacl (uses private interface ExecuteScript). - #'test_post_message.cc', - 'tests/test_scrollbar.cc', - # Not yet proxied. - #'tests/test_transport.cc', - # Not yet proxied. - #'tests/test_uma.cc', - 'tests/test_url_loader.cc', - # Does not compile under nacl (uses VarPrivate). - #'test_url_util.cc', - # Not yet proxied. - #'test_video_decoder.cc', - 'tests/test_var.cc', - - # Deprecated test cases. - #'tests/test_instance_deprecated.cc', - # Var_deprecated fails in TestPassReference, and we probably won't - # fix it. - #'tests/test_var_deprecated.cc' - ], - }, - }, - ], - }], - ], } |