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

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

Issue 474693002: Changes to media.gyp for Chromoting iOS client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update gn as well 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
« no previous file with comments | « media/BUILD.gn ('k') | media/media.gyp » ('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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 if (cpu_arch == "x86") { 401 if (cpu_arch == "x86") {
402 yasm_flags += [ "-DARCH_X86_32" ] 402 yasm_flags += [ "-DARCH_X86_32" ]
403 } else if (cpu_arch == "x64") { 403 } else if (cpu_arch == "x64") {
404 yasm_flags += [ "-DARCH_X86_64" ] 404 yasm_flags += [ "-DARCH_X86_64" ]
405 sources += [ 405 sources += [
406 "simd/linear_scale_yuv_to_rgb_mmx_x64.asm", 406 "simd/linear_scale_yuv_to_rgb_mmx_x64.asm",
407 "simd/scale_yuv_to_rgb_sse2_x64.asm", 407 "simd/scale_yuv_to_rgb_sse2_x64.asm",
408 ] 408 ]
409 } 409 }
410 410
411 if (is_mac) { 411 if (is_mac || is_ios) {
412 yasm_flags += [ 412 yasm_flags += [
413 "-DPREFIX", 413 "-DPREFIX",
414 "-DMACHO", 414 "-DMACHO",
415 ] 415 ]
416 } else { 416 } else {
417 if (is_posix) { 417 if (is_posix) {
418 yasm_flags += [ "-DELF" ] 418 yasm_flags += [ "-DELF" ]
419 if (cpu_arch == "x64") { 419 if (cpu_arch == "x64") {
420 # TODO(ajwong): Why isn't this true in mac? 420 # TODO(ajwong): Why isn't this true in mac?
421 yasm_flags += [ "-DPIC" ] 421 yasm_flags += [ "-DPIC" ]
422 } 422 }
423 } 423 }
424 } 424 }
425 } 425 }
426 } 426 }
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698