summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/chrome.gyp147
1 files changed, 107 insertions, 40 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 2fc087f..87dc67c 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -12,6 +12,7 @@
'chromium_dependencies': [
'common',
'browser',
+ 'debugger',
'renderer',
'utility',
'../printing/printing.gyp:printing',
@@ -732,41 +733,6 @@
'browser/command_updater.h',
'browser/cross_site_request_manager.cc',
'browser/cross_site_request_manager.h',
- 'browser/debugger/debugger_host.h',
- 'browser/debugger/debugger_host_impl.cpp',
- 'browser/debugger/debugger_host_impl.h',
- 'browser/debugger/debugger_io.h',
- 'browser/debugger/debugger_io_socket.cc',
- 'browser/debugger/debugger_io_socket.h',
- 'browser/debugger/debugger_node.cc',
- 'browser/debugger/debugger_node.h',
- 'browser/debugger/debugger_remote_service.cc',
- 'browser/debugger/debugger_remote_service.h',
- 'browser/debugger/debugger_shell.cc',
- 'browser/debugger/debugger_shell.h',
- 'browser/debugger/debugger_shell_stubs.cc',
- 'browser/debugger/debugger_view.cc',
- 'browser/debugger/debugger_view.h',
- 'browser/debugger/debugger_window.cc',
- 'browser/debugger/debugger_window.h',
- 'browser/debugger/debugger_wrapper.cc',
- 'browser/debugger/debugger_wrapper.h',
- 'browser/debugger/devtools_client_host.h',
- 'browser/debugger/devtools_manager.cc',
- 'browser/debugger/devtools_manager.h',
- 'browser/debugger/devtools_protocol_handler.cc',
- 'browser/debugger/devtools_protocol_handler.h',
- 'browser/debugger/devtools_remote.h',
- 'browser/debugger/devtools_remote_listen_socket.cc',
- 'browser/debugger/devtools_remote_listen_socket.h',
- 'browser/debugger/devtools_remote_message.cc',
- 'browser/debugger/devtools_remote_message.h',
- 'browser/debugger/devtools_remote_service.cc',
- 'browser/debugger/devtools_remote_service.h',
- 'browser/debugger/devtools_window.cc',
- 'browser/debugger/devtools_window.h',
- 'browser/debugger/inspectable_tab_proxy.cc',
- 'browser/debugger/inspectable_tab_proxy.h',
'browser/dock_info_gtk.cc',
'browser/dock_info_win.cc',
'browser/dock_info.cc',
@@ -1590,7 +1556,6 @@
'../build/linux/system.gyp:gtk',
],
'sources!': [
- 'browser/debugger/debugger_shell_stubs.cc',
'browser/extensions/extension_shelf.cc',
'browser/extensions/extension_shelf.h',
'browser/extensions/extension_view.cc',
@@ -1638,7 +1603,6 @@
'browser/automation/automation_provider_list_generic.cc',
'browser/bookmarks/bookmark_context_menu.cc',
'browser/bookmarks/bookmark_drop_info.cc',
- 'browser/debugger/debugger_shell_stubs.cc',
'browser/extensions/extension_shelf.cc',
'browser/extensions/extension_shelf.h',
'browser/extensions/extension_view.cc',
@@ -1689,7 +1653,6 @@
'browser/history/history_indexer.idl',
],
'sources!': [
- 'browser/debugger/debugger_shell_stubs.cc',
'browser/history/history_publisher_none.cc',
],
'configurations': {
@@ -1826,8 +1789,6 @@
'browser/bookmarks/bookmark_menu_controller.h',
'browser/browser_accessibility.cc',
'browser/browser_accessibility_manager.cc',
- 'browser/debugger/debugger_view.cc',
- 'browser/debugger/debugger_window.cc',
'browser/extensions/extension_shelf.cc',
'browser/dock_info.cc',
'browser/dom_ui/html_dialog_contents.cc',
@@ -1852,6 +1813,75 @@
],
},
{
+ 'target_name': 'debugger',
+ 'type': '<(library)',
+ 'dependencies': [
+ 'chrome_resources',
+ 'theme_resources',
+ '../skia/skia.gyp:skia',
+ '../third_party/icu38/icu38.gyp:icui18n',
+ '../third_party/icu38/icu38.gyp:icuuc',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'browser/debugger/resources/debugger.css',
+ 'browser/debugger/resources/debugger.html',
+ 'browser/debugger/resources/debugger.js',
+ 'browser/debugger/resources/debugger_shell.js',
+ 'browser/debugger/debugger_host.h',
+ 'browser/debugger/debugger_host_impl.cpp',
+ 'browser/debugger/debugger_host_impl.h',
+ 'browser/debugger/debugger_io.h',
+ 'browser/debugger/debugger_io_socket.cc',
+ 'browser/debugger/debugger_io_socket.h',
+ 'browser/debugger/debugger_node.cc',
+ 'browser/debugger/debugger_node.h',
+ 'browser/debugger/debugger_remote_service.cc',
+ 'browser/debugger/debugger_remote_service.h',
+ 'browser/debugger/debugger_shell.cc',
+ 'browser/debugger/debugger_shell.h',
+ # Currently unused, resurrect when porting to new platforms.
+ #'browser/debugger/debugger_shell_stubs.cc',
+ 'browser/debugger/debugger_view.cc',
+ 'browser/debugger/debugger_view.h',
+ 'browser/debugger/debugger_window.cc',
+ 'browser/debugger/debugger_window.h',
+ 'browser/debugger/debugger_wrapper.cc',
+ 'browser/debugger/debugger_wrapper.h',
+ 'browser/debugger/devtools_client_host.h',
+ 'browser/debugger/devtools_manager.cc',
+ 'browser/debugger/devtools_manager.h',
+ 'browser/debugger/devtools_protocol_handler.cc',
+ 'browser/debugger/devtools_protocol_handler.h',
+ 'browser/debugger/devtools_remote.h',
+ 'browser/debugger/devtools_remote_listen_socket.cc',
+ 'browser/debugger/devtools_remote_listen_socket.h',
+ 'browser/debugger/devtools_remote_message.cc',
+ 'browser/debugger/devtools_remote_message.h',
+ 'browser/debugger/devtools_remote_service.cc',
+ 'browser/debugger/devtools_remote_service.h',
+ 'browser/debugger/devtools_window.cc',
+ 'browser/debugger/devtools_window.h',
+ 'browser/debugger/inspectable_tab_proxy.cc',
+ 'browser/debugger/inspectable_tab_proxy.h',
+ ],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'dependencies': [
+ '../build/linux/system.gyp:gtk',
+ ],
+ }],
+ ['OS!="win"', {
+ 'sources!': [
+ 'browser/debugger/debugger_view.cc',
+ 'browser/debugger/debugger_window.cc',
+ ],
+ }],
+ ],
+ },
+ {
'target_name': 'plugin',
'type': '<(library)',
'dependencies': [
@@ -2942,6 +2972,7 @@
'app',
'browser',
'common',
+ 'debugger',
'renderer',
'utility',
'chrome_resources',
@@ -3461,6 +3492,7 @@
'dependencies': [
'browser',
'common',
+ 'debugger',
'renderer',
'chrome_resources',
'chrome_strings',
@@ -3518,8 +3550,10 @@
'../media/media.gyp:*',
'../net/net.gyp:*',
'../printing/printing.gyp:*',
+ '../rlz/rlz.gyp:*',
'../sdch/sdch.gyp:*',
'../skia/skia.gyp:*',
+ '../testing/gmock.gyp:*',
'../testing/gtest.gyp:*',
'../third_party/bsdiff/bsdiff.gyp:*',
'../third_party/bspatch/bspatch.gyp:*',
@@ -3716,6 +3750,36 @@
},
},
{
+ 'target_name': 'automation',
+ 'type': '<(library)',
+ 'dependencies': [
+ 'theme_resources',
+ '../skia/skia.gyp:skia',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'test/automation/autocomplete_edit_proxy.cc',
+ 'test/automation/autocomplete_edit_proxy.h',
+ 'test/automation/automation_constants.h',
+ 'test/automation/automation_handle_tracker.cc',
+ 'test/automation/automation_handle_tracker.h',
+ 'test/automation/automation_messages.h',
+ 'test/automation/automation_messages_internal.h',
+ 'test/automation/automation_proxy.cc',
+ 'test/automation/automation_proxy.h',
+ 'test/automation/browser_proxy.cc',
+ 'test/automation/browser_proxy.h',
+ 'test/automation/constrained_window_proxy.cc',
+ 'test/automation/constrained_window_proxy.h',
+ 'test/automation/tab_proxy.cc',
+ 'test/automation/tab_proxy.h',
+ 'test/automation/window_proxy.cc',
+ 'test/automation/window_proxy.h',
+ ],
+ },
+ {
'target_name': 'browser_tests',
'type': 'executable',
'dependencies': [
@@ -3735,6 +3799,7 @@
'dependencies': [
'browser',
'chrome_resources',
+ 'debugger',
'renderer',
'installer/installer.gyp:installer_util_strings',
'../base/base.gyp:base',
@@ -3850,6 +3915,7 @@
'type': 'executable',
'dependencies': [
'browser',
+ 'debugger',
'renderer',
'../base/base.gyp:base',
'../skia/skia.gyp:skia',
@@ -3868,6 +3934,7 @@
'dependencies': [
'chrome_resources',
'chrome_strings',
+ 'debugger',
'test_support_common',
'test_support_ui',
'third_party/hunspell/hunspell.gyp:hunspell',