I'm experimenting with compiling Chromium on Mac OS and want to add a 3rd party framework to the project.
I already added my TParty.framework to the chrome_browser.gypi as following:
...
['OS=="mac"', {
'dependencies': [
'../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
...
],
'link_settings': {
'libraries': [
'../third_party/TParty.framework',
'$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
'$(SDKROOT)/System/Library/Frameworks/AddressBook.framework',
...
],
},
}],
...
Then somewhere in the code I import header from this framework:
#import <TParty/main_header.h>
I believe this is the correct approach but compiler gives me an error:
fatal error: 'TParty/main_header.h' file not found
How can I fix the configs so that TParty.framework became available to the compiler?
There will be no error if I'd import the header directly, like this:
#import "../third_party/TParty.framework/Versions/A/Headers/main_header.h"
But importing this way looks to be a bad practice.