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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/support/webkit_support.gyp ('k') | webkit/tools/test_shell/test_shell.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'targets': [
7 {
8 'target_name': 'npapi_layout_test_plugin',
9 'type': 'loadable_module',
10 'variables': {
11 'chromium_code': 1,
12 },
13 'mac_bundle': 1,
14 'msvs_guid': 'BE6D5659-A8D5-4890-A42C-090DD10EF62C',
15 'sources': [
16 'PluginObject.cpp',
17 'TestObject.cpp',
18 'main.cpp',
19 'npapi_layout_test_plugin.def',
20 'npapi_layout_test_plugin.rc',
21 ],
22 'include_dirs': [
23 '../../..',
24 ],
25 'dependencies': [
26 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
27 ],
28 'msvs_disabled_warnings': [ 4996 ],
29 'mac_bundle_resources': [
30 'Info.r',
31 ],
32 'xcode_settings': {
33 'INFOPLIST_FILE': '<(DEPTH)/webkit/tools/npapi_layout_test_plugin/Info.p list',
34 },
35 'conditions': [
36 ['inside_chromium_build==0', {
37 'dependencies': ['../../../../JavaScriptCore/JavaScriptCore.gyp/JavaSc riptCore.gyp:wtf'],
38 },{
39 'dependencies': ['<(DEPTH)/third_party/WebKit/JavaScriptCore/JavaScrip tCore.gyp/JavaScriptCore.gyp:wtf'],
40 }],
41 ['OS!="win"', {
42 'sources!': [
43 'npapi_layout_test_plugin.def',
44 'npapi_layout_test_plugin.rc',
45 ],
46 # TODO(bradnelson):
47 # This copy should really live here, as a post-build step,
48 # but it's currently being implemented via
49 # AdditionalDependencies, which tries to do the copy before
50 # the file is built...
51 #
52 }, { # OS == "win"
53 # # The old VS build would explicitly copy the .dll into the
54 # # plugins subdirectory like this. It might be possible to
55 # # use the 'product_dir' setting to build directly into
56 # # plugins/ (as is done on Linux), but we'd need to verify
57 # # that nothing breaks first.
58 # 'copies': [
59 # {
60 # 'destination': '<(PRODUCT_DIR)/plugins',
61 # 'files': ['<(PRODUCT_DIR)/npapi_layout_test_plugin.dll'],
62 # },
63 # ],
64 'variables': {
65 # This is not a relative pathname. Avoid pathname relativization
66 # by sticking it in a variable that isn't recognized as one
67 # containing pathnames, and by using the >(late) form of variable
68 # expansion.
69 'winmm_lib': 'winmm.lib',
70 },
71 'link_settings': {
72 'libraries': [
73 '>(winmm_lib)',
74 ],
75 },
76 }],
77 ['OS=="mac"', {
78 'product_name': 'TestNetscapePlugIn',
79 'product_extension': 'plugin',
80 'link_settings': {
81 'libraries': [
82 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
83 ],
84 },
85 }],
86 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and ( target_arch=="x64" or target_arch=="arm")', {
87 # Shared libraries need -fPIC on x86-64
88 'cflags': ['-fPIC']
89 }],
90 ],
91 },
92 ],
93 }
94
95 # Local Variables:
96 # tab-width:2
97 # indent-tabs-mode:nil
98 # End:
99 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« 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