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

Issue 12094059: xcode_settings entries with list values override entries with the same key

Created:
7 years, 10 months ago by Cătălin Badea
Modified:
5 years, 9 months ago
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

When adding a new xcode build setting, if the current value is a list, append the new value to it.

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M pylib/gyp/xcodeproj_file.py View 1 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Cătălin Badea
When using xcode_settings entries with list values such as GC_PREPROCESSOR_DEFINITIONS, the new value should be ...
7 years, 10 months ago (2013-01-30 13:51:59 UTC) #1
Mark Mentovai
Can you show me an example of how you’re using this? GYP should already take ...
7 years, 10 months ago (2013-01-30 13:54:17 UTC) #2
Cătălin Badea
On 2013/01/30 13:54:17, Mark Mentovai wrote: > Can you show me an example of how ...
7 years, 10 months ago (2013-01-30 14:52:08 UTC) #3
Sam Clegg
https://codereview.chromium.org/12094059/diff/1/pylib/gyp/xcodeproj_file.py File pylib/gyp/xcodeproj_file.py (right): https://codereview.chromium.org/12094059/diff/1/pylib/gyp/xcodeproj_file.py#newcode1562 pylib/gyp/xcodeproj_file.py:1562: self._properties['buildSettings'][key].extend(value) nit: I think you can write these three ...
7 years, 10 months ago (2013-01-30 16:08:59 UTC) #4
Cătălin Badea
Update: Using .setdefault for adding new entries. Note that AppendBuildSetting does not take lists as ...
7 years, 10 months ago (2013-01-31 12:33:37 UTC) #5
Cătălin Badea
The patch set is updated.
7 years, 10 months ago (2013-02-06 12:52:59 UTC) #6
Sam Clegg
On 2013/02/06 12:52:59, Cătălin Badea wrote: > The patch set is updated. Looks good from ...
7 years, 10 months ago (2013-02-06 17:30:51 UTC) #7
Mark Mentovai
Yeah, I’m still not satisfied. Catalin, I tried out your sample .gyp file in test.gyp, ...
7 years, 10 months ago (2013-02-06 17:47:37 UTC) #8
Cătălin Badea
Yes, you're right - the given example is working correctly. Try adding a 'defines' entry ...
7 years, 10 months ago (2013-02-07 11:31:01 UTC) #9
Mark Mentovai
I see. This is about mixing 'defines' with the 'GCC_PREPROCESSOR_DEFINITIONS' xcode_setting. LGTM to fix this ...
7 years, 10 months ago (2013-02-07 16:45:52 UTC) #10
M-A Ruel
FTR, there's no commit queue for gyp, please have it be committed on your behalf. ...
7 years, 10 months ago (2013-02-08 16:59:50 UTC) #11
Sam Clegg
5 years, 9 months ago (2015-02-27 21:39:05 UTC) #12
Are you still interested in having this committed?

Powered by Google App Engine
This is Rietveld 408576698