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

Unified Diff: media/media.gyp

Issue 10952006: [MIPS] Add support in media.gyp for building on MIPS architecture. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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
« media/base/yuv_convert.cc ('K') | « media/base/yuv_convert.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/media.gyp
diff --git a/media/media.gyp b/media/media.gyp
index 0d23796dc2568fb53894542ab8f092ce14316637..669adbefba481a42633b8a390ee4f4f32294fc49 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -809,6 +809,11 @@
'yuv_convert_simd_arm',
],
}],
+ [ 'target_arch == "mipsel"', {
+ 'dependencies': [
+ 'yuv_convert_simd_mips',
+ ],
+ }],
],
'sources': [
'base/yuv_convert.cc',
@@ -946,6 +951,23 @@
],
},
{
+ 'target_name': 'yuv_convert_simd_mips',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'base/simd/convert_rgb_to_yuv_c.cc',
+ 'base/simd/convert_rgb_to_yuv.h',
+ 'base/simd/convert_yuv_to_rgb_c.cc',
+ 'base/simd/convert_yuv_to_rgb.h',
+ 'base/simd/filter_yuv.h',
+ 'base/simd/filter_yuv_c.cc',
+ 'base/simd/yuv_to_rgb_table.cc',
+ 'base/simd/yuv_to_rgb_table.h',
+ ],
+ },
+ {
'target_name': 'scaler_bench',
'type': 'executable',
'dependencies': [
@@ -1064,7 +1086,7 @@
},
],
}],
- ['OS == "linux" and target_arch != "arm"', {
+ ['OS == "linux" and target_arch != "arm" and target_arch != "mipsel"', {
'targets': [
{
'target_name': 'tile_render_bench',
« media/base/yuv_convert.cc ('K') | « media/base/yuv_convert.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698