Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
cwgreene ec1cae5756 Expose CC.host_wrapper and CXX.host_wrapper.
Currently, the gyp variables CC_wrapper and CXX_wrapper can be set in
the chromium.gyp_env file. However, the host compiler wrapper variable
cannot. By exposing this variable, embedders can more easily
use tools like ccache or icecream when developing for android.

BUG=471340

Review URL: https://codereview.chromium.org/1044423005

Cr-Original-Commit-Position: refs/heads/master@{#323557}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 73e65d4adbbc1cc83f7e59b2dfe60107c2dd186e
2015-04-02 20:42:43 +00:00
scheib a4857a808f Clarify warning for GYP variable merging.
https://codereview.chromium.org/931643002 changed variable merging
behavior for environment variables and chromium.gyp_env. The new
behavior replaces variables, with the exception of GYP_DEFINES
which is instead concatenated.

This change clarifies the state of the variables to the developer
by printing values, and more accurately describes the override
behavior as 'merges with, and individual components override,'.

Review URL: https://codereview.chromium.org/993143002

Cr-Original-Commit-Position: refs/heads/master@{#320609}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eedc9ac929470feba9b8b4899c1aad14cbb5b97b
2015-03-14 00:14:52 +00:00
dongseong.hwang 36bdd3a5cb gyp: chromium.gyp_env behaves like .gyp/include.gypi
Environment values overwrite values in chromium.gyp_env, while values in
.gyp/include.gypi are merged to environment values. The difference is
confusing.

Moreover, .gyp/include.gypi behavior is more convenient because some developers
build multiple targets (e.g. chromium, chromeos, android chrome) so they cannot
use chromium.gyp_env.

Review URL: https://codereview.chromium.org/931643002

Cr-Original-Commit-Position: refs/heads/master@{#319232}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ce4b0d178d5ecc3b085011cd0abe146c3ba6d85b
2015-03-05 07:08:49 +00:00
justsomeguy 8d3144c23a Add GYP_INCLUDE_FIRST/LAST to chromium.gyp_env
This allows us to override the settings in common.gypi, as
well as other include files.  Only accepts one string, not an
array.  Limitation of gyp_helper.

BUG=

Review URL: https://codereview.chromium.org/705663002

Cr-Original-Commit-Position: refs/heads/master@{#302841}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cec083d3e7038a5b26e5fdc2e514d404890805cb
2014-11-05 18:57:32 +00:00
jam@chromium.org 13dc41317f Fix chromium.gyp_env to see GYP_MSVS_VERSION.
Fix from scottmg.

R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/136663004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244585 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-13 21:29:34 +00:00
justincohen@google.com 07dfd0c732 Support GYP_CROSSCOMPILE variable in gyp_helper.
Support setting GYP_CROSSCOMPILE from gyp_env files.

BUG=None

Review URL: https://chromiumcodereview.appspot.com/14652028

git-svn-id: http://src.chromium.org/svn/trunk/src/build@198797 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-07 21:05:39 +00:00
scottmg@chromium.org 1045dc07cb support CC/CXX_wrapper in chromium.gyp_env
See https://codereview.chromium.org/13950005/ for where it's required.

R=thakis@chromium.org
BUG=232421

Review URL: https://codereview.chromium.org/14093007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@194679 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-17 21:15:27 +00:00
iannucci@chromium.org 253839756a Use universal newlines in gyp_helper.
This avoids a stack trace for developers who have dos line endings in their
chromium.gyp_env files.


BUG=


Review URL: https://chromiumcodereview.appspot.com/11293286

git-svn-id: http://src.chromium.org/svn/trunk/src/build@167817 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-15 01:51:54 +00:00
iannucci@chromium.org 693c711ddb Selective build clobbering feature (landmines.py and android build scripts).
Adds the ability for devs/troopers/etc. to set 'landmines' in the tree so that
the build will selectively clobber when a builder moves over a revision with such
a change.

This cl has an basis landmines.py, and hooks the clobber mechanism to the android
build scripts.

The relevant cl which implements this for
compile.py is here: https://chromiumcodereview.appspot.com/11234013/

I'm planning to also implement an informational invocation for gclient to let devs know
about any potential landmines so they can decide if they need to clobber.

This previously attempted to land as: https://chromiumcodereview.appspot.com/11175016

R=ilevy@chromium.org,maruel@chromium.org
BUG=121897


Review URL: https://chromiumcodereview.appspot.com/11377141

git-svn-id: http://src.chromium.org/svn/trunk/src/build@167595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-14 04:59:48 +00:00
vandebo@chromium.org db864e9b52 Revert 166085 - Selective build clobbering feature (landmines.py and android build scripts).
It looks like this made win extract_build fail.

Adds the ability for devs/troopers/etc. to set 'landmines' in the tree so that
the build will selectively clobber when a builder moves over a revision with such
a change.

This cl has an basis landmines.py, and hooks the clobber mechanism to the android
build scripts. 

The relevant cl which implements this for
compile.py is here: https://chromiumcodereview.appspot.com/11234013/

I'm planning to also implement an informational invocation for gclient to let devs know
about any potential landmines so they can decide if they need to clobber.

R=cmp,maruel@chromium.org
BUG=121897

Review URL: https://chromiumcodereview.appspot.com/11175016

TBR=iannucci@chromium.org
Review URL: https://codereview.chromium.org/11293111

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166105 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-06 01:53:24 +00:00
iannucci@chromium.org 378a534dbb Selective build clobbering feature (landmines.py and android build scripts).
Adds the ability for devs/troopers/etc. to set 'landmines' in the tree so that
the build will selectively clobber when a builder moves over a revision with such
a change.

This cl has an basis landmines.py, and hooks the clobber mechanism to the android
build scripts. 

The relevant cl which implements this for
compile.py is here: https://chromiumcodereview.appspot.com/11234013/

I'm planning to also implement an informational invocation for gclient to let devs know
about any potential landmines so they can decide if they need to clobber.

R=cmp,maruel@chromium.org
BUG=121897

Review URL: https://chromiumcodereview.appspot.com/11175016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166085 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-06 00:13:27 +00:00