Revert 6407 "Revert 6405 "Update generated asm offsets scripts.""

> Revert 6405 "Update generated asm offsets scripts."
> 
> TBR=fgalligan@google.com
> BUG=N/A
> 
> Review URL: https://webrtc-codereview.appspot.com/20639004

TBR=henrike@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/15739004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6411 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
minyue@webrtc.org 2014-06-12 08:48:34 +00:00
parent 2881ab1e36
commit c01cc3d3a8
4 changed files with 18 additions and 18 deletions

2
DEPS
View File

@ -96,7 +96,7 @@ deps = {
From("chromium_deps", "src/third_party/libsrtp"), From("chromium_deps", "src/third_party/libsrtp"),
"third_party/libvpx": "third_party/libvpx":
Var("chromium_trunk") + "/deps/third_party/libvpx@269083", Var("chromium_trunk") + "/deps/third_party/libvpx@275816",
"third_party/libyuv": "third_party/libyuv":
(Var("googlecode_url") % "libyuv") + "/trunk@1000", (Var("googlecode_url") % "libyuv") + "/trunk@1000",

View File

@ -18,7 +18,7 @@
], ],
'sources': ['<(shared_generated_dir)/nsx_core_neon_offsets.o',], 'sources': ['<(shared_generated_dir)/nsx_core_neon_offsets.o',],
'variables' : { 'variables' : {
'unpack_lib_name':'nsx_core_neon_offsets.o', 'object_file_to_extract':'nsx_core_neon_offsets.o',
}, },
'includes': [ 'includes': [
'../../../third_party/libvpx/unpack_lib_posix.gypi', '../../../third_party/libvpx/unpack_lib_posix.gypi',
@ -33,7 +33,7 @@
'<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx_obj_int_extract#host', '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx_obj_int_extract#host',
], ],
'variables': { 'variables': {
'unpack_lib_name':'aecm_core_neon_offsets.o', 'object_file_to_extract':'aecm_core_neon_offsets.o',
}, },
'sources': ['<(shared_generated_dir)/aecm_core_neon_offsets.o',], 'sources': ['<(shared_generated_dir)/aecm_core_neon_offsets.o',],
'includes': [ 'includes': [

View File

@ -18,7 +18,7 @@
], ],
'sources': ['<(shared_generated_dir)/nsx_core_neon_offsets.o',], 'sources': ['<(shared_generated_dir)/nsx_core_neon_offsets.o',],
'variables' : { 'variables' : {
'unpack_lib_name':'nsx_core_neon_offsets.o', 'object_file_to_extract':'nsx_core_neon_offsets.o',
}, },
'includes': [ 'includes': [
'../../../../third_party/libvpx/unpack_lib_posix.gypi', '../../../../third_party/libvpx/unpack_lib_posix.gypi',
@ -33,7 +33,7 @@
'<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx_obj_int_extract#host', '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx_obj_int_extract#host',
], ],
'variables': { 'variables': {
'unpack_lib_name':'aecm_core_neon_offsets.o', 'object_file_to_extract':'aecm_core_neon_offsets.o',
}, },
'sources': ['<(shared_generated_dir)/aecm_core_neon_offsets.o',], 'sources': ['<(shared_generated_dir)/aecm_core_neon_offsets.o',],
'includes': [ 'includes': [

View File

@ -10,24 +10,19 @@
# and gen_core_neon_offsets_chromium.gyp # and gen_core_neon_offsets_chromium.gyp
{ {
'variables': { 'variables': {
'variables' : { 'unpack_lib': '<(shared_generated_dir)/lib_core_neon_offsets.a',
'lib_intermediate_name': '', 'conditions' : [
'conditions' : [ ['android_webview_build==1', {
['android_webview_build==1', { 'unpack_lib' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRARIES,lib_core_neon_offsets,,,$(gyp_var_prefix)))/lib_core_neon_offsets.a',
'lib_intermediate_name' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRARIES,lib_core_neon_offsets,,,$(gyp_var_prefix)))/lib_core_neon_offsets.a', }],
}], ],
],
},
'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/audio_processing/asm_offsets', 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/audio_processing/asm_offsets',
'output_dir': '<(shared_generated_dir)', 'output_dir': '<(shared_generated_dir)',
'output_format': 'cheader', 'output_format': 'cheader',
'unpack_lib_search_path_list': [ 'unpack_lib_search_path_list': [
'-a', '<(PRODUCT_DIR)/lib_core_neon_offsets.a', '-a', '<(unpack_lib)',
'-a', '<(LIB_DIR)/webrtc/modules/audio_processing/lib_core_neon_offsets.a',
'-a', '<(LIB_DIR)/third_party/webrtc/modules/audio_processing/lib_core_neon_offsets.a',
'-a', '<(lib_intermediate_name)',
], ],
'unpack_lib_output_dir':'<(shared_generated_dir)', 'object_file_output_dir':'<(shared_generated_dir)',
}, },
'includes': [ 'includes': [
'../../build/common.gypi', '../../build/common.gypi',
@ -38,6 +33,11 @@
{ {
'target_name': 'lib_core_neon_offsets', 'target_name': 'lib_core_neon_offsets',
'type': 'static_library', 'type': 'static_library',
'conditions': [
['android_webview_build==0', {
'product_dir': '<(shared_generated_dir)',
}],
],
'android_unmangled_name': 1, 'android_unmangled_name': 1,
'hard_dependency': 1, 'hard_dependency': 1,
'sources': [ 'sources': [