Commit ddc26fae authored by benjamin@webkit.org's avatar benjamin@webkit.org

Remove the gyp files for Tools

https://bugs.webkit.org/show_bug.cgi?id=114248

Reviewed by Ryosuke Niwa.

* DumpRenderTree/DumpRenderTree.gyp: Removed.
* DumpRenderTree/DumpRenderTree.gyp/.gitignore: Removed.
* DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Removed.
* DumpRenderTree/DumpRenderTree.gypi: Removed.
* TestWebKitAPI/TestWebKitAPI.gyp: Removed.
* TestWebKitAPI/TestWebKitAPI.gyp/.gitignore: Removed.
* TestWebKitAPI/TestWebKitAPI.gyp/TestWebKitAPI.gyp: Removed.
* TestWebKitAPI/TestWebKitAPI.gypi: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 29089d62
2013-04-09 Benjamin Poulain <benjamin@webkit.org>
Remove the gyp files for Tools
https://bugs.webkit.org/show_bug.cgi?id=114248
Reviewed by Ryosuke Niwa.
* DumpRenderTree/DumpRenderTree.gyp: Removed.
* DumpRenderTree/DumpRenderTree.gyp/.gitignore: Removed.
* DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Removed.
* DumpRenderTree/DumpRenderTree.gypi: Removed.
* TestWebKitAPI/TestWebKitAPI.gyp: Removed.
* TestWebKitAPI/TestWebKitAPI.gyp/.gitignore: Removed.
* TestWebKitAPI/TestWebKitAPI.gyp/TestWebKitAPI.gyp: Removed.
* TestWebKitAPI/TestWebKitAPI.gypi: Removed.
2013-04-08 Ryosuke Niwa <rniwa@webkit.org>
WKR (new-commit-bot) is too slow
*.Makefile
*.mk
*.sln
*.vcproj*
*.vcxproj*
*.xcodeproj*
{
'variables': {
'drt_files': [
'DumpRenderTree.h',
'DumpRenderTreeCommon.cpp',
'chromium/DRTDevToolsAgent.cpp',
'chromium/DRTDevToolsAgent.h',
'chromium/DRTDevToolsClient.cpp',
'chromium/DRTDevToolsClient.h',
'chromium/DumpRenderTree.cpp',
'chromium/MockPlatform.cpp',
'chromium/MockPlatform.h',
'chromium/MockWebPrerenderingSupport.cpp',
'chromium/MockWebPrerenderingSupport.h',
'chromium/Task.h',
'chromium/Task.cpp',
'chromium/TestEventPrinter.h',
'chromium/TestEventPrinter.cpp',
'chromium/TestNavigationController.cpp',
'chromium/TestNavigationController.h',
'chromium/TestShell.cpp',
'chromium/TestShell.h',
'chromium/TestShellAndroid.cpp',
'chromium/TestShellMac.mm',
'chromium/TestShellPosix.cpp',
'chromium/TestShellStub.cpp',
'chromium/TestShellWin.cpp',
'chromium/TestShellX11.cpp',
'chromium/WebViewHost.cpp',
'chromium/WebViewHost.h',
],
'test_runner_files': [
'chromium/TestRunner/public/WebTestDelegate.h',
'chromium/TestRunner/public/WebPreferences.h',
'chromium/TestRunner/public/WebTask.h',
'chromium/TestRunner/public/WebTestCommon.h',
'chromium/TestRunner/public/WebTestInterfaces.h',
'chromium/TestRunner/public/WebTestProxy.h',
'chromium/TestRunner/public/WebTestRunner.h',
'chromium/TestRunner/src/AccessibilityControllerChromium.cpp',
'chromium/TestRunner/src/AccessibilityControllerChromium.h',
'chromium/TestRunner/src/AccessibilityUIElementChromium.cpp',
'chromium/TestRunner/src/AccessibilityUIElementChromium.h',
'chromium/TestRunner/src/CppBoundClass.cpp',
'chromium/TestRunner/src/CppBoundClass.h',
'chromium/TestRunner/src/CppVariant.cpp',
'chromium/TestRunner/src/CppVariant.h',
'chromium/TestRunner/src/EventSender.cpp',
'chromium/TestRunner/src/EventSender.h',
'chromium/TestRunner/src/GamepadController.cpp',
'chromium/TestRunner/src/GamepadController.h',
'chromium/TestRunner/src/KeyCodeMapping.cpp',
'chromium/TestRunner/src/KeyCodeMapping.h',
'chromium/TestRunner/src/MockConstraints.cpp',
'chromium/TestRunner/src/MockConstraints.h',
'chromium/TestRunner/src/MockGrammarCheck.cpp',
'chromium/TestRunner/src/MockGrammarCheck.h',
'chromium/TestRunner/src/MockSpellCheck.cpp',
'chromium/TestRunner/src/MockSpellCheck.h',
'chromium/TestRunner/src/MockWebMediaStreamCenter.cpp',
'chromium/TestRunner/src/MockWebMediaStreamCenter.h',
'chromium/TestRunner/src/MockWebRTCDataChannelHandler.cpp',
'chromium/TestRunner/src/MockWebRTCDataChannelHandler.h',
'chromium/TestRunner/src/MockWebRTCDTMFSenderHandler.cpp',
'chromium/TestRunner/src/MockWebRTCDTMFSenderHandler.h',
'chromium/TestRunner/src/MockWebRTCPeerConnectionHandler.cpp',
'chromium/TestRunner/src/MockWebRTCPeerConnectionHandler.h',
'chromium/TestRunner/src/MockWebSpeechInputController.cpp',
'chromium/TestRunner/src/MockWebSpeechInputController.h',
'chromium/TestRunner/src/MockWebSpeechRecognizer.cpp',
'chromium/TestRunner/src/MockWebSpeechRecognizer.h',
'chromium/TestRunner/src/NotificationPresenter.h',
'chromium/TestRunner/src/NotificationPresenter.cpp',
'chromium/TestRunner/src/SpellCheckClient.cpp',
'chromium/TestRunner/src/SpellCheckClient.h',
'chromium/TestRunner/src/TestCommon.cpp',
'chromium/TestRunner/src/TestCommon.h',
'chromium/TestRunner/src/TestInterfaces.cpp',
'chromium/TestRunner/src/TestInterfaces.h',
'chromium/TestRunner/src/TestPlugin.cpp',
'chromium/TestRunner/src/TestPlugin.h',
'chromium/TestRunner/src/TestRunner.cpp',
'chromium/TestRunner/src/TestRunner.h',
'chromium/TestRunner/src/TextInputController.cpp',
'chromium/TestRunner/src/TextInputController.h',
'chromium/TestRunner/src/WebPermissions.cpp',
'chromium/TestRunner/src/WebPermissions.h',
'chromium/TestRunner/src/WebPreferences.cpp',
'chromium/TestRunner/src/WebTask.cpp',
'chromium/TestRunner/src/WebTestInterfaces.cpp',
'chromium/TestRunner/src/WebTestProxy.cpp',
'chromium/TestRunner/src/WebTestThemeControlWin.cpp',
'chromium/TestRunner/src/WebTestThemeControlWin.h',
'chromium/TestRunner/src/WebTestThemeEngineMac.mm',
'chromium/TestRunner/src/WebTestThemeEngineMac.h',
'chromium/TestRunner/src/WebTestThemeEngineWin.cpp',
'chromium/TestRunner/src/WebTestThemeEngineWin.h',
'chromium/TestRunner/src/WebUserMediaClientMock.cpp',
'chromium/TestRunner/src/WebUserMediaClientMock.h',
],
'test_plugin_files': [
'TestNetscapePlugIn/PluginObject.cpp',
'TestNetscapePlugIn/PluginObject.h',
'TestNetscapePlugIn/PluginObjectMac.mm',
'TestNetscapePlugIn/PluginTest.cpp',
'TestNetscapePlugIn/PluginTest.h',
'TestNetscapePlugIn/TestObject.cpp',
'TestNetscapePlugIn/TestObject.h',
'TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp',
'TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp',
'TestNetscapePlugIn/Tests/FormValue.cpp',
'TestNetscapePlugIn/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp',
'TestNetscapePlugIn/Tests/GetURLWithJavaScriptURL.cpp',
'TestNetscapePlugIn/Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp',
'TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp',
'TestNetscapePlugIn/Tests/LogNPPSetWindow.cpp',
'TestNetscapePlugIn/Tests/NPPNewFails.cpp',
'TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp',
'TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp',
'TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp',
'TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp',
'TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp',
'TestNetscapePlugIn/Tests/PluginScriptableNPObjectInvokeDefault.cpp',
'TestNetscapePlugIn/Tests/PluginScriptableObjectOverridesAllProperties.cpp',
'TestNetscapePlugIn/Tests/PrivateBrowsing.cpp',
'TestNetscapePlugIn/main.cpp',
],
}
}
*.Makefile
*.mk
*.sln
*.vcproj*
*.vcxproj*
*.xcodeproj*
#
# Copyright (C) 2012 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
{
'variables': {
'tools_dir': '../..',
'source_dir': '../../../Source',
'conditions': [
# Location of the chromium src directory and target type is different
# if webkit is built inside chromium or as standalone project.
['inside_chromium_build==0', {
# Webkit is being built outside of the full chromium project.
# e.g. via build-webkit --chromium
'chromium_src_dir': '<(source_dir)/WebKit/chromium',
},{
# WebKit is checked out in src/chromium/third_party/WebKit
'chromium_src_dir': '<(tools_dir)/../../..',
}],
],
},
'includes': [
'../TestWebKitAPI.gypi',
'../../../Source/WebKit/chromium/features.gypi',
],
'targets': [
{
'target_name': 'TestWebKitAPI',
'type': 'executable',
'dependencies': [
'<(source_dir)/WebCore/WebCore.gyp/WebCore.gyp:webcore',
'<(source_dir)/WebKit/chromium/WebKit.gyp:webkit',
'<(source_dir)/WTF/WTF.gyp/WTF.gyp:wtf',
'<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl',
'<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
'<(chromium_src_dir)/base/base.gyp:test_support_base',
'<(chromium_src_dir)/testing/gtest.gyp:gtest',
'<(chromium_src_dir)/testing/gmock.gyp:gmock',
'<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
],
'include_dirs': [
'<(tools_dir)/TestWebKitAPI',
# Needed by tests/RunAllTests.cpp, as well as ChromiumCurrentTime.cpp and
# ChromiumThreading.cpp in chromium shared library configuration.
'<(source_dir)/WebKit/chromium/public',
'<(tools_dir)/TestWebKitAPI/ForwardingHeaders',
],
'sources': [
# Reuse the same testing driver of Chromium's webkit_unit_tests.
'<(source_dir)/WebKit/chromium/tests/RunAllTests.cpp',
'<@(TestWebKitAPI_files)',
],
'conditions': [
['component!="shared_library"', {
'sources': [
'../Tests/WebCore/HeapGraphSerializerTest.cpp'
],
}],
['inside_chromium_build==1 and component=="shared_library"', {
'sources': [
# To satisfy linking of WTF::currentTime() etc. in shared library configuration,
# as the symbols are not exported from the DLLs.
'<(source_dir)/WebKit/chromium/src/ChromiumCurrentTime.cpp',
'<(source_dir)/WebKit/chromium/src/ChromiumThreading.cpp',
],
}],
['OS=="android" and gtest_target_type == "shared_library"', {
'type': 'shared_library',
'dependencies': [
'<(chromium_src_dir)/testing/android/native_test.gyp:native_test_native_code',
],
}],
],
},
], # targets
'conditions': [
['OS=="android" and gtest_target_type == "shared_library"', {
# Wrap libTestWebKitAPI.so into an android apk for execution.
'targets': [{
'target_name': 'TestWebKitAPI_apk',
'type': 'none',
'dependencies': [
'<(chromium_src_dir)/base/base.gyp:base_java',
'TestWebKitAPI',
],
'variables': {
'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)TestWebKitAPI<(SHARED_LIB_SUFFIX)',
'conditions': [
['inside_chromium_build==1', {
'ant_build_to_chromium_src': '<(ant_build_out)/../../',
}, {
'ant_build_to_chromium_src': '<(chromium_src_dir)',
}],
],
},
# Part of the following was copied from <(chromium_src_dir)/build/apk_test.gpyi.
# Not including it because gyp include doesn't support variable in path or under
# conditions. And we also have some different requirements.
'actions': [{
'action_name': 'apk_TestWebKitAPI',
'message': 'Building TestWebKitAPI test apk.',
'inputs': [
'<(chromium_src_dir)/testing/android/AndroidManifest.xml',
'<(chromium_src_dir)/testing/android/generate_native_test.py',
'<(input_shlib_path)',
'>@(input_jars_paths)',
],
'outputs': [
'<(PRODUCT_DIR)/TestWebKitAPI_apk/TestWebKitAPI-debug.apk',
],
'action': [
'<(chromium_src_dir)/testing/android/generate_native_test.py',
'--native_library',
'<(input_shlib_path)',
'--output',
'<(PRODUCT_DIR)/TestWebKitAPI_apk',
'--strip-binary=<(android_strip)',
'--ant-args',
'-quiet',
'--ant-args',
'-DANDROID_SDK=<(android_sdk)',
'--ant-args',
'-DANDROID_SDK_ROOT=<(android_sdk_root)',
'--ant-args',
'-DANDROID_SDK_TOOLS=<(android_sdk_tools)',
'--ant-args',
'-DANDROID_SDK_VERSION=<(android_sdk_version)',
'--ant-args',
'-DANDROID_TOOLCHAIN=<(android_toolchain)',
'--ant-args',
'-DANDROID_GDBSERVER=<(android_gdbserver)',
'--ant-args',
'-DPRODUCT_DIR=<(ant_build_out)',
'--ant-args',
'-DCHROMIUM_SRC=<(ant_build_to_chromium_src)',
'--ant-args',
'-DINPUT_JARS_PATHS=>@(input_jars_paths)',
'--app_abi',
'<(android_app_abi)',
],
}],
}],
}],
],
}
#
# Copyright (C) 2011 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
{
'variables': {
'TestWebKitAPI_files': [
'Tests/WebCore/LayoutUnit.cpp',
'Tests/WTF/AtomicString.cpp',
'Tests/WTF/CheckedArithmeticOperations.cpp',
'Tests/WTF/CString.cpp',
'Tests/WTF/Functional.cpp',
'Tests/WTF/HashMap.cpp',
'Tests/WTF/HashSet.cpp',
'Tests/WTF/ListHashSet.cpp',
'Tests/WTF/MathExtras.cpp',
'Tests/WTF/MediaTime.cpp',
'Tests/WTF/MemoryInstrumentationTest.cpp',
'Tests/WTF/RedBlackTree.cpp',
'Tests/WTF/SaturatedArithmeticOperations.cpp',
'Tests/WTF/StringBuilder.cpp',
'Tests/WTF/StringHasher.cpp',
'Tests/WTF/StringImpl.cpp',
'Tests/WTF/StringOperators.cpp',
'Tests/WTF/TemporaryChange.cpp',
'Tests/WTF/Vector.cpp',
'Tests/WTF/VectorBasic.cpp',
'Tests/WTF/VectorReverse.cpp',
'Tests/WTF/WTFString.cpp',
],
},
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment