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

Side by Side Diff: webkit/tools/test_shell/test_shell.gyp

Issue 27214: Leverage the awesome power of export_dependent_settings (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../../../build/common.gypi', 10 '../../../build/common.gypi',
11 ], 11 ],
12 'targets': [ 12 'targets': [
13 { 13 {
14 'target_name': 'test_shell_common', 14 'target_name': 'test_shell_common',
15 'type': 'static_library', 15 'type': 'static_library',
16 'dependencies': [ 16 'dependencies': [
17 '../../../base/base.gyp:base', 17 '../../../base/base.gyp:base',
18 '../../../base/base.gyp:base_gfx', 18 '../../../base/base.gyp:base_gfx',
19 '../../../net/net.gyp:net',
20 '../../../skia/skia.gyp:skia',
19 '../../../testing/gtest.gyp:gtest', 21 '../../../testing/gtest.gyp:gtest',
20 '../../../skia/skia.gyp:skia',
21 '../../../third_party/npapi/npapi.gyp:npapi', 22 '../../../third_party/npapi/npapi.gyp:npapi',
22 '../../webkit.gyp:glue', 23 '../../webkit.gyp:glue',
24 '../../webkit.gyp:webkit',
23 ], 25 ],
24 'sources': [ 26 'sources': [
25 'mac/DumpRenderTreePasteboard.h', 27 'mac/DumpRenderTreePasteboard.h',
26 'mac/DumpRenderTreePasteboard.m', 28 'mac/DumpRenderTreePasteboard.m',
27 'mac/KeystoneGlue.h', 29 'mac/KeystoneGlue.h',
28 'mac/KeystoneGlue.m', 30 'mac/KeystoneGlue.m',
29 'mac/test_shell_webview.h', 31 'mac/test_shell_webview.h',
30 'mac/test_shell_webview.mm', 32 'mac/test_shell_webview.mm',
31 'mac/test_webview_delegate.mm', 33 'mac/test_webview_delegate.mm',
32 'mac/webview_host.mm', 34 'mac/webview_host.mm',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 'test_webview_delegate_win.cc', 66 'test_webview_delegate_win.cc',
65 'text_input_controller.cc', 67 'text_input_controller.cc',
66 'text_input_controller.h', 68 'text_input_controller.h',
67 'webview_host.h', 69 'webview_host.h',
68 'webview_host_gtk.cc', 70 'webview_host_gtk.cc',
69 'webview_host_win.cc', 71 'webview_host_win.cc',
70 'webwidget_host.h', 72 'webwidget_host.h',
71 'webwidget_host_gtk.cc', 73 'webwidget_host_gtk.cc',
72 'webwidget_host_win.cc', 74 'webwidget_host_win.cc',
73 ], 75 ],
76 'export_dependent_settings': [
77 '../../../base/base.gyp:base',
78 '../../../net/net.gyp:net',
79 '../../webkit.gyp:glue',
80 '../../webkit.gyp:webkit',
81 ],
74 'conditions': [ 82 'conditions': [
75 ['OS!="linux"', {'sources/': [['exclude', '_gtk\\.cc$']]}], 83 ['OS!="linux"', {'sources/': [['exclude', '_gtk\\.cc$']]}],
76 ['OS!="mac"', { 84 ['OS!="mac"', {
77 'sources/': [ 85 'sources/': [
78 ['exclude', 'mac/[^/]*\\.(cc|mm?)$'], 86 ['exclude', 'mac/[^/]*\\.(cc|mm?)$'],
79 ['exclude', '_mac\\.(cc|mm?)$'], 87 ['exclude', '_mac\\.(cc|mm?)$'],
80 ] 88 ]
81 }], 89 }],
82 ['OS=="win"', { 90 ['OS=="win"', {
83 'include_dirs': [ 91 'include_dirs': [
84 '../../../breakpad/src', 92 '../../../breakpad/src',
85 ], 93 ],
86 'msvs_disabled_warnings': [ 4800 ], 94 'msvs_disabled_warnings': [ 4800 ],
87 }, { # OS!=win 95 }, { # OS!=win
88 'sources/': [ 96 'sources/': [
89 ['exclude', '_win\\.cc$'] 97 ['exclude', '_win\\.cc$']
90 ], 98 ],
91 'sources!': [ 99 'sources!': [
92 'drag_delegate.cc', 100 'drag_delegate.cc',
93 'drop_delegate.cc', 101 'drop_delegate.cc',
94 ], 102 ],
95 }], 103 }],
96 ], 104 ],
97 }, 105 },
98 { 106 {
99 'target_name': 'test_shell', 107 'target_name': 'test_shell',
100 'type': 'application', 108 'type': 'application',
101 'dependencies': [ 109 'dependencies': [
102 'test_shell_common', 110 'test_shell_common',
103 '../../../base/base.gyp:base',
104 '../../../net/net.gyp:net',
105 '../../webkit.gyp:glue',
106 '../../webkit.gyp:webkit',
107 ], 111 ],
108 'sources': [ 112 'sources': [
109 'test_shell_main.cc', 113 'test_shell_main.cc',
110 ], 114 ],
111 'mac_bundle_resources': [ 115 'mac_bundle_resources': [
112 '../../data/test_shell/', 116 '../../data/test_shell/',
113 'mac/English.lproj/InfoPlist.strings', 117 'mac/English.lproj/InfoPlist.strings',
114 'mac/English.lproj/MainMenu.nib', 118 'mac/English.lproj/MainMenu.nib',
115 'mac/Info.plist', 119 'mac/Info.plist',
116 'mac/test_shell.icns', 120 'mac/test_shell.icns',
(...skipping 10 matching lines...) Expand all
127 }, 131 },
128 'conditions': [ 132 'conditions': [
129 ['OS=="mac"', {'product_name': 'TestShell'}], 133 ['OS=="mac"', {'product_name': 'TestShell'}],
130 ], 134 ],
131 }, 135 },
132 { 136 {
133 'target_name': 'test_shell_tests', 137 'target_name': 'test_shell_tests',
134 'type': 'executable', 138 'type': 'executable',
135 'dependencies': [ 139 'dependencies': [
136 'test_shell_common', 140 'test_shell_common',
137 '../../../base/base.gyp:base',
138 '../../../net/net.gyp:net',
139 '../../../skia/skia.gyp:skia', 141 '../../../skia/skia.gyp:skia',
140 '../../../testing/gtest.gyp:gtest', 142 '../../../testing/gtest.gyp:gtest',
141 '../../webkit.gyp:glue',
142 ], 143 ],
143 'sources': [ 144 'sources': [
144 '../../../skia/ext/convolver_unittest.cc', 145 '../../../skia/ext/convolver_unittest.cc',
145 '../../../skia/ext/platform_canvas_unittest.cc', 146 '../../../skia/ext/platform_canvas_unittest.cc',
146 '../../../skia/ext/vector_canvas_unittest.cc', 147 '../../../skia/ext/vector_canvas_unittest.cc',
147 '../../glue/bookmarklet_unittest.cc', 148 '../../glue/bookmarklet_unittest.cc',
148 '../../glue/context_menu_unittest.cc', 149 '../../glue/context_menu_unittest.cc',
149 '../../glue/cpp_bound_class_unittest.cc', 150 '../../glue/cpp_bound_class_unittest.cc',
150 '../../glue/cpp_variant_unittest.cc', 151 '../../glue/cpp_variant_unittest.cc',
151 '../../glue/dom_operations_unittest.cc', 152 '../../glue/dom_operations_unittest.cc',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 'sources!': [ 184 'sources!': [
184 '../../../skia/ext/vector_canvas_unittest.cc', 185 '../../../skia/ext/vector_canvas_unittest.cc',
185 '../webcore_unit_tests/UniscribeHelper_unittest.cpp', 186 '../webcore_unit_tests/UniscribeHelper_unittest.cpp',
186 'plugin_tests.cc' 187 'plugin_tests.cc'
187 ], 188 ],
188 }], 189 }],
189 ], 190 ],
190 }, 191 },
191 ], 192 ],
192 } 193 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698