Chromium side of http://codereview.chromium.org/42394
- Remove the use of the mac specific type 'application' and use 'executable' with 'mac_bundle' set to 1. - update common.gypi to default mac_bundle to zero. - update common.gypi to look at mac_bundle for some of the base behaviors that were on 'application'. - Roll DEPS to get the new version of gyp w/ the matching support. Review URL: http://codereview.chromium.org/50015 git-svn-id: http://src.chromium.org/svn/trunk/src/build@12136 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
fb1b1c3bbe
Коммит
91d6d7fe89
|
@ -89,6 +89,7 @@
|
|||
'conditions': [
|
||||
['OS=="mac"', {
|
||||
'target_defaults': {
|
||||
'mac_bundle': 0,
|
||||
'xcode_settings': {
|
||||
'ALWAYS_SEARCH_USER_PATHS': 'NO',
|
||||
'GCC_C_LANGUAGE_STANDARD': 'c99',
|
||||
|
@ -117,10 +118,10 @@
|
|||
['_type!="static_library"', {
|
||||
'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
|
||||
}],
|
||||
['_type=="application"', {
|
||||
['_type=="executable" and _mac_bundle', {
|
||||
'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
|
||||
}],
|
||||
['_type=="application" or _type=="executable"', {
|
||||
['_type=="executable"', {
|
||||
'postbuilds': [
|
||||
{
|
||||
'variables': {
|
||||
|
|
Загрузка…
Ссылка в новой задаче