OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2013 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 'variables': { | |
7 'conditions': [ | |
8 ['OS=="linux"', { | |
9 'use_custom_freetype%': 1, | |
10 }, { | |
11 'use_custom_freetype%': 0, | |
12 }], | |
13 ], | |
14 }, | |
15 'targets': [ | |
16 { | |
17 'target_name': 'test_runner', | |
18 'type': '<(component)', | |
19 'defines': [ | |
20 'WEBTESTRUNNER_IMPLEMENTATION=1', | |
21 ], | |
22 'dependencies': [ | |
23 '../third_party/WebKit/public/blink.gyp:blink', | |
24 '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_runner_re sources', | |
25 '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_support', | |
26 ], | |
27 'export_dependent_settings': [ | |
28 '../third_party/WebKit/public/blink.gyp:blink', | |
29 ], | |
30 'sources': [ | |
31 'public/test/layout_tests/WebFrameTestProxy.h', | |
32 'public/test/layout_tests/WebPreferences.h', | |
33 'public/test/layout_tests/WebScopedPtr.h', | |
34 'public/test/layout_tests/WebTask.h', | |
35 'public/test/layout_tests/WebTestCommon.h', | |
36 'public/test/layout_tests/WebTestDelegate.h', | |
37 'public/test/layout_tests/WebTestInterfaces.h', | |
38 'public/test/layout_tests/WebTestProxy.h', | |
39 'public/test/layout_tests/WebTestRunner.h', | |
40 'test/layout_tests/runner/AccessibilityController.cpp', | |
41 'test/layout_tests/runner/AccessibilityController.h', | |
42 'test/layout_tests/runner/WebAXObjectProxy.cpp', | |
43 'test/layout_tests/runner/WebAXObjectProxy.h', | |
44 'test/layout_tests/runner/CppBoundClass.cpp', | |
45 'test/layout_tests/runner/CppBoundClass.h', | |
46 'test/layout_tests/runner/CppVariant.cpp', | |
47 'test/layout_tests/runner/CppVariant.h', | |
48 'test/layout_tests/runner/EventSender.cpp', | |
49 'test/layout_tests/runner/EventSender.h', | |
50 'test/layout_tests/runner/GamepadController.cpp', | |
51 'test/layout_tests/runner/GamepadController.h', | |
52 'test/layout_tests/runner/KeyCodeMapping.cpp', | |
53 'test/layout_tests/runner/KeyCodeMapping.h', | |
54 'test/layout_tests/runner/MockColorChooser.cpp', | |
55 'test/layout_tests/runner/MockColorChooser.h', | |
56 'test/layout_tests/runner/MockConstraints.cpp', | |
57 'test/layout_tests/runner/MockConstraints.h', | |
58 'test/layout_tests/runner/MockGrammarCheck.cpp', | |
59 'test/layout_tests/runner/MockGrammarCheck.h', | |
60 'test/layout_tests/runner/MockSpellCheck.cpp', | |
61 'test/layout_tests/runner/MockSpellCheck.h', | |
62 'test/layout_tests/runner/MockWebAudioDevice.cpp', | |
63 'test/layout_tests/runner/MockWebAudioDevice.h', | |
64 'test/layout_tests/runner/MockWebMediaStreamCenter.cpp', | |
65 'test/layout_tests/runner/MockWebMediaStreamCenter.h', | |
66 'test/layout_tests/runner/MockWebMIDIAccessor.cpp', | |
67 'test/layout_tests/runner/MockWebMIDIAccessor.h', | |
68 'test/layout_tests/runner/MockWebRTCDataChannelHandler.cpp', | |
69 'test/layout_tests/runner/MockWebRTCDataChannelHandler.h', | |
70 'test/layout_tests/runner/MockWebRTCDTMFSenderHandler.cpp', | |
71 'test/layout_tests/runner/MockWebRTCDTMFSenderHandler.h', | |
72 'test/layout_tests/runner/MockWebRTCPeerConnectionHandler.cpp', | |
73 'test/layout_tests/runner/MockWebRTCPeerConnectionHandler.h', | |
74 'test/layout_tests/runner/MockWebSpeechInputController.cpp', | |
75 'test/layout_tests/runner/MockWebSpeechInputController.h', | |
76 'test/layout_tests/runner/MockWebSpeechRecognizer.cpp', | |
77 'test/layout_tests/runner/MockWebSpeechRecognizer.h', | |
78 'test/layout_tests/runner/NotificationPresenter.h', | |
79 'test/layout_tests/runner/NotificationPresenter.cpp', | |
80 'test/layout_tests/runner/SpellCheckClient.cpp', | |
81 'test/layout_tests/runner/SpellCheckClient.h', | |
82 'test/layout_tests/runner/TestCommon.cpp', | |
83 'test/layout_tests/runner/TestCommon.h', | |
84 'test/layout_tests/runner/TestInterfaces.cpp', | |
85 'test/layout_tests/runner/TestInterfaces.h', | |
86 'test/layout_tests/runner/TestPlugin.cpp', | |
87 'test/layout_tests/runner/TestPlugin.h', | |
88 'test/layout_tests/runner/TestRunner.cpp', | |
89 'test/layout_tests/runner/TestRunner.h', | |
90 'test/layout_tests/runner/TextInputController.cpp', | |
91 'test/layout_tests/runner/TextInputController.h', | |
92 'test/layout_tests/runner/WebPermissions.cpp', | |
93 'test/layout_tests/runner/WebPermissions.h', | |
94 'test/layout_tests/runner/WebPreferences.cpp', | |
95 'test/layout_tests/runner/WebTask.cpp', | |
96 'test/layout_tests/runner/WebTestInterfaces.cpp', | |
97 'test/layout_tests/runner/WebTestProxy.cpp', | |
98 'test/layout_tests/runner/WebTestThemeControlWin.cpp', | |
99 'test/layout_tests/runner/WebTestThemeControlWin.h', | |
100 'test/layout_tests/runner/WebTestThemeEngineMac.mm', | |
101 'test/layout_tests/runner/WebTestThemeEngineMac.h', | |
102 'test/layout_tests/runner/WebTestThemeEngineMock.cpp', | |
103 'test/layout_tests/runner/WebTestThemeEngineMock.h', | |
104 'test/layout_tests/runner/WebTestThemeEngineWin.cpp', | |
105 'test/layout_tests/runner/WebTestThemeEngineWin.h', | |
106 'test/layout_tests/runner/WebUserMediaClientMock.cpp', | |
107 'test/layout_tests/runner/WebUserMediaClientMock.h', | |
108 ], | |
109 'conditions': [ | |
110 ['component=="shared_library"', { | |
111 'defines': [ | |
112 'WEBTESTRUNNER_DLL', | |
113 'WEBTESTRUNNER_IMPLEMENTATION=1', | |
abarth-chromium
2013/12/19 17:42:07
This seems redundant with the same declaration abo
| |
114 ], | |
115 'dependencies': [ | |
116 '../base/base.gyp:base', | |
117 '../skia/skia.gyp:skia', | |
118 '../url/url.gyp:url_lib', | |
119 '../v8/tools/gyp/v8.gyp:v8', | |
120 ], | |
121 'direct_dependent_settings': { | |
122 'defines': [ | |
123 'WEBTESTRUNNER_DLL', | |
124 ], | |
125 }, | |
126 'export_dependent_settings': [ | |
127 '../url/url.gyp:url_lib', | |
128 '../v8/tools/gyp/v8.gyp:v8', | |
129 ], | |
130 'msvs_settings': { | |
131 'VCLinkerTool': { | |
132 'conditions': [ | |
133 ['incremental_chrome_dll==1', { | |
134 'UseLibraryDependencyInputs': 'true', | |
135 }], | |
136 ], | |
137 }, | |
138 }, | |
139 }], | |
140 ['toolkit_uses_gtk == 1', { | |
141 'dependencies': [ | |
142 '../build/linux/system.gyp:gtk', | |
143 ], | |
144 }], | |
145 ['OS!="win"', { | |
146 'sources/': [ | |
147 ['exclude', 'Win\\.cpp$'], | |
148 ], | |
149 }], | |
150 ['OS=="mac"', { | |
151 'link_settings': { | |
152 'libraries': [ | |
153 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | |
154 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework', | |
155 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | |
156 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | |
157 ], | |
158 }, | |
159 }], | |
160 ], | |
161 # Disable c4267 warnings until we fix size_t to int truncations. | |
162 'msvs_disabled_warnings': [ 4267, ], | |
163 }, | |
164 ], # targets | |
165 } | |
OLD | NEW |