OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 Import('env') | 5 Import('env') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 | 8 |
9 env.SConscript([ | 9 env.SConscript([ |
10 '$BREAKPAD_DIR/using_breakpad.scons', | 10 '$BREAKPAD_DIR/using_breakpad.scons', |
(...skipping 18 matching lines...) Expand all Loading... |
29 'debugger_contents.cc', | 29 'debugger_contents.cc', |
30 'debugger_host_impl.cpp', | 30 'debugger_host_impl.cpp', |
31 'debugger_io_socket.cc', | 31 'debugger_io_socket.cc', |
32 'debugger_node.cc', | 32 'debugger_node.cc', |
33 'debugger_shell.cc', | 33 'debugger_shell.cc', |
34 'debugger_view.cc', | 34 'debugger_view.cc', |
35 'debugger_window.cc', | 35 'debugger_window.cc', |
36 'debugger_wrapper.cc', | 36 'debugger_wrapper.cc', |
37 ] | 37 ] |
38 | 38 |
39 if env['PLATFORM'] != 'win32': | 39 if env.Bit('linux'): |
40 # TODO(port): Port these. | 40 # TODO(port): Port these. |
41 remove_list = [ | 41 remove_list = [ |
42 'debugger_contents.cc', | 42 'debugger_contents.cc', |
43 'debugger_host_impl.cpp', | 43 'debugger_host_impl.cpp', |
44 'debugger_node.cc', | 44 'debugger_node.cc', |
45 'debugger_shell.cc', | 45 'debugger_shell.cc', |
46 'debugger_view.cc', | 46 'debugger_view.cc', |
47 'debugger_window.cc', | 47 'debugger_window.cc', |
48 ] | 48 ] |
49 for file in remove_list: | 49 for file in remove_list: |
50 input_files.remove(file) | 50 input_files.remove(file) |
51 | 51 |
52 if env['PLATFORM'] in ('posix', 'win32'): | 52 if env.Bit('mac'): |
| 53 # TODO(port): Port these. |
| 54 remove_list = [ |
| 55 'debugger_contents.cc', |
| 56 'debugger_host_impl.cpp', |
| 57 'debugger_node.cc', |
| 58 'debugger_shell.cc', |
| 59 'debugger_view.cc', |
| 60 'debugger_window.cc', |
| 61 ] |
| 62 for file in remove_list: |
| 63 input_files.remove(file) |
| 64 |
| 65 if not env.Bit('mac'): |
53 # TODO(port): Enable for Mac. | 66 # TODO(port): Enable for Mac. |
54 env.ChromeStaticLibrary('debugger', input_files) | 67 env.ChromeStaticLibrary('debugger', input_files) |
55 | 68 |
OLD | NEW |