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

Unified Diff: content/content_layout_tests.gypi

Issue 110533009: Import TestRunner library into chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years 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
Index: content/content_layout_tests.gypi
diff --git a/content/content_layout_tests.gypi b/content/content_layout_tests.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..ca486dd2a4cfd51286d86b33eb1d212b5248d99e
--- /dev/null
+++ b/content/content_layout_tests.gypi
@@ -0,0 +1,165 @@
+# Copyright 2013 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.
+
+{
+ 'variables': {
+ 'conditions': [
+ ['OS=="linux"', {
+ 'use_custom_freetype%': 1,
+ }, {
+ 'use_custom_freetype%': 0,
+ }],
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'test_runner',
+ 'type': '<(component)',
+ 'defines': [
+ 'WEBTESTRUNNER_IMPLEMENTATION=1',
+ ],
+ 'dependencies': [
+ '../third_party/WebKit/public/blink.gyp:blink',
+ '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_runner_resources',
+ '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_support',
+ ],
+ 'export_dependent_settings': [
+ '../third_party/WebKit/public/blink.gyp:blink',
+ ],
+ 'sources': [
+ 'public/test/layout_tests/WebFrameTestProxy.h',
+ 'public/test/layout_tests/WebPreferences.h',
+ 'public/test/layout_tests/WebScopedPtr.h',
+ 'public/test/layout_tests/WebTask.h',
+ 'public/test/layout_tests/WebTestCommon.h',
+ 'public/test/layout_tests/WebTestDelegate.h',
+ 'public/test/layout_tests/WebTestInterfaces.h',
+ 'public/test/layout_tests/WebTestProxy.h',
+ 'public/test/layout_tests/WebTestRunner.h',
+ 'test/layout_tests/runner/AccessibilityController.cpp',
+ 'test/layout_tests/runner/AccessibilityController.h',
+ 'test/layout_tests/runner/WebAXObjectProxy.cpp',
+ 'test/layout_tests/runner/WebAXObjectProxy.h',
+ 'test/layout_tests/runner/CppBoundClass.cpp',
+ 'test/layout_tests/runner/CppBoundClass.h',
+ 'test/layout_tests/runner/CppVariant.cpp',
+ 'test/layout_tests/runner/CppVariant.h',
+ 'test/layout_tests/runner/EventSender.cpp',
+ 'test/layout_tests/runner/EventSender.h',
+ 'test/layout_tests/runner/GamepadController.cpp',
+ 'test/layout_tests/runner/GamepadController.h',
+ 'test/layout_tests/runner/KeyCodeMapping.cpp',
+ 'test/layout_tests/runner/KeyCodeMapping.h',
+ 'test/layout_tests/runner/MockColorChooser.cpp',
+ 'test/layout_tests/runner/MockColorChooser.h',
+ 'test/layout_tests/runner/MockConstraints.cpp',
+ 'test/layout_tests/runner/MockConstraints.h',
+ 'test/layout_tests/runner/MockGrammarCheck.cpp',
+ 'test/layout_tests/runner/MockGrammarCheck.h',
+ 'test/layout_tests/runner/MockSpellCheck.cpp',
+ 'test/layout_tests/runner/MockSpellCheck.h',
+ 'test/layout_tests/runner/MockWebAudioDevice.cpp',
+ 'test/layout_tests/runner/MockWebAudioDevice.h',
+ 'test/layout_tests/runner/MockWebMediaStreamCenter.cpp',
+ 'test/layout_tests/runner/MockWebMediaStreamCenter.h',
+ 'test/layout_tests/runner/MockWebMIDIAccessor.cpp',
+ 'test/layout_tests/runner/MockWebMIDIAccessor.h',
+ 'test/layout_tests/runner/MockWebRTCDataChannelHandler.cpp',
+ 'test/layout_tests/runner/MockWebRTCDataChannelHandler.h',
+ 'test/layout_tests/runner/MockWebRTCDTMFSenderHandler.cpp',
+ 'test/layout_tests/runner/MockWebRTCDTMFSenderHandler.h',
+ 'test/layout_tests/runner/MockWebRTCPeerConnectionHandler.cpp',
+ 'test/layout_tests/runner/MockWebRTCPeerConnectionHandler.h',
+ 'test/layout_tests/runner/MockWebSpeechInputController.cpp',
+ 'test/layout_tests/runner/MockWebSpeechInputController.h',
+ 'test/layout_tests/runner/MockWebSpeechRecognizer.cpp',
+ 'test/layout_tests/runner/MockWebSpeechRecognizer.h',
+ 'test/layout_tests/runner/NotificationPresenter.h',
+ 'test/layout_tests/runner/NotificationPresenter.cpp',
+ 'test/layout_tests/runner/SpellCheckClient.cpp',
+ 'test/layout_tests/runner/SpellCheckClient.h',
+ 'test/layout_tests/runner/TestCommon.cpp',
+ 'test/layout_tests/runner/TestCommon.h',
+ 'test/layout_tests/runner/TestInterfaces.cpp',
+ 'test/layout_tests/runner/TestInterfaces.h',
+ 'test/layout_tests/runner/TestPlugin.cpp',
+ 'test/layout_tests/runner/TestPlugin.h',
+ 'test/layout_tests/runner/TestRunner.cpp',
+ 'test/layout_tests/runner/TestRunner.h',
+ 'test/layout_tests/runner/TextInputController.cpp',
+ 'test/layout_tests/runner/TextInputController.h',
+ 'test/layout_tests/runner/WebPermissions.cpp',
+ 'test/layout_tests/runner/WebPermissions.h',
+ 'test/layout_tests/runner/WebPreferences.cpp',
+ 'test/layout_tests/runner/WebTask.cpp',
+ 'test/layout_tests/runner/WebTestInterfaces.cpp',
+ 'test/layout_tests/runner/WebTestProxy.cpp',
+ 'test/layout_tests/runner/WebTestThemeControlWin.cpp',
+ 'test/layout_tests/runner/WebTestThemeControlWin.h',
+ 'test/layout_tests/runner/WebTestThemeEngineMac.mm',
+ 'test/layout_tests/runner/WebTestThemeEngineMac.h',
+ 'test/layout_tests/runner/WebTestThemeEngineMock.cpp',
+ 'test/layout_tests/runner/WebTestThemeEngineMock.h',
+ 'test/layout_tests/runner/WebTestThemeEngineWin.cpp',
+ 'test/layout_tests/runner/WebTestThemeEngineWin.h',
+ 'test/layout_tests/runner/WebUserMediaClientMock.cpp',
+ 'test/layout_tests/runner/WebUserMediaClientMock.h',
+ ],
+ 'conditions': [
+ ['component=="shared_library"', {
+ 'defines': [
+ 'WEBTESTRUNNER_DLL',
+ 'WEBTESTRUNNER_IMPLEMENTATION=1',
abarth-chromium 2013/12/19 17:42:07 This seems redundant with the same declaration abo
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../skia/skia.gyp:skia',
+ '../url/url.gyp:url_lib',
+ '../v8/tools/gyp/v8.gyp:v8',
+ ],
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'WEBTESTRUNNER_DLL',
+ ],
+ },
+ 'export_dependent_settings': [
+ '../url/url.gyp:url_lib',
+ '../v8/tools/gyp/v8.gyp:v8',
+ ],
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'conditions': [
+ ['incremental_chrome_dll==1', {
+ 'UseLibraryDependencyInputs': 'true',
+ }],
+ ],
+ },
+ },
+ }],
+ ['toolkit_uses_gtk == 1', {
+ 'dependencies': [
+ '../build/linux/system.gyp:gtk',
+ ],
+ }],
+ ['OS!="win"', {
+ 'sources/': [
+ ['exclude', 'Win\\.cpp$'],
+ ],
+ }],
+ ['OS=="mac"', {
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
+ '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework',
+ '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
+ '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
+ ],
+ },
+ }],
+ ],
+ # Disable c4267 warnings until we fix size_t to int truncations.
+ 'msvs_disabled_warnings': [ 4267, ],
+ },
+ ], # targets
+}

Powered by Google App Engine
This is Rietveld 408576698