diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-18 17:03:57 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-18 17:03:57 +0000 |
commit | 8ea0f4dec5e5b2466bd7538af5c3908ebaa7a28c (patch) | |
tree | 27abc69f3be7261e50d6fe57746b60123d835568 | |
parent | 7f778fd6178dbcd1921d0d58839e30c919ac798f (diff) | |
download | chromium_src-8ea0f4dec5e5b2466bd7538af5c3908ebaa7a28c.zip chromium_src-8ea0f4dec5e5b2466bd7538af5c3908ebaa7a28c.tar.gz chromium_src-8ea0f4dec5e5b2466bd7538af5c3908ebaa7a28c.tar.bz2 |
Porting in browser/debugger/
Review URL: http://codereview.chromium.org/14841
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7218 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/debugger/debugger.scons | 17 | ||||
-rw-r--r-- | chrome/browser/debugger/debugger_io_socket.cc | 5 | ||||
-rw-r--r-- | chrome/chrome.scons | 1 |
3 files changed, 16 insertions, 7 deletions
diff --git a/chrome/browser/debugger/debugger.scons b/chrome/browser/debugger/debugger.scons index 57d5a3d..7dce9b4 100644 --- a/chrome/browser/debugger/debugger.scons +++ b/chrome/browser/debugger/debugger.scons @@ -36,5 +36,20 @@ input_files = [ 'debugger_wrapper.cc', ] -env.ChromeStaticLibrary('debugger', input_files) +if env['PLATFORM'] != 'win32': + # TODO(port): Port these. + remove_list = [ + 'debugger_contents.cc', + 'debugger_host_impl.cpp', + 'debugger_node.cc', + 'debugger_shell.cc', + 'debugger_view.cc', + 'debugger_window.cc', + ] + for file in remove_list: + input_files.remove(file) + +if env['PLATFORM'] in ('posix', 'win32'): + # TODO(port): Enable for Mac. + env.ChromeStaticLibrary('debugger', input_files) diff --git a/chrome/browser/debugger/debugger_io_socket.cc b/chrome/browser/debugger/debugger_io_socket.cc index 5280600..30c5ac1 100644 --- a/chrome/browser/debugger/debugger_io_socket.cc +++ b/chrome/browser/debugger/debugger_io_socket.cc @@ -6,13 +6,8 @@ #include "base/string_util.h" #include "base/thread.h" -#include "chrome/browser/browser.h" -#include "chrome/browser/browser_list.h" #include "chrome/browser/browser_process.h" -#include "chrome/browser/render_process_host.h" -#include "chrome/browser/tab_contents.h" #include "chrome/browser/debugger/debugger_shell.h" -#include "chrome/common/resource_bundle.h" #include "v8/include/v8.h" //////////////////////////////////////////////// diff --git a/chrome/chrome.scons b/chrome/chrome.scons index 78d63b8..f21de10 100644 --- a/chrome/chrome.scons +++ b/chrome/chrome.scons @@ -81,7 +81,6 @@ sconscript_files = env.ChromiumLoadComponentSConscripts( # TODO(port) if env['PLATFORM'] != 'win32': remove_files = [ - 'browser/debugger/debugger.scons', 'installer/mini_installer/installer_unittests.scons', 'installer/mini_installer/mini_installer.scons', 'installer/setup/setup.scons', |