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

Unified Diff: libvpx.gyp

Issue 302863004: libvpx: Manually set output dir of gen asm offsets libs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 7 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 | unpack_lib_posix.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libvpx.gyp
===================================================================
--- libvpx.gyp (revision 273257)
+++ libvpx.gyp (working copy)
@@ -395,6 +395,7 @@
'type': 'static_library',
'android_unmangled_name': 1,
'hard_dependency': 1,
+ 'product_dir': '<(shared_generated_dir)',
'include_dirs': [
'source/config/<(OS_CATEGORY)/<(target_arch_full)',
'source/config',
@@ -429,6 +430,7 @@
'type': 'static_library',
'android_unmangled_name': 1,
'hard_dependency': 1,
+ 'product_dir': '<(shared_generated_dir)',
'include_dirs': [
'source/config/<(OS_CATEGORY)/<(target_arch_full)',
'source/config',
@@ -460,7 +462,7 @@
'libvpx_obj_int_extract#host',
],
'variables' : {
- 'unpack_lib' : '',
+ 'unpack_lib' : '<(shared_generated_dir)/libvpx_asm_offsets_vp8.a',
'output_format':'',
'output_dir': '<(shared_generated_dir)',
'conditions' : [
@@ -469,13 +471,6 @@
# 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',
}],
- ['OS=="mac" or OS=="ios"', {
- 'unpack_lib' : '<(PRODUCT_DIR)/libvpx_asm_offsets_vp8.a',
- }],
- ['OS!="win" and OS!="mac" and OS!="ios"', {
- # <(LIB_DIR) not defined for "win".
- 'unpack_lib' : '<(LIB_DIR)/third_party/libvpx/libvpx_asm_offsets_vp8.a',
- }],
['(target_arch=="arm" or target_arch=="armv7")', {
'output_format': 'gas',
}, {
@@ -538,7 +533,7 @@
'libvpx_obj_int_extract#host',
],
'variables' : {
- 'unpack_lib' : '',
+ 'unpack_lib' : '<(shared_generated_dir)/libvpx_asm_offsets_vpx_scale.a',
'output_format':'',
'output_dir': '<(shared_generated_dir)',
'conditions' : [
@@ -547,13 +542,6 @@
# 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',
}],
- ['OS=="mac" or OS=="ios"', {
- 'unpack_lib' : '<(PRODUCT_DIR)/libvpx_asm_offsets_vpx_scale.a',
- }],
- ['OS!="win" and OS!="mac" and OS!="ios"', {
- # <(LIB_DIR) not defined for "win".
- 'unpack_lib' : '<(LIB_DIR)/third_party/libvpx/libvpx_asm_offsets_vpx_scale.a',
- }],
['(target_arch=="arm" or target_arch=="armv7")', {
'output_format': 'gas',
}, {
« no previous file with comments | « no previous file | unpack_lib_posix.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698