diff options
author | noelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-01 16:43:40 +0000 |
---|---|---|
committer | noelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-01 16:43:40 +0000 |
commit | 23921a1b0bbc1806e8f2cfaeddff0600e6ec8f4a (patch) | |
tree | 005c4ba1d1d901693d5e90d21d5fd2f643f74cac /ppapi/ppapi_tests.gypi | |
parent | 262edf2af2b11f7128a011f6b0cfb6248c4cc4ae (diff) | |
download | chromium_src-23921a1b0bbc1806e8f2cfaeddff0600e6ec8f4a.zip chromium_src-23921a1b0bbc1806e8f2cfaeddff0600e6ec8f4a.tar.gz chromium_src-23921a1b0bbc1806e8f2cfaeddff0600e6ec8f4a.tar.bz2 |
Use GYP to build nacl_irt
Converts Chrome from using scons to using GYP when building nacl_irt.
This change causes chrome to use GYP based components for untrusted
code. As a benifit, GYP will no longer need to run and scrape scons
output to determine irt dependencies. This also allows us to avoid
invoking scons during the build process.
We roll NaCl deps to get a fix for a simultaneous 32/64 bit build
issue on Windows.
TEST= try
BUG= http://code.google.com/p/chromium/issues/detail?id=96782
Review URL: http://codereview.chromium.org/8416025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108116 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/ppapi_tests.gypi')
-rw-r--r-- | ppapi/ppapi_tests.gypi | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/ppapi/ppapi_tests.gypi b/ppapi/ppapi_tests.gypi index 352cfd1..676b88f 100644 --- a/ppapi/ppapi_tests.gypi +++ b/ppapi/ppapi_tests.gypi @@ -188,6 +188,78 @@ # }, # ], }, + { + 'target_name': 'ppapi_nacl_tests', + 'type': 'none', + 'dependencies': [ + 'native_client/native_client.gyp:nacl_irt', + ], + 'variables': { + 'nexe_target': 'ppapi_nacl_tests', + 'build_glibc': 0, + 'build_newlib': 1, + 'include_dirs': [ + 'lib/gl/include', + '..', + ], + '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', + # Activating the URL loader test requires a test httpd that + # understands HTTP POST, which our current httpd.py doesn't. + # It also requires deactivating the tests that use FileIOTrusted + # when running in NaCl. + #'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' + ], + }, + }, { 'target_name': 'ppapi_unittests', 'type': 'executable', |