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

Side by Side Diff: site_scons/site_tools/target_platform_linux.py

Issue 8117: Pulling in latest software construction toolkit. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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
« no previous file with comments | « site_scons/site_tools/sdl.py ('k') | site_scons/site_tools/target_platform_mac.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python2.4 1 #!/usr/bin/python2.4
2 # Copyright 2008, Google Inc. 2 # Copyright 2008, Google Inc.
3 # All rights reserved. 3 # All rights reserved.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are 6 # modification, are permitted provided that the following conditions are
7 # met: 7 # met:
8 # 8 #
9 # * Redistributions of source code must retain the above copyright 9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer. 10 # notice, this list of conditions and the following disclaimer.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 # Declare bits 66 # Declare bits
67 DeclareBit('linux', 'Target platform is linux.', 67 DeclareBit('linux', 'Target platform is linux.',
68 exclusive_groups=('target_platform')) 68 exclusive_groups=('target_platform'))
69 DeclareBit('posix', 'Target platform is posix.') 69 DeclareBit('posix', 'Target platform is posix.')
70 env.SetBits('linux', 'posix') 70 env.SetBits('linux', 'posix')
71 71
72 env.Replace( 72 env.Replace(
73 TARGET_PLATFORM='LINUX', 73 TARGET_PLATFORM='LINUX',
74 COMPONENT_PLATFORM_SETUP=ComponentPlatformSetup, 74 COMPONENT_PLATFORM_SETUP=ComponentPlatformSetup,
75 CCFLAG_INCLUDE='-include', # Command line option to include a header
75 ) 76 )
76 77
77 env.Append( 78 env.Append(
78 HOST_PLATFORMS=['LINUX'], 79 HOST_PLATFORMS=['LINUX'],
79 CPPDEFINES=['OS_LINUX=OS_LINUX'], 80 CPPDEFINES=['OS_LINUX=OS_LINUX'],
80 81
81 # Settings for debug 82 # Settings for debug
82 CCFLAGS_DEBUG=[ 83 CCFLAGS_DEBUG=[
83 '-O0', # turn off optimizations 84 '-O0', # turn off optimizations
84 '-g', # turn on debugging info 85 '-g', # turn on debugging info
85 ], 86 ],
86 87
87 # Settings for optimized 88 # Settings for optimized
88 CCFLAGS_OPTIMIZED=['-O2'], 89 CCFLAGS_OPTIMIZED=['-O2'],
89 90
90 # Settings for component_builders 91 # Settings for component_builders
91 COMPONENT_LIBRARY_LINK_SUFFIXES=['.so', '.a'], 92 COMPONENT_LIBRARY_LINK_SUFFIXES=['.so', '.a'],
92 COMPONENT_LIBRARY_DEBUG_SUFFIXES=[], 93 COMPONENT_LIBRARY_DEBUG_SUFFIXES=[],
93 ) 94 )
OLDNEW
« no previous file with comments | « site_scons/site_tools/sdl.py ('k') | site_scons/site_tools/target_platform_mac.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698