robertdfrench / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Path name relativization only works on lower case key suffices #423

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a .gypi file in sub-directory, subdir, below its including .gyp file.
2. Add the following dictionary:
'xcode_settings': {
  'INFOPLIST_FILE': 'resources_ios/Info.plist'
}
3. Generate a gyp project for xcode

What is the expected output? What do you see instead?
I expected to see something like

INFOPLIST_FILE = subdir/resources_ios/Info.plist

in the xcode project file. Instead I see

INFOPLIST_FILE = resources_ios/Info.plist

which means xcode can't fine the Info.plist file.

Path name relativization should ignore case when matching the list of key name 
suffices for which it should be performed.

What version of the product are you using? On what operating system?
Top of trunk SVN.

Please provide any additional information below.
I tried 'infoplist_file'. It was successfully relativized but xcode is looking 
only for the upper case name.

I had to workaround this with an egregious hack using a temporary variable with 
a lower case name which fortunately worked.

Original issue reported on code.google.com by callow.m...@artspark.co.jp on 30 Apr 2014 at 10:19