mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-20 09:07:52 +01:00
Without specifying the input files the offsets will not automatically be regenerated when building for different architectures. That is very risky as it will cause crashes rather than build errors.
TEST=trybots BUG=1185 Review URL: https://webrtc-codereview.appspot.com/975006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3303 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
10abe25f6d
commit
eaebeb36ae
1 changed files with 11 additions and 2 deletions
13
third_party/libvpx/libvpx.gyp
vendored
13
third_party/libvpx/libvpx.gyp
vendored
|
@ -426,8 +426,18 @@
|
|||
{
|
||||
# Take archived .a file and unpack it unto .o files.
|
||||
'action_name': 'unpack_lib_posix',
|
||||
'variables': {
|
||||
'conditions': [
|
||||
['OS=="mac"', {
|
||||
'libvpx_asm_offset_a': '<(LIB_DIR)/libvpx_asm_offsets.a',
|
||||
}, {
|
||||
'libvpx_asm_offset_a': '<(LIB_DIR)/third_party/libvpx/libvpx_asm_offsets.a',
|
||||
}],
|
||||
],
|
||||
},
|
||||
'inputs': [
|
||||
'unpack_lib_posix.sh',
|
||||
'<(libvpx_asm_offset_a)',
|
||||
],
|
||||
'outputs': [
|
||||
'<(INTERMEDIATE_DIR)/asm_com_offsets.o',
|
||||
|
@ -437,8 +447,7 @@
|
|||
'action': [
|
||||
'<(DEPTH)/third_party/libvpx/unpack_lib_posix.sh',
|
||||
'-d', '<(INTERMEDIATE_DIR)',
|
||||
'-a', '<(LIB_DIR)/libvpx_asm_offsets.a',
|
||||
'-a', '<(LIB_DIR)/third_party/libvpx/libvpx_asm_offsets.a',
|
||||
'-a', '<(libvpx_asm_offset_a)',
|
||||
'-f', 'asm_com_offsets.o',
|
||||
'-f', 'asm_dec_offsets.o',
|
||||
'-f', 'asm_enc_offsets.o',
|
||||
|
|
Loading…
Reference in a new issue