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

Unified Diff: chrome/browser/debugger/debugger.scons

Issue 15051: Convert from using env['PLATFORM'] directly to using the more flexible... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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
« no previous file with comments | « chrome/browser/browser.scons ('k') | chrome/browser/views/SConscript » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/debugger/debugger.scons
===================================================================
--- chrome/browser/debugger/debugger.scons (revision 7247)
+++ chrome/browser/debugger/debugger.scons (working copy)
@@ -36,7 +36,7 @@
'debugger_wrapper.cc',
]
-if env['PLATFORM'] != 'win32':
+if env.Bit('linux'):
# TODO(port): Port these.
remove_list = [
'debugger_contents.cc',
@@ -49,7 +49,20 @@
for file in remove_list:
input_files.remove(file)
-if env['PLATFORM'] in ('posix', 'win32'):
+if env.Bit('mac'):
+ # 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 not env.Bit('mac'):
# TODO(port): Enable for Mac.
env.ChromeStaticLibrary('debugger', input_files)
« no previous file with comments | « chrome/browser/browser.scons ('k') | chrome/browser/views/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698