Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: libvpx.gyp

Issue 325313007: libvpx: Fix generated offsets to work with WebView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libvpx.gyp
===================================================================
--- libvpx.gyp (revision 277777)
+++ libvpx.gyp (working copy)
@@ -466,14 +466,17 @@
'libvpx_obj_int_extract#host',
],
'variables' : {
+ # unpack_lib is used as an input to unpack_lib_posix.gypi.
'unpack_lib' : '<(shared_generated_dir)/libvpx_asm_offsets_vp8.a',
+ 'unpack_lib_search_path' : '<(unpack_lib)',
'output_format':'',
'output_dir': '<(shared_generated_dir)',
'conditions' : [
['android_webview_build==1', {
# pass the empty string for 3rd and 4th arguments of
# intermediates-dir-for macro.
- 'unpack_lib' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRARIES,libvpx_asm_offsets_vp8,,,$(gyp_var_prefix)))/libvpx_asm_offsets_vp8.a',
+ 'unpack_lib' : '$(call intermediates-dir-for,STATIC_LIBRARIES,libvpx_asm_offsets_vp8,,,$(gyp_var_prefix))/libvpx_asm_offsets_vp8.a',
+ 'unpack_lib_search_path' : '$(abspath <(unpack_lib))',
}],
['(target_arch=="arm" or target_arch=="armv7")', {
'output_format': 'gas',
@@ -510,7 +513,7 @@
}, {
'variables': {
'unpack_lib_search_path_list': [
- '-a', '<(unpack_lib)',
+ '-a', '<(unpack_lib_search_path)',
],
'object_file_output_dir':'<(INTERMEDIATE_DIR)',
'object_file_to_extract':'vp8_asm_enc_offsets.o'
@@ -538,13 +541,15 @@
],
'variables' : {
'unpack_lib' : '<(shared_generated_dir)/libvpx_asm_offsets_vpx_scale.a',
+ 'unpack_lib_search_path' : '<(unpack_lib)',
'output_format':'',
'output_dir': '<(shared_generated_dir)',
'conditions' : [
['android_webview_build==1', {
# pass the empty string for 3rd and 4th arguments of
# intermediates-dir-for macro.
- 'unpack_lib' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRARIES,libvpx_asm_offsets_vpx_scale,,,$(gyp_var_prefix)))/libvpx_asm_offsets_vpx_scale.a',
+ 'unpack_lib' : '$(call intermediates-dir-for,STATIC_LIBRARIES,libvpx_asm_offsets_vpx_scale,,,$(gyp_var_prefix))/libvpx_asm_offsets_vpx_scale.a',
+ 'unpack_lib_search_path' : '$(abspath <(unpack_lib))',
}],
['(target_arch=="arm" or target_arch=="armv7")', {
'output_format': 'gas',
@@ -581,7 +586,7 @@
}, {
'variables': {
'unpack_lib_search_path_list': [
- '-a', '<(unpack_lib)',
+ '-a', '<(unpack_lib_search_path)',
],
'object_file_output_dir':'<(INTERMEDIATE_DIR)',
'object_file_to_extract':'vpx_scale_asm_offsets.o'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698