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

Side by Side Diff: net/net_lib.scons

Issue 17602: Updates to Visual Studio project generation to accomodate... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 __doc__ = """ 5 __doc__ = """
6 Configuration for building net.lib / libnet.a. 6 Configuration for building net.lib / libnet.a.
7 """ 7 """
8 8
9 Import('env') 9 Import('env')
10 10
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 CPPDEFINES=['_LIB']) 334 CPPDEFINES=['_LIB'])
335 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') 335 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc')
336 env['PCH'] = pch 336 env['PCH'] = pch
337 env['PCHSTOP'] = 'precompiled_net.h' 337 env['PCHSTOP'] = 'precompiled_net.h'
338 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) 338 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h'])
339 input_files.Replace('build/precompiled_net.cc', obj) 339 input_files.Replace('build/precompiled_net.cc', obj)
340 340
341 lib = env.ChromeLibrary('net', input_files) 341 lib = env.ChromeLibrary('net', input_files)
342 342
343 p = env.ChromeMSVSProject('$NET_DIR/build/net.vcproj', 343 p = env.ChromeMSVSProject('$NET_DIR/build/net.vcproj',
344 dest='$CHROME_SRC_DIR/net/build/net.vcproj',
344 guid='{326E9795-E760-410A-B69A-3F79DB3F5243}', 345 guid='{326E9795-E760-410A-B69A-3F79DB3F5243}',
345 dependencies = [ 346 dependencies = [
346 '$NET_DIR/build/tld_cleanup.vcproj' 347 '$NET_DIR/build/net_resources.vcproj',
348 '$NET_DIR/build/tld_cleanup.vcproj',
347 ], 349 ],
348 # TODO: restore when we can derive all info, 350 # TODO: restore when we can derive all info,
349 # on all platforms, from the windows build targets. 351 # on all platforms, from the windows build targets.
350 #buildtargets=[lib[0]], 352 #buildtargets=[lib[0]],
351 files=input_files, 353 files=input_files,
352 ConfigurationType='4') 354 ConfigurationType='4')
353 355
354 p.AddToolFile('build/convert_tld_data.rules') 356 p.AddToolFile('build/convert_tld_data.rules')
355 357
356 p.AddConfig('Debug|Win32', 358 p.AddConfig('Debug|Win32',
357 InheritedPropertySheets=[ 359 InheritedPropertySheets=[
358 '$(SolutionDir)../build/common.vsprops',
359 '$(SolutionDir)../build/debug.vsprops', 360 '$(SolutionDir)../build/debug.vsprops',
360 '$(SolutionDir)../third_party/icu38/build/using_icu.vsprops', 361 './net.vsprops',
361 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops',
362 '$(SolutionDir)../sdch/using_sdch.vsprops',
363 '$(SolutionDir)../tools/grit/build/using_generated_resources.vsp rops',
364 ], 362 ],
365 tools=[ 363 tools=[
366 'VCPreBuildEventTool', 364 'VCPreBuildEventTool',
367 'VCCustomBuildTool', 365 'VCCustomBuildTool',
368 'Convert TLD Data File', 366 'Convert TLD Data File',
369 'VCXMLDataGeneratorTool', 367 'VCXMLDataGeneratorTool',
370 'VCWebServiceProxyGeneratorTool', 368 'VCWebServiceProxyGeneratorTool',
371 'VCMIDLTool', 369 'VCMIDLTool',
372 MSVSTool('VCCLCompilerTool', 370 MSVSTool('VCCLCompilerTool',
373 PrecompiledHeaderThrough='precompiled_net.h', 371 PrecompiledHeaderThrough='precompiled_net.h',
374 ForcedIncludeFiles='precompiled_net.h', 372 ForcedIncludeFiles='precompiled_net.h',
375 UsePrecompiledHeader='2'), 373 UsePrecompiledHeader='2'),
376 'VCManagedResourceCompilerTool', 374 'VCManagedResourceCompilerTool',
377 'VCResourceCompilerTool', 375 'VCResourceCompilerTool',
378 'VCPreLinkEventTool', 376 'VCPreLinkEventTool',
379 'VCLibrarianTool', 377 'VCLibrarianTool',
380 'VCALinkTool', 378 'VCALinkTool',
381 'VCXDCMakeTool', 379 'VCXDCMakeTool',
382 'VCBscMakeTool', 380 'VCBscMakeTool',
383 'VCFxCopTool', 381 'VCFxCopTool',
384 'VCPostBuildEventTool', 382 'VCPostBuildEventTool',
385 ]) 383 ])
386 384
387 p.AddConfig('Release|Win32', 385 p.AddConfig('Release|Win32',
388 InheritedPropertySheets=[ 386 InheritedPropertySheets=[
389 '$(SolutionDir)../build/common.vsprops',
390 '$(SolutionDir)../build/release.vsprops', 387 '$(SolutionDir)../build/release.vsprops',
391 '$(SolutionDir)../third_party/icu38/build/using_icu.vsprops', 388 './net.vsprops',
392 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops',
393 '$(SolutionDir)../sdch/using_sdch.vsprops',
394 '$(SolutionDir)../tools/grit/build/using_generated_resources.vsp rops',
395 ], 389 ],
396 tools=[ 390 tools=[
397 'VCPreBuildEventTool', 391 'VCPreBuildEventTool',
398 'VCCustomBuildTool', 392 'VCCustomBuildTool',
399 'Convert TLD Data File', 393 'Convert TLD Data File',
400 'VCXMLDataGeneratorTool', 394 'VCXMLDataGeneratorTool',
401 'VCWebServiceProxyGeneratorTool', 395 'VCWebServiceProxyGeneratorTool',
402 'VCMIDLTool', 396 'VCMIDLTool',
403 'VCCLCompilerTool', 397 'VCCLCompilerTool',
404 'VCManagedResourceCompilerTool', 398 'VCManagedResourceCompilerTool',
(...skipping 15 matching lines...) Expand all
420 UsePrecompiledHeader='1'), 414 UsePrecompiledHeader='1'),
421 ]) 415 ])
422 416
423 # TODO(sgk): remove when we can derive this information 417 # TODO(sgk): remove when we can derive this information
424 p.AddFileConfig('build/precompiled_net.cc', 418 p.AddFileConfig('build/precompiled_net.cc',
425 'Release|Win32', 419 'Release|Win32',
426 ExcludedFromBuild='true', 420 ExcludedFromBuild='true',
427 tools=[ 421 tools=[
428 'VCCLCompilerTool', 422 'VCCLCompilerTool',
429 ]) 423 ])
430
431 env.AlwaysBuild(p)
432
433 i = env.Command('$CHROME_SRC_DIR/net/build/net.vcproj', p,
434 Copy('$TARGET', '$SOURCE'))
435 Alias('msvs', i)
OLDNEW
« no previous file with comments | « net/dump_cache.scons ('k') | net/net_perftests.scons » ('j') | skia/SConscript » ('J')

Powered by Google App Engine
This is Rietveld 408576698