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

Issue 440293002: Provide a way to suppress implicit MIDL generation rules for actions (Closed)

Created:
6 years, 4 months ago by bashi
Modified:
6 years, 4 months ago
Reviewers:
haraken, scottmg
CC:
gyp-developer_googlegroups.com, Nico
Base URL:
https://chromium.googlesource.com/external/gyp.git@master
Visibility:
Public.

Description

Provide a way to suppress implicit MIDL generation rules for actions For IDL files, GYP ninja normally generates rules to build MIDL unless there are explicit rules. This special casing only works for rules, but not actions. In blink, we are going to add an action which runs blink's IDL compiler to generate IDL dictionary implementation .h/.cpp files, which means that we need a way to similar logic for actions. This CL introduces 'explicit_idl_action' flag for such purpose. Patch from bashi@chromium.org. R=scottmg@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1964

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -12 lines) Patch
M pylib/gyp/generator/ninja.py View 2 3 1 chunk +1 line, -1 line 0 comments Download
M pylib/gyp/msvs_emulation.py View 1 2 1 chunk +10 lines, -4 lines 0 comments Download
A + test/win/idl-rules/Window.idl View 1 2 3 1 chunk +9 lines, -7 lines 0 comments Download
M test/win/idl-rules/basic-idl.gyp View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A test/win/idl-rules/idl_compiler.py View 1 2 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
bashi
Hi Nico, Could you take a look at this? We want to have a way ...
6 years, 4 months ago (2014-08-06 02:16:33 UTC) #1
Nico
ninja/win -> scottmg
6 years, 4 months ago (2014-08-06 04:06:18 UTC) #2
scottmg
Can you add a test please? See e.g. test/win/*idl*.
6 years, 4 months ago (2014-08-06 16:22:28 UTC) #3
bashi
On 2014/08/06 16:22:28, scottmg wrote: > Can you add a test please? See e.g. test/win/*idl*. ...
6 years, 4 months ago (2014-08-07 02:22:33 UTC) #4
scottmg
On 2014/08/07 02:22:33, bashi1 wrote: > On 2014/08/06 16:22:28, scottmg wrote: > > Can you ...
6 years, 4 months ago (2014-08-07 03:43:28 UTC) #5
bashi
On 2014/08/07 03:43:28, scottmg wrote: > On 2014/08/07 02:22:33, bashi1 wrote: > > On 2014/08/06 ...
6 years, 4 months ago (2014-08-08 01:09:44 UTC) #6
scottmg
On 2014/08/08 01:09:44, bashi1 wrote: > On 2014/08/07 03:43:28, scottmg wrote: > > On 2014/08/07 ...
6 years, 4 months ago (2014-08-08 23:20:02 UTC) #7
bashi
On 2014/08/08 23:20:02, scottmg wrote: > On 2014/08/08 01:09:44, bashi1 wrote: > > On 2014/08/07 ...
6 years, 4 months ago (2014-08-12 01:07:15 UTC) #8
scottmg
On 2014/08/12 01:07:15, bashi1 wrote: > On 2014/08/08 23:20:02, scottmg wrote: > > On 2014/08/08 ...
6 years, 4 months ago (2014-08-12 03:32:44 UTC) #9
scottmg
LGTM with that. I can land it. https://codereview.chromium.org/440293002/diff/40001/test/win/idl-rules/basic-idl.gyp File test/win/idl-rules/basic-idl.gyp (right): https://codereview.chromium.org/440293002/diff/40001/test/win/idl-rules/basic-idl.gyp#newcode49 test/win/idl-rules/basic-idl.gyp:49: 'explicit_idl_action': 1, ...
6 years, 4 months ago (2014-08-12 03:34:02 UTC) #10
scottmg
Committed patchset #4 manually as 1964 (presubmit successful).
6 years, 4 months ago (2014-08-12 03:36:07 UTC) #11
bashi
On 2014/08/12 03:36:07, scottmg wrote: > Committed patchset #4 manually as 1964 (presubmit successful). Thank ...
6 years, 4 months ago (2014-08-12 03:57:22 UTC) #12
bashi
6 years, 4 months ago (2014-08-12 04:17:12 UTC) #13
Message was sent while issue was closed.
On 2014/08/12 03:57:22, bashi1 wrote:
> On 2014/08/12 03:36:07, scottmg wrote:
> > Committed patchset #4 manually as 1964 (presubmit successful).
> 
> Thank you! I'll use the flag with msvs_cygwin_shell: 0.
> 
> Is it ok to create a CL to roll GYP r1964 in Chromium by myself?

Prepared a roll. https://codereview.chromium.org/467483002/
I'll land this if bots happy.

Powered by Google App Engine
This is Rietveld 408576698