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

Side by Side Diff: media/base/BUILD.gn

Issue 459603003: Cleanup: Remove unneeded SSE2 checks and unused code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/config/linux/pkg_config.gni") 8 import("//build/config/linux/pkg_config.gni")
9 import("//media/media_options.gni") 9 import("//media/media_options.gni")
10 10
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 "simd/filter_yuv_sse2.cc", 362 "simd/filter_yuv_sse2.cc",
363 ] 363 ]
364 configs += [ "//media:media_config" ] 364 configs += [ "//media:media_config" ]
365 cflags = [ "-msse2" ] 365 cflags = [ "-msse2" ]
366 } 366 }
367 367
368 import("//third_party/yasm/yasm_assemble.gni") 368 import("//third_party/yasm/yasm_assemble.gni")
369 yasm_assemble("media_yasm") { 369 yasm_assemble("media_yasm") {
370 sources = [ 370 sources = [
371 "simd/convert_rgb_to_yuv_ssse3.asm", 371 "simd/convert_rgb_to_yuv_ssse3.asm",
372 "simd/convert_yuv_to_rgb_mmx.asm",
373 "simd/convert_yuv_to_rgb_sse.asm", 372 "simd/convert_yuv_to_rgb_sse.asm",
cpu_(ooo_6.6-7.5) 2014/08/13 23:24:42 only that one?
374 "simd/convert_yuva_to_argb_mmx.asm", 373 "simd/convert_yuva_to_argb_mmx.asm",
375 "simd/empty_register_state_mmx.asm", 374 "simd/empty_register_state_mmx.asm",
376 "simd/linear_scale_yuv_to_rgb_mmx.asm", 375 "simd/linear_scale_yuv_to_rgb_mmx.asm",
377 "simd/linear_scale_yuv_to_rgb_sse.asm", 376 "simd/linear_scale_yuv_to_rgb_sse.asm",
378 "simd/scale_yuv_to_rgb_mmx.asm", 377 "simd/scale_yuv_to_rgb_mmx.asm",
379 "simd/scale_yuv_to_rgb_sse.asm", 378 "simd/scale_yuv_to_rgb_sse.asm",
380 ] 379 ]
381 380
382 # TODO(ajwong): Only export if shared_library build... 381 # TODO(ajwong): Only export if shared_library build...
383 yasm_flags = [ 382 yasm_flags = [
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 if (is_posix) { 416 if (is_posix) {
418 yasm_flags += [ "-DELF" ] 417 yasm_flags += [ "-DELF" ]
419 if (cpu_arch == "x64") { 418 if (cpu_arch == "x64") {
420 # TODO(ajwong): Why isn't this true in mac? 419 # TODO(ajwong): Why isn't this true in mac?
421 yasm_flags += [ "-DPIC" ] 420 yasm_flags += [ "-DPIC" ]
422 } 421 }
423 } 422 }
424 } 423 }
425 } 424 }
426 } 425 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698