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

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: rebase, fix win build Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | media/base/simd/convert_yuv_to_rgb.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 configs += [ "//media:media_config" ] 368 configs += [ "//media:media_config" ]
369 if (!is_win) { 369 if (!is_win) {
370 cflags = [ "-msse2" ] 370 cflags = [ "-msse2" ]
371 } 371 }
372 } 372 }
373 373
374 import("//third_party/yasm/yasm_assemble.gni") 374 import("//third_party/yasm/yasm_assemble.gni")
375 yasm_assemble("media_yasm") { 375 yasm_assemble("media_yasm") {
376 sources = [ 376 sources = [
377 "simd/convert_rgb_to_yuv_ssse3.asm", 377 "simd/convert_rgb_to_yuv_ssse3.asm",
378 "simd/convert_yuv_to_rgb_mmx.asm",
379 "simd/convert_yuv_to_rgb_sse.asm", 378 "simd/convert_yuv_to_rgb_sse.asm",
380 "simd/convert_yuva_to_argb_mmx.asm", 379 "simd/convert_yuva_to_argb_mmx.asm",
381 "simd/empty_register_state_mmx.asm", 380 "simd/empty_register_state_mmx.asm",
382 "simd/linear_scale_yuv_to_rgb_mmx.asm", 381 "simd/linear_scale_yuv_to_rgb_mmx.asm",
383 "simd/linear_scale_yuv_to_rgb_sse.asm", 382 "simd/linear_scale_yuv_to_rgb_sse.asm",
384 "simd/scale_yuv_to_rgb_mmx.asm", 383 "simd/scale_yuv_to_rgb_mmx.asm",
385 "simd/scale_yuv_to_rgb_sse.asm", 384 "simd/scale_yuv_to_rgb_sse.asm",
386 ] 385 ]
387 386
388 # TODO(ajwong): Only export if shared_library build... 387 # TODO(ajwong): Only export if shared_library build...
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 if (is_posix) { 422 if (is_posix) {
424 yasm_flags += [ "-DELF" ] 423 yasm_flags += [ "-DELF" ]
425 if (cpu_arch == "x64") { 424 if (cpu_arch == "x64") {
426 # TODO(ajwong): Why isn't this true in mac? 425 # TODO(ajwong): Why isn't this true in mac?
427 yasm_flags += [ "-DPIC" ] 426 yasm_flags += [ "-DPIC" ]
428 } 427 }
429 } 428 }
430 } 429 }
431 } 430 }
432 } 431 }
OLDNEW
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | media/base/simd/convert_yuv_to_rgb.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698