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

Issue 602073003: Add support for MIDL include directories (Closed)

Created:
6 years, 2 months ago by Shezan Baig (Bloomberg)
Modified:
6 years, 2 months ago
Reviewers:
scottmg
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

Add support for MIDL include directories This adds support for 'midl_include_dirs', which is handled like 'include_dirs' and 'resource_include_dirs', except this is for the MIDL tool. One notable difference is that, unlike 'resource_include_dirs', the 'midl_include_dirs' property doesn't default to 'include_dirs'. This is to prevent any change in behavior for any existing gyp files that don't set 'midl_include_dirs'. Also, MIDL include directories are quite a different concept to C/C++ include directories. BUG= R=scottmg@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1986

Patch Set 1 #

Total comments: 8

Patch Set 2 : Add msvs_system_include_dirs #

Patch Set 3 : Rebase #

Total comments: 1

Patch Set 4 : Add msvs_system_include_dirs for msvs_emulation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -11 lines) Patch
M pylib/gyp/generator/msvs.py View 1 2 5 chunks +13 lines, -3 lines 0 comments Download
M pylib/gyp/generator/ninja.py View 2 chunks +9 lines, -1 line 0 comments Download
M pylib/gyp/msvs_emulation.py View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
A + test/win/gyptest-midl-includedirs.py View 2 chunks +4 lines, -4 lines 0 comments Download
A + test/win/idl-includedirs/hello.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A test/win/idl-includedirs/idl-includedirs.gyp View 1 chunk +26 lines, -0 lines 0 comments Download
A + test/win/idl-includedirs/subdir/bar.idl View 1 chunk +9 lines, -2 lines 0 comments Download
A + test/win/idl-includedirs/subdir/foo.idl View 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Shezan Baig (Bloomberg)
6 years, 2 months ago (2014-09-25 16:28:01 UTC) #2
scottmg
https://codereview.chromium.org/602073003/diff/1/pylib/gyp/generator/msvs.py File pylib/gyp/generator/msvs.py (right): https://codereview.chromium.org/602073003/diff/1/pylib/gyp/generator/msvs.py#newcode1195 pylib/gyp/generator/msvs.py:1195: midl_include_dirs = config.get('midl_include_dirs', []) should msvs_system_include_dirs be included here ...
6 years, 2 months ago (2014-09-25 16:53:10 UTC) #3
Shezan Baig (Bloomberg)
https://codereview.chromium.org/602073003/diff/1/pylib/gyp/generator/msvs.py File pylib/gyp/generator/msvs.py (right): https://codereview.chromium.org/602073003/diff/1/pylib/gyp/generator/msvs.py#newcode1195 pylib/gyp/generator/msvs.py:1195: midl_include_dirs = config.get('midl_include_dirs', []) On 2014/09/25 16:53:10, scottmg wrote: ...
6 years, 2 months ago (2014-09-25 17:00:21 UTC) #4
scottmg
https://codereview.chromium.org/602073003/diff/1/pylib/gyp/generator/msvs.py File pylib/gyp/generator/msvs.py (right): https://codereview.chromium.org/602073003/diff/1/pylib/gyp/generator/msvs.py#newcode1195 pylib/gyp/generator/msvs.py:1195: midl_include_dirs = config.get('midl_include_dirs', []) On 2014/09/25 17:00:21, Shezan Baig ...
6 years, 2 months ago (2014-09-25 17:05:31 UTC) #5
Shezan Baig (Bloomberg)
https://codereview.chromium.org/602073003/diff/1/pylib/gyp/generator/msvs.py File pylib/gyp/generator/msvs.py (right): https://codereview.chromium.org/602073003/diff/1/pylib/gyp/generator/msvs.py#newcode1195 pylib/gyp/generator/msvs.py:1195: midl_include_dirs = config.get('midl_include_dirs', []) On 2014/09/25 17:05:31, scottmg wrote: ...
6 years, 2 months ago (2014-09-25 17:16:00 UTC) #6
scottmg
and then lgtm. Thanks! https://codereview.chromium.org/602073003/diff/40001/pylib/gyp/msvs_emulation.py File pylib/gyp/msvs_emulation.py (right): https://codereview.chromium.org/602073003/diff/40001/pylib/gyp/msvs_emulation.py#newcode325 pylib/gyp/msvs_emulation.py:325: includes = midl_include_dirs + self._Setting( ...
6 years, 2 months ago (2014-09-25 17:17:50 UTC) #7
Shezan Baig (Bloomberg)
6 years, 2 months ago (2014-09-25 19:00:10 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 1986 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698