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

Unified Diff: libvpx.gyp

Issue 288293002: libvpx.gyp : issues fix for webview. (Closed) Base URL: http://src.chromium.org/svn/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
diff --git a/libvpx.gyp b/libvpx.gyp
index 3e93783e2a7273fd74189afd2389a6696278eab4..212af7aa1902611d5fd9d3879ce7e4f57a172093 100644
--- a/libvpx.gyp
+++ b/libvpx.gyp
@@ -53,7 +53,7 @@
'variables': {
'conditions': [
['OS=="win" and buildtype=="Official"', {
- # Do not set to 'size', as it results in an error on win64.
+ # Do not set to 'size', as it results in an error on win64.
'optimize' :'speed',
}],
],
@@ -284,8 +284,6 @@
# .include directive files from the place where they're
# generated to.
'cflags': [
- '-Wa,-I,<!(pwd)/source/config/<(OS_CATEGORY)/<(target_arch_full)',
- '-Wa,-I,<!(pwd)/source/config',
'-Wa,-I,<(shared_generated_dir)',
],
'xcode_settings': {
@@ -353,6 +351,16 @@
],
},
}],
+ # .include directive files from the place where they're
+ # generated to, but they aren't used in android webview and
+ # generate the absolute path which isn't allowed in Android make
+ # file.
+ ['android_webview_build!=1', {
+ 'cflags': [
Johann 2014/05/16 04:15:58 would prefer to keep the chunks that modify cflags
michaelbai 2014/05/16 18:09:00 xcode_settings has same setting in line 291, and
Johann 2014/05/16 18:25:31 All the more reason to keep these modification clo
michaelbai 2014/05/16 19:57:31 Put them together On 2014/05/16 18:25:31, Johann
Torne 2014/05/19 09:02:09 -Wa is the gcc option for passing arguments to the
+ '-Wa,-I,<!(pwd)/source/config/<(OS_CATEGORY)/<(target_arch_full)',
+ '-Wa,-I,<!(pwd)/source/config',
+ ],
+ }],
],
},
],
@@ -457,7 +465,7 @@
['android_webview_build==1', {
# pass the empty string for 3rd and 4th arguments of
# intermediates-dir-for macro.
- 'lib_intermediate_name' : '$(realpath $(call intermediates-dir-for, STATIC_LIBRARIES, libvpx_asm_offsets_vp8,,, $(GYP_VAR_PREFIX)))/libvpx_asm_offsets_vp8.a',
+ 'lib_intermediate_name' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRARIES,libvpx_asm_offsets_vp8,,,$(gyp_var_prefix)))/libvpx_asm_offsets_vp8.a',
}],
['(target_arch=="arm" or target_arch=="armv7")', {
'output_format': 'gas',
@@ -530,7 +538,7 @@
['android_webview_build==1', {
# pass the empty string for 3rd and 4th arguments of
# intermediates-dir-for macro.
- 'lib_intermediate_name' : '<(android_src)/$(call intermediates-dir-for, STATIC_LIBRARIES, libvpx_asm_offsets_vpx_scale,,, $(GYP_VAR_PREFIX))/libvpx_asm_offsets_vpx_scale.a',
+ 'lib_intermediate_name' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRARIES,libvpx_asm_offsets_vpx_scale,,,$(gyp_var_prefix)))/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