AppRTCDemo(ios): remove codesigning hack now that gyp signs by default.
R=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/4119005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5155 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
ef2d55461b
commit
1977960866
@ -261,35 +261,6 @@
|
|||||||
'-framework UIKit',
|
'-framework UIKit',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'postbuilds': [
|
|
||||||
{
|
|
||||||
# Ideally app signing would be a part of gyp.
|
|
||||||
# Delete if/when that comes to pass.
|
|
||||||
'postbuild_name': 'Sign AppRTCDemo',
|
|
||||||
'variables': {
|
|
||||||
'variables': {
|
|
||||||
'key_id%': '<!(security find-identity -p codesigning -v | grep "iPhone Developer" | awk \'{print $2}\')',
|
|
||||||
},
|
|
||||||
'key_id%': '<(key_id)',
|
|
||||||
# Total HACK to give a more informative message when multiple
|
|
||||||
# codesigning keys are present in the default keychain. Ideally
|
|
||||||
# we could pick more intelligently among the keys, but as a
|
|
||||||
# first cut just tell the developer to specify a key identity
|
|
||||||
# explicitly.
|
|
||||||
'ensure_single_key': '<!(python -c "assert \'\\n\' not in \'\'\'<(key_id)\'\'\', \'key_id gyp variable needs to be set explicitly because there are multiple codesigning keys!\'")',
|
|
||||||
},
|
|
||||||
'conditions': [
|
|
||||||
['key_id==""', {
|
|
||||||
'action': [ 'echo', 'Skipping signing' ],
|
|
||||||
}, {
|
|
||||||
'action': [
|
|
||||||
'/usr/bin/codesign', '-v', '--force', '--sign', '<(key_id)',
|
|
||||||
'${BUILT_PRODUCTS_DIR}/AppRTCDemo.app',
|
|
||||||
],
|
|
||||||
}],
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}, # target AppRTCDemo
|
}, # target AppRTCDemo
|
||||||
], # targets
|
], # targets
|
||||||
}], # OS=="ios"
|
}], # OS=="ios"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user