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

Issue 6904020: This change supports '!' and '/' operators for 'dependencies' section. (Closed)

Created:
9 years, 8 months ago by Yuki Shiino
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai, bradn, sgk1
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

This change supports '!' and '/' operators for 'dependencies' section. The list filters are not supported for 'dependencies' sections for now, and this change supports them. http://code.google.com/p/gyp/wiki/InputFormatReference#List_Filters Patch by Yuki Shiino <yukishiino@google.com>; Committed: http://code.google.com/p/gyp/source/detail?r=921

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 4

Patch Set 6 : '' #

Patch Set 7 : '' #

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

Messages

Total messages: 9 (0 generated)
Mark Mentovai
In Chromium, we treat dependencies as additive, and just write “dependencies” inside “conditions” sections as ...
9 years, 8 months ago (2011-04-26 19:12:23 UTC) #1
Yuki Shiino
We could do the same additive way theoretically, but it's a very straightforward way to ...
9 years, 8 months ago (2011-04-27 08:45:37 UTC) #2
Mark Mentovai
http://codereview.chromium.org/6904020/diff/5001/pylib/gyp/input.py File pylib/gyp/input.py (right): http://codereview.chromium.org/6904020/diff/5001/pylib/gyp/input.py#newcode1369 pylib/gyp/input.py:1369: spec['dependencies'] = deps_dict['dependencies'] 1. I don’t want to set ...
9 years, 7 months ago (2011-05-03 18:32:35 UTC) #3
Yuki Shiino
I considered again why the code looks ugly, and found a much simpler solution. We ...
9 years, 7 months ago (2011-05-04 10:49:35 UTC) #4
Yuki Shiino
http://codereview.chromium.org/6904020/diff/5001/pylib/gyp/input.py File pylib/gyp/input.py (right): http://codereview.chromium.org/6904020/diff/5001/pylib/gyp/input.py#newcode1369 pylib/gyp/input.py:1369: spec['dependencies'] = deps_dict['dependencies'] I've changed the way, but I ...
9 years, 7 months ago (2011-05-04 10:52:11 UTC) #5
Mark Mentovai
Oh, my mistake, you’re right. I had thought that ProcessListFiltersInDict preserved old ! and / ...
9 years, 7 months ago (2011-05-04 15:04:35 UTC) #6
Yuki Shiino
Thanks for the review. I've updated the code. http://codereview.chromium.org/6904020/diff/11001/pylib/gyp/input.py File pylib/gyp/input.py (right): http://codereview.chromium.org/6904020/diff/11001/pylib/gyp/input.py#newcode2198 pylib/gyp/input.py:2198: if ...
9 years, 7 months ago (2011-05-04 15:47:48 UTC) #7
Mark Mentovai
LGTM
9 years, 7 months ago (2011-05-04 16:33:45 UTC) #8
Mark Mentovai
9 years, 7 months ago (2011-05-04 20:35:11 UTC) #9
I committed this at GYP r921.

Powered by Google App Engine
This is Rietveld 408576698