summaryrefslogtreecommitdiffstats
path: root/build/compiler_version.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed CXX_target for Androidmichaelbai@chromium.org2012-10-181-35/+14
| | | | | | | | | | | | | Don't rely on compiler_version.py, we pass in the gcc_version for Android Also revert the previous compiler_version.py change. BUG=143889 Review URL: https://chromiumcodereview.appspot.com/11185059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162808 0039d316-1c4b-4281-b951-d872f2087c98
* Also detect the CXX_target enviroment vairiable for compiler versionmichaelbai@chromium.org2012-08-071-14/+35
| | | | | | | | | | | | | | The ninja's cross compile mode still uses CXX_target as the target compiler which needs to be detected before the host one. This CL might be reverted once the ninja use CXX as target compiler. BUG= Review URL: https://chromiumcodereview.appspot.com/10837005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150300 0039d316-1c4b-4281-b951-d872f2087c98
* compiler_version: suppress stderr unless command failscwolfe@chromium.org2012-05-071-3/+9
| | | | | | | | | | | | | | | | | | | | gyp considers a shell variable substitution to have failed if it generates any output to stderr, even if the exit status was zero. This causes problems when gomacc automatically starts its proxy, which helpfully reports "GOMA: Starting compiler proxy" to stderr. Fixed by dropping stderr unless the underlying process returns a non-zero exit status. BUG=chromium-os:28670 TEST=Ran hooks normally and inside CrOS chroot, with and without $CXX pointing to goma. A $CXX which writes to stderr and then exits with failure still prints its output before the exception. Review URL: http://codereview.chromium.org/10288005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135663 0039d316-1c4b-4281-b951-d872f2087c98
* Fix python scripts in src/build/maruel@chromium.org2011-11-231-3/+2
| | | | | | | | | | | | | | | | | | Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. TBR=michaelbai@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8667008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111385 0039d316-1c4b-4281-b951-d872f2087c98
* linux: compiler_version.py tweak to work on gcc 4.4evan@chromium.org2009-11-031-1/+1
| | | | | | | | The regex didn't work for GCC = 4.4. Review URL: http://codereview.chromium.org/341085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30847 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Autodetect and change build flags when using gcc 4.4.craig.schlenter@chromium.org2009-11-031-0/+50
This runs g++ -dumpversion (or $CXX) to establish the compiler version and set the gyp gcc_version variable automatically. BUG=25209 Review URL: http://codereview.chromium.org/339046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30824 0039d316-1c4b-4281-b951-d872f2087c98