Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 # Override to dynamically link the PulseAudio library. | 8 # Override to dynamically link the PulseAudio library. |
| 9 'use_pulseaudio%': 0, | 9 'use_pulseaudio%': 0, |
| 10 # Override to dynamically link the cras (ChromeOS audio) library. | 10 # Override to dynamically link the cras (ChromeOS audio) library. |
| (...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 797 ['_toolset=="target"', { | 797 ['_toolset=="target"', { |
| 798 'cflags!': [ '-finstrument-functions' ], | 798 'cflags!': [ '-finstrument-functions' ], |
| 799 }], | 799 }], |
| 800 ], | 800 ], |
| 801 }], | 801 }], |
| 802 [ 'target_arch == "ia32" or target_arch == "x64"', { | 802 [ 'target_arch == "ia32" or target_arch == "x64"', { |
| 803 'dependencies': [ | 803 'dependencies': [ |
| 804 'yuv_convert_simd_x86', | 804 'yuv_convert_simd_x86', |
| 805 ], | 805 ], |
| 806 }], | 806 }], |
| 807 [ 'target_arch == "arm"', { | 807 [ 'target_arch == "arm"', { |
|
scherkus (not reviewing)
2012/09/19 16:57:54
this can be:
target_arch == "arm" or target_arch =
petarj
2012/09/20 00:18:25
Done.
| |
| 808 'dependencies': [ | 808 'dependencies': [ |
| 809 'yuv_convert_simd_arm', | 809 'yuv_convert_simd_arm', |
| 810 ], | 810 ], |
| 811 }], | 811 }], |
| 812 [ 'target_arch == "mipsel"', { | |
| 813 'dependencies': [ | |
| 814 'yuv_convert_simd_mips', | |
| 815 ], | |
| 816 }], | |
| 812 ], | 817 ], |
| 813 'sources': [ | 818 'sources': [ |
| 814 'base/yuv_convert.cc', | 819 'base/yuv_convert.cc', |
| 815 'base/yuv_convert.h', | 820 'base/yuv_convert.h', |
| 816 ], | 821 ], |
| 817 }, | 822 }, |
| 818 { | 823 { |
| 819 'target_name': 'yuv_convert_simd_x86', | 824 'target_name': 'yuv_convert_simd_x86', |
| 820 'type': 'static_library', | 825 'type': 'static_library', |
| 821 'include_dirs': [ | 826 'include_dirs': [ |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 922 ], | 927 ], |
| 923 'variables': { | 928 'variables': { |
| 924 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/media', | 929 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/media', |
| 925 }, | 930 }, |
| 926 'msvs_2010_disable_uldi_when_referenced': 1, | 931 'msvs_2010_disable_uldi_when_referenced': 1, |
| 927 'includes': [ | 932 'includes': [ |
| 928 '../third_party/yasm/yasm_compile.gypi', | 933 '../third_party/yasm/yasm_compile.gypi', |
| 929 ], | 934 ], |
| 930 }, | 935 }, |
| 931 { | 936 { |
| 932 'target_name': 'yuv_convert_simd_arm', | 937 'target_name': 'yuv_convert_simd_arm', |
|
scherkus (not reviewing)
2012/09/19 16:57:54
instead of duplicating, you should rename this to
petarj
2012/09/20 00:18:25
Done.
| |
| 933 'type': 'static_library', | 938 'type': 'static_library', |
| 934 'include_dirs': [ | 939 'include_dirs': [ |
| 935 '..', | 940 '..', |
| 936 ], | 941 ], |
| 937 'sources': [ | 942 'sources': [ |
| 938 'base/simd/convert_rgb_to_yuv.h', | 943 'base/simd/convert_rgb_to_yuv.h', |
| 939 'base/simd/convert_rgb_to_yuv_c.cc', | 944 'base/simd/convert_rgb_to_yuv_c.cc', |
| 940 'base/simd/convert_yuv_to_rgb.h', | 945 'base/simd/convert_yuv_to_rgb.h', |
| 941 'base/simd/convert_yuv_to_rgb_c.cc', | 946 'base/simd/convert_yuv_to_rgb_c.cc', |
| 942 'base/simd/filter_yuv.h', | 947 'base/simd/filter_yuv.h', |
| 943 'base/simd/filter_yuv_c.cc', | 948 'base/simd/filter_yuv_c.cc', |
| 944 'base/simd/yuv_to_rgb_table.cc', | 949 'base/simd/yuv_to_rgb_table.cc', |
| 945 'base/simd/yuv_to_rgb_table.h', | 950 'base/simd/yuv_to_rgb_table.h', |
| 946 ], | 951 ], |
| 947 }, | 952 }, |
| 948 { | 953 { |
| 954 'target_name': 'yuv_convert_simd_mips', | |
| 955 'type': 'static_library', | |
| 956 'include_dirs': [ | |
| 957 '..', | |
| 958 ], | |
| 959 'sources': [ | |
| 960 'base/simd/convert_rgb_to_yuv_c.cc', | |
| 961 'base/simd/convert_rgb_to_yuv.h', | |
| 962 'base/simd/convert_yuv_to_rgb_c.cc', | |
| 963 'base/simd/convert_yuv_to_rgb.h', | |
| 964 'base/simd/filter_yuv.h', | |
| 965 'base/simd/filter_yuv_c.cc', | |
| 966 'base/simd/yuv_to_rgb_table.cc', | |
| 967 'base/simd/yuv_to_rgb_table.h', | |
| 968 ], | |
| 969 }, | |
| 970 { | |
| 949 'target_name': 'scaler_bench', | 971 'target_name': 'scaler_bench', |
| 950 'type': 'executable', | 972 'type': 'executable', |
| 951 'dependencies': [ | 973 'dependencies': [ |
| 952 'media', | 974 'media', |
| 953 'yuv_convert', | 975 'yuv_convert', |
| 954 '../base/base.gyp:base', | 976 '../base/base.gyp:base', |
| 955 '../skia/skia.gyp:skia', | 977 '../skia/skia.gyp:skia', |
| 956 '../ui/ui.gyp:ui', | 978 '../ui/ui.gyp:ui', |
| 957 ], | 979 ], |
| 958 'sources': [ | 980 'sources': [ |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1057 '../third_party/angle/src/build_angle.gyp:libGLESv2', | 1079 '../third_party/angle/src/build_angle.gyp:libGLESv2', |
| 1058 ], | 1080 ], |
| 1059 'sources': [ | 1081 'sources': [ |
| 1060 'tools/shader_bench/window_win.cc', | 1082 'tools/shader_bench/window_win.cc', |
| 1061 ], | 1083 ], |
| 1062 }], | 1084 }], |
| 1063 ], | 1085 ], |
| 1064 }, | 1086 }, |
| 1065 ], | 1087 ], |
| 1066 }], | 1088 }], |
| 1067 ['OS == "linux" and target_arch != "arm"', { | 1089 ['OS == "linux" and target_arch != "arm" and target_arch != "mipsel"', { |
| 1068 'targets': [ | 1090 'targets': [ |
| 1069 { | 1091 { |
| 1070 'target_name': 'tile_render_bench', | 1092 'target_name': 'tile_render_bench', |
| 1071 'type': 'executable', | 1093 'type': 'executable', |
| 1072 'dependencies': [ | 1094 'dependencies': [ |
| 1073 '../base/base.gyp:base', | 1095 '../base/base.gyp:base', |
| 1074 '../ui/gl/gl.gyp:gl', | 1096 '../ui/gl/gl.gyp:gl', |
| 1075 ], | 1097 ], |
| 1076 'libraries': [ | 1098 'libraries': [ |
| 1077 '-lGL', | 1099 '-lGL', |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1269 'media', | 1291 'media', |
| 1270 ], | 1292 ], |
| 1271 'sources': [ | 1293 'sources': [ |
| 1272 'tools/media_bench/media_bench.cc', | 1294 'tools/media_bench/media_bench.cc', |
| 1273 ], | 1295 ], |
| 1274 }, | 1296 }, |
| 1275 ], | 1297 ], |
| 1276 }] | 1298 }] |
| 1277 ], | 1299 ], |
| 1278 } | 1300 } |
| OLD | NEW |