diff options
author | noelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-25 19:35:41 +0000 |
---|---|---|
committer | noelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-25 19:35:41 +0000 |
commit | 753f1afd091e32369e7a51adacf28a09f1743f46 (patch) | |
tree | d6565e0f8b3a5d23043a57bfc4dfc5280af81e4f /ppapi/ppapi_untrusted.gyp | |
parent | ef4a5588e6d7395b215adb87d7aa22a2024e3132 (diff) | |
download | chromium_src-753f1afd091e32369e7a51adacf28a09f1743f46.zip chromium_src-753f1afd091e32369e7a51adacf28a09f1743f46.tar.gz chromium_src-753f1afd091e32369e7a51adacf28a09f1743f46.tar.bz2 |
Revert 111606 - Avoid references to untrusted.gypi in WebKit
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
BUG= none
TEST= Tools/Scripts/update-webkit --chromium
Review URL: http://codereview.chromium.org/8632023
TBR=noelallen@google.com
Review URL: http://codereview.chromium.org/8700010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/ppapi_untrusted.gyp')
-rw-r--r-- | ppapi/ppapi_untrusted.gyp | 119 |
1 files changed, 0 insertions, 119 deletions
diff --git a/ppapi/ppapi_untrusted.gyp b/ppapi/ppapi_untrusted.gyp deleted file mode 100644 index 7b3ceb9..0000000 --- a/ppapi/ppapi_untrusted.gyp +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright (c) 2011 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# This GYP file defines untrusted (NaCl) targets. All targets in this -# file should be conditionally depended upon via 'disable_nacl!=1' to avoid -# requiring NaCl sources for building. - -{ - 'includes': [ - '../native_client/build/untrusted.gypi', - 'ppapi_sources.gypi', - ], - 'targets': [ - { - 'target_name': 'ppapi_cpp_lib', - 'type': 'none', - 'variables': { - 'nlib_target': 'libppapi_cpp.a', - 'build_glibc': 0, - 'build_newlib': 1, - 'sources': [ - '<@(cpp_sources)', - 'cpp/module_embedder.h', - 'cpp/ppp_entrypoints.cc', - ], - }, - 'dependencies': [ - '<(DEPTH)/native_client/tools.gyp:prep_toolchain', - ], - }, - { - 'target_name': 'ppapi_nacl_tests', - 'type': 'none', - 'dependencies': [ - 'ppapi_cpp_lib', - 'native_client/native_client.gyp:ppapi_lib', - 'native_client/native_client.gyp:nacl_irt', - ], - 'variables': { - 'nexe_target': 'ppapi_nacl_tests', - 'build_glibc': 0, - 'build_newlib': 1, - 'include_dirs': [ - 'lib/gl/include', - '..', - ], - 'link_flags': [ - '-lppapi_cpp', - '-lppapi', - ], - 'extra_deps64': [ - '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib64/libppapi_cpp.a', - '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib64/libppapi.a', - ], - 'extra_deps32': [ - '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib32/libppapi_cpp.a', - '<(PRODUCT_DIR)/obj/gen/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', - # 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' - ], - }, - }, - ], -} |