OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |