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

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

Issue 1087873003: Fix errors found in Mac gn component builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to fix sandbox_mac_unittests Created 5 years, 8 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/base/mac/BUILD.gn » ('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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 # "//build/config/linux:xfixes", 234 # "//build/config/linux:xfixes",
235 # "//build/config/linux:xtst", 235 # "//build/config/linux:xtst",
236 ] 236 ]
237 sources += [ "user_input_monitor_linux.cc" ] 237 sources += [ "user_input_monitor_linux.cc" ]
238 deps += [ 238 deps += [
239 "//ui/events:events_base", 239 "//ui/events:events_base",
240 "//ui/gfx/x", 240 "//ui/gfx/x",
241 ] 241 ]
242 } else if (is_mac) { 242 } else if (is_mac) {
243 sources += [ "user_input_monitor_mac.cc" ] 243 sources += [ "user_input_monitor_mac.cc" ]
244
245 # Required by video_frame.cc.
246 libs = [
247 "CoreVideo.framework"
248 ]
244 } else if (is_win) { 249 } else if (is_win) {
245 sources += [ "user_input_monitor_win.cc" ] 250 sources += [ "user_input_monitor_win.cc" ]
246 } else { 251 } else {
247 defines += [ "DISABLE_USER_INPUT_MONITOR" ] 252 defines += [ "DISABLE_USER_INPUT_MONITOR" ]
248 } 253 }
249 254
250 if (current_cpu == "x86" || current_cpu == "x64") { 255 if (current_cpu == "x86" || current_cpu == "x64") {
251 sources += [ "simd/convert_yuv_to_rgb_x86.cc" ] 256 sources += [ "simd/convert_yuv_to_rgb_x86.cc" ]
252 deps += [ 257 deps += [
253 ":media_yasm", 258 ":media_yasm",
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 if (is_posix) { 500 if (is_posix) {
496 yasm_flags += [ "-DELF" ] 501 yasm_flags += [ "-DELF" ]
497 if (current_cpu == "x64") { 502 if (current_cpu == "x64") {
498 # TODO(ajwong): Why isn't this true in mac? 503 # TODO(ajwong): Why isn't this true in mac?
499 yasm_flags += [ "-DPIC" ] 504 yasm_flags += [ "-DPIC" ]
500 } 505 }
501 } 506 }
502 } 507 }
503 } 508 }
504 } 509 }
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | media/base/mac/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698