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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 # Mac specific files | 268 # Mac specific files |
269 input_files.Remove( | 269 input_files.Remove( |
270 'chrome_paths_mac.cc', | 270 'chrome_paths_mac.cc', |
271 ) | 271 ) |
272 | 272 |
273 if not env.Bit('posix'): | 273 if not env.Bit('posix'): |
274 input_files.Remove( | 274 input_files.Remove( |
275 'ipc_channel_posix.cc', | 275 'ipc_channel_posix.cc', |
276 ) | 276 ) |
277 | 277 |
| 278 if env.Bit('windows'): |
| 279 input_files.Append( |
| 280 'transport_dib_win.cc' |
| 281 ) |
| 282 |
| 283 if env.Bit('linux'): |
| 284 input_files.Append( |
| 285 'transport_dib_linux.cc' |
| 286 ) |
| 287 |
| 288 if env.Bit('mac'): |
| 289 input_files.Append( |
| 290 'transport_dib_mac.cc' |
| 291 ) |
| 292 |
278 if not env.Bit('mac'): | 293 if not env.Bit('mac'): |
279 # TODO(port): This should be enabled for all platforms. | 294 # TODO(port): This should be enabled for all platforms. |
280 env.ChromeLibrary('common', input_files) | 295 env.ChromeLibrary('common', input_files) |
281 | 296 |
282 p = env.ChromeMSVSProject('common.vcproj', | 297 p = env.ChromeMSVSProject('common.vcproj', |
283 dest='$CHROME_SRC_DIR/chrome/common/common.vcproj', | 298 dest='$CHROME_SRC_DIR/chrome/common/common.vcproj', |
284 guid='{899F1280-3441-4D1F-BA04-CCD6208D9146}', | 299 guid='{899F1280-3441-4D1F-BA04-CCD6208D9146}', |
285 keyword='Win32Proj', | 300 keyword='Win32Proj', |
286 dependencies = [ | 301 dependencies = [ |
287 '$LIBXML_DIR/build/libxml_config.vcproj', | 302 '$LIBXML_DIR/build/libxml_config.vcproj', |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 './common.vsprops', | 339 './common.vsprops', |
325 '$(SolutionDir)../build/release.vsprops', | 340 '$(SolutionDir)../build/release.vsprops', |
326 ]) | 341 ]) |
327 | 342 |
328 p.AddFileConfig('../tools/build/win/precompiled.cc', | 343 p.AddFileConfig('../tools/build/win/precompiled.cc', |
329 'Debug|Win32', | 344 'Debug|Win32', |
330 tools=[ | 345 tools=[ |
331 MSVSTool('VCCLCompilerTool', | 346 MSVSTool('VCCLCompilerTool', |
332 UsePrecompiledHeader='1'), | 347 UsePrecompiledHeader='1'), |
333 ]) | 348 ]) |
OLD | NEW |