| 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 '$CHROME_DIR/third_party/hunspell/using_hunspell.scons', | 10 '$CHROME_DIR/third_party/hunspell/using_hunspell.scons', |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 env.Prepend( | 29 env.Prepend( |
| 30 CPPPATH = [ | 30 CPPPATH = [ |
| 31 '$CHROME_DIR/app/resources', | 31 '$CHROME_DIR/app/resources', |
| 32 '$CHROME_DIR/app', | 32 '$CHROME_DIR/app', |
| 33 '$CHROME_SRC_DIR', | 33 '$CHROME_SRC_DIR', |
| 34 # To get the #include of history_indexer.h, | 34 # To get the #include of history_indexer.h, |
| 35 # generated from history/history_indexer.idl. | 35 # generated from history/history_indexer.idl. |
| 36 'history', | 36 'history', |
| 37 ], | 37 ], |
| 38 CPPDEFINES = [ | |
| 39 'GOOGLE_CHROME_BUILD', | |
| 40 ], | |
| 41 ) | 38 ) |
| 42 | 39 |
| 43 if env['PLATFORM'] == 'win32': | 40 if env['PLATFORM'] == 'win32': |
| 44 env.Prepend( | 41 env.Prepend( |
| 45 CPPPATH = [ | 42 CPPPATH = [ |
| 46 '$CHROME_DIR/tools/build/win', | 43 '$CHROME_DIR/tools/build/win', |
| 47 ], | 44 ], |
| 48 ) | 45 ) |
| 49 | 46 |
| 50 input_files = [] | 47 input_files = [] |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 | 296 |
| 300 input_files.extend([ | 297 input_files.extend([ |
| 301 'web_contents_view_win.cc', | 298 'web_contents_view_win.cc', |
| 302 'render_widget_host_view_win.cc', | 299 'render_widget_host_view_win.cc', |
| 303 ]) | 300 ]) |
| 304 | 301 |
| 305 | 302 |
| 306 if env['PLATFORM'] in ('posix', 'win32'): | 303 if env['PLATFORM'] in ('posix', 'win32'): |
| 307 # TODO: This should work for all platforms. | 304 # TODO: This should work for all platforms. |
| 308 env.ChromeStaticLibrary('browser', input_files) | 305 env.ChromeStaticLibrary('browser', input_files) |
| OLD | NEW |