Skip to content
Snippets Groups Projects
  1. Dec 30, 2008
  2. Dec 18, 2008
    • sgk@google.com's avatar
      Convert from using env['PLATFORM'] directly to using the more flexible · b96fc5dc
      sgk@google.com authored
      and better-thought-out Hammer env.Bits() idioms:
      * env['PLATFORM'] == 'win32' => env.Bit('windows')
      * env['PLATFORM'] == 'posix' => env.Bit('linux')
      * env['PLATFORM'] == 'darwin' => env.Bit('mac')
      New idioms:
      * env.Bit('posix') => really does mean "any POSIX platform"
      * env.AnyBits('mac', 'linux') => specifically mac or linux, excluding
        other POSIX platforms
      Where we were using compound conditionals (e.g., "env['PLATFORM'] in
      ('posix', 'darwin')") I tried to take my best shot at translating
      the intent (i.e., "env.Bits('posix')" for something POSIX, "not
      env.Bits('mac')" for something not yet ported to Mac, etc.)
      Review URL: http://codereview.chromium.org/15051
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7270 0039d316-1c4b-4281-b951-d872f2087c98
      b96fc5dc
  3. Dec 03, 2008
  4. Dec 02, 2008
    • sgk@google.com's avatar
      Fixes and enhancements · 527c739c
      sgk@google.com authored
      * Configurable CHROME_BUILD_TYPE command line or external environment
        variable for selecting appropriate release_impl*.scons settings
        (_checksenabled, _coverage, _dom_stats, _official, _purify).
      * Configurable CHROMIUM_BUILD command line or external environment
        variable for selecting appropriate chromium_build*.scons settings
        (_google_chrome).
      * Configurable /INCREMENTAL linking via command line or external
        environment variable ($INCREMENTAL), through appropriate setting
        of an internal $CHROMIUM_INCREMENTAL_FLAGS construction variable.
      * Full link of release builds by default.
      * Alphabetize *.scons files in the mac_env.FilterOut() list.
      * Explicitly set _checksenabled.scons link flags.
      Review URL: http://codereview.chromium.org/13039
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6210 0039d316-1c4b-4281-b951-d872f2087c98
      527c739c
  5. Nov 25, 2008
  6. Nov 22, 2008
    • sgk@google.com's avatar
      Purify support: · 15bba9a2
      sgk@google.com authored
      * Add third_party/purify/pure_api.c to the base\base_lib.scons sources.
      * Support specification of CHROME_BUILD_TYPE (and CHROMIUM_BUILD
        while we're here) either on the command line or as an
        external environment variable.
      * Fix syntax error in release_impl_purify.scons (previously unused).
      * Add a central $CHROMIUM_CC_OPT_FLAGS variable (included in $CCFLAGS)
        that can be used to set explicitly the optimization level without
        having to worry about optimization flags being pulled in from other
        settings files.
      Review URL: http://codereview.chromium.org/11368
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5887 0039d316-1c4b-4281-b951-d872f2087c98
      15bba9a2
  7. Nov 20, 2008
    • sgk@google.com's avatar
      Finish release (opt) builds on Windows, including the parallel · 5c6f1c6b
      sgk@google.com authored
      build\*.scons structure (mirroring build\*.vsprops files):
      * Use env.ApplySConscript() instead of env.SConscript with a
        hand-crafted dictionary defining 'env'.
      * Move various CPPPATH, CCFLAGS, CPPDEFINES, LIBS and LIBPATH
        definitions from build/SConscript.main and target-specific 
        *.scons files into the build\*.scons files that mirror the
        existing build\*.vsprops hierarchy.
      * Use the new build\{debug,release}.scons files to update the
        windows_dbg and windows_opt construction environments.
      * Mirror current support for CHROME_BUILD_TYPE and CHROMIUM_BUILD
        external environment variables.
      * Remove hard-coded /TP options.
      * Massage $CXXFLAGS to remove $CCFLAGS, avoiding duplication of options
        on command lines.  Handle the ripple effect in $PCHCOM by adding
        $CCFLAGS back to that command line.
      * Delete hammer's default settings of {CC,LINK}FLAGS_{DEBUG,OPTIMIZED}
        so they don't pollute our construction environments.
      * Update chrome config to link against v8 for opt, v8_g for dbg.
      * Get rid of fragile by-hand order of using_net.scons before other
        using_*.scons files.  We're now using --start-group and --end-group
        on Linux to deal with dependency cycles in libraries.
      Review URL: http://codereview.chromium.org/11478
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5741 0039d316-1c4b-4281-b951-d872f2087c98
      5c6f1c6b
Loading