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

Issue 17359002: Linux: make ninja respect environment: (Closed)

Created:
7 years, 6 months ago by Paweł Hajdan Jr.
Modified:
7 years, 4 months ago
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

Linux: make ninja respect environment: - CFLAGS - CXXFLAGS - LDFLAGS BUG=251122, gyp:360 R=evan@chromium.org, scottmg@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1691

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -6 lines) Patch
M pylib/gyp/generator/ninja.py View 1 2 3 4 5 6 2 chunks +13 lines, -3 lines 0 comments Download
M test/cflags/gyptest-cflags.py View 1 2 3 4 5 6 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Paweł Hajdan Jr.
7 years, 6 months ago (2013-06-18 02:18:07 UTC) #1
Paweł Hajdan Jr.
Nico, could you take a look? Thanks!
7 years, 6 months ago (2013-06-25 00:39:17 UTC) #2
Nico
Can you add a test? https://codereview.chromium.org/17359002/diff/1/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (right): https://codereview.chromium.org/17359002/diff/1/pylib/gyp/generator/ninja.py#newcode762 pylib/gyp/generator/ninja.py:762: config.get('cflags_cc', [])) Does it ...
7 years, 6 months ago (2013-06-25 00:42:35 UTC) #3
Paweł Hajdan Jr.
PTAL https://codereview.chromium.org/17359002/diff/1/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (right): https://codereview.chromium.org/17359002/diff/1/pylib/gyp/generator/ninja.py#newcode762 pylib/gyp/generator/ninja.py:762: config.get('cflags_cc', [])) On 2013/06/25 00:42:35, Nico wrote: > ...
7 years, 5 months ago (2013-07-24 23:16:55 UTC) #4
Evan Martin
https://codereview.chromium.org/17359002/diff/10001/test/cflags/gyptest-cflags.py File test/cflags/gyptest-cflags.py (right): https://codereview.chromium.org/17359002/diff/10001/test/cflags/gyptest-cflags.py#newcode26 test/cflags/gyptest-cflags.py:26: # by the make generator. If the below change ...
7 years, 5 months ago (2013-07-24 23:56:54 UTC) #5
Paweł Hajdan Jr.
https://codereview.chromium.org/17359002/diff/10001/test/cflags/gyptest-cflags.py File test/cflags/gyptest-cflags.py (right): https://codereview.chromium.org/17359002/diff/10001/test/cflags/gyptest-cflags.py#newcode26 test/cflags/gyptest-cflags.py:26: # by the make generator. On 2013/07/24 23:56:55, Evan ...
7 years, 5 months ago (2013-07-25 21:41:59 UTC) #6
Evan Martin
this lgtm, but i don't really work on gyp
7 years, 5 months ago (2013-07-26 03:30:58 UTC) #7
Evan Martin
this lgtm, but i don't really work on gyp
7 years, 5 months ago (2013-07-26 03:31:00 UTC) #8
scottmg
it doesn't look like this will work on mac or win. or am i misreading? ...
7 years, 5 months ago (2013-07-26 03:42:20 UTC) #9
Paweł Hajdan Jr.
On 2013/07/26 03:42:20, scottmg wrote: > it doesn't look like this will work on mac ...
7 years, 4 months ago (2013-07-26 18:19:23 UTC) #10
scottmg
On 2013/07/26 18:19:23, Paweł Hajdan Jr. wrote: > On 2013/07/26 03:42:20, scottmg wrote: > > ...
7 years, 4 months ago (2013-07-26 18:24:04 UTC) #11
Paweł Hajdan Jr.
On 2013/07/26 18:24:04, scottmg wrote: > I would run try jobs and fix the test ...
7 years, 4 months ago (2013-07-26 23:15:20 UTC) #12
Ryan Sleevi
On 2013/07/26 23:15:20, Paweł Hajdan Jr. wrote: > On 2013/07/26 18:24:04, scottmg wrote: > > ...
7 years, 4 months ago (2013-07-26 23:18:36 UTC) #13
Paweł Hajdan Jr.
Thanks, Ryan! I got it to work with "~/depot_tools/gcl try flags --no_search --email ..." PTAL
7 years, 4 months ago (2013-07-30 01:22:22 UTC) #14
scottmg
lgtm, with a bug filed and noted in test for lack of support on non-linux.
7 years, 4 months ago (2013-08-01 18:02:40 UTC) #15
Paweł Hajdan Jr.
On 2013/08/01 18:02:40, scottmg wrote: > lgtm, with a bug filed and noted in test ...
7 years, 4 months ago (2013-08-01 18:28:10 UTC) #16
Paweł Hajdan Jr.
Lei, could you commit this gyp change? Nico is on vacation.
7 years, 4 months ago (2013-08-06 18:37:43 UTC) #17
Lei Zhang
On 2013/08/06 18:37:43, Paweł Hajdan Jr. wrote: > Lei, could you commit this gyp change? ...
7 years, 4 months ago (2013-08-07 00:32:43 UTC) #18
scottmg
Committed patchset #7 manually as r1691.
7 years, 4 months ago (2013-08-08 22:48:47 UTC) #19
Nico
I missed that this isn't implemented on OS X :-/ What was the issue?
7 years, 4 months ago (2013-08-12 15:59:39 UTC) #20
Paweł Hajdan Jr.
7 years, 4 months ago (2013-08-12 19:15:02 UTC) #21
Message was sent while issue was closed.
On 2013/08/12 15:59:39, Nico (vacation Aug 2 - Aug 22) wrote:
> I missed that this isn't implemented on OS X :-/ What was the issue?

It seems that the test is relying on some gcc-specific behavior to test whether
-O2 was passed to the build.

Powered by Google App Engine
This is Rietveld 408576698