Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(565)

Unified Diff: webkit/tools/npapi_layout_test_plugin/npapi_layout_test_plugin.gypi

Issue 2729004: Move npapi_layout_test_plugin target to webkit_support to use it from... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/support/webkit_support.gyp ('k') | webkit/tools/test_shell/test_shell.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/npapi_layout_test_plugin/npapi_layout_test_plugin.gypi
===================================================================
--- webkit/tools/npapi_layout_test_plugin/npapi_layout_test_plugin.gypi (revision 0)
+++ webkit/tools/npapi_layout_test_plugin/npapi_layout_test_plugin.gypi (revision 0)
@@ -0,0 +1,99 @@
+# Copyright (c) 2010 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.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'npapi_layout_test_plugin',
+ 'type': 'loadable_module',
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'mac_bundle': 1,
+ 'msvs_guid': 'BE6D5659-A8D5-4890-A42C-090DD10EF62C',
+ 'sources': [
+ 'PluginObject.cpp',
+ 'TestObject.cpp',
+ 'main.cpp',
+ 'npapi_layout_test_plugin.def',
+ 'npapi_layout_test_plugin.rc',
+ ],
+ 'include_dirs': [
+ '../../..',
+ ],
+ 'dependencies': [
+ '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
+ ],
+ 'msvs_disabled_warnings': [ 4996 ],
+ 'mac_bundle_resources': [
+ 'Info.r',
+ ],
+ 'xcode_settings': {
+ 'INFOPLIST_FILE': '<(DEPTH)/webkit/tools/npapi_layout_test_plugin/Info.plist',
+ },
+ 'conditions': [
+ ['inside_chromium_build==0', {
+ 'dependencies': ['../../../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf'],
+ },{
+ 'dependencies': ['<(DEPTH)/third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf'],
+ }],
+ ['OS!="win"', {
+ 'sources!': [
+ 'npapi_layout_test_plugin.def',
+ 'npapi_layout_test_plugin.rc',
+ ],
+ # TODO(bradnelson):
+ # This copy should really live here, as a post-build step,
+ # but it's currently being implemented via
+ # AdditionalDependencies, which tries to do the copy before
+ # the file is built...
+ #
+ }, { # OS == "win"
+ # # The old VS build would explicitly copy the .dll into the
+ # # plugins subdirectory like this. It might be possible to
+ # # use the 'product_dir' setting to build directly into
+ # # plugins/ (as is done on Linux), but we'd need to verify
+ # # that nothing breaks first.
+ # 'copies': [
+ # {
+ # 'destination': '<(PRODUCT_DIR)/plugins',
+ # 'files': ['<(PRODUCT_DIR)/npapi_layout_test_plugin.dll'],
+ # },
+ # ],
+ 'variables': {
+ # This is not a relative pathname. Avoid pathname relativization
+ # by sticking it in a variable that isn't recognized as one
+ # containing pathnames, and by using the >(late) form of variable
+ # expansion.
+ 'winmm_lib': 'winmm.lib',
+ },
+ 'link_settings': {
+ 'libraries': [
+ '>(winmm_lib)',
+ ],
+ },
+ }],
+ ['OS=="mac"', {
+ 'product_name': 'TestNetscapePlugIn',
+ 'product_extension': 'plugin',
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
+ ],
+ },
+ }],
+ ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and (target_arch=="x64" or target_arch=="arm")', {
+ # Shared libraries need -fPIC on x86-64
+ 'cflags': ['-fPIC']
+ }],
+ ],
+ },
+ ],
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2:
« no previous file with comments | « webkit/support/webkit_support.gyp ('k') | webkit/tools/test_shell/test_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698