| 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/features.gni") |
| 7 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 8 import("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
| 9 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
| 10 | 11 |
| 11 source_set("base") { | 12 source_set("base") { |
| 12 visibility = [ "//media/*" ] | 13 visibility = [ "//media/*" ] |
| 13 sources = [ | 14 sources = [ |
| 14 "audio_block_fifo.cc", | 15 "audio_block_fifo.cc", |
| 15 "audio_block_fifo.h", | 16 "audio_block_fifo.h", |
| 16 "audio_buffer.cc", | 17 "audio_buffer.cc", |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 ] | 235 ] |
| 235 sources += [ "user_input_monitor_linux.cc" ] | 236 sources += [ "user_input_monitor_linux.cc" ] |
| 236 deps += [ | 237 deps += [ |
| 237 "//ui/events:events_base", | 238 "//ui/events:events_base", |
| 238 "//ui/gfx/x", | 239 "//ui/gfx/x", |
| 239 ] | 240 ] |
| 240 } else if (is_mac) { | 241 } else if (is_mac) { |
| 241 sources += [ "user_input_monitor_mac.cc" ] | 242 sources += [ "user_input_monitor_mac.cc" ] |
| 242 | 243 |
| 243 # Required by video_frame.cc. | 244 # Required by video_frame.cc. |
| 244 libs = [ | 245 libs = [ "CoreVideo.framework" ] |
| 245 "CoreVideo.framework" | |
| 246 ] | |
| 247 } else if (is_win) { | 246 } else if (is_win) { |
| 248 sources += [ "user_input_monitor_win.cc" ] | 247 sources += [ "user_input_monitor_win.cc" ] |
| 249 } else { | 248 } else { |
| 250 defines += [ "DISABLE_USER_INPUT_MONITOR" ] | 249 defines += [ "DISABLE_USER_INPUT_MONITOR" ] |
| 251 } | 250 } |
| 252 | 251 |
| 253 if (current_cpu == "x86" || current_cpu == "x64") { | 252 if (current_cpu == "x86" || current_cpu == "x64") { |
| 254 sources += [ "simd/convert_yuv_to_rgb_x86.cc" ] | 253 sources += [ "simd/convert_yuv_to_rgb_x86.cc" ] |
| 255 deps += [ | 254 deps += [ |
| 256 ":media_yasm", | 255 ":media_yasm", |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 if (is_posix) { | 497 if (is_posix) { |
| 499 yasm_flags += [ "-DELF" ] | 498 yasm_flags += [ "-DELF" ] |
| 500 if (current_cpu == "x64") { | 499 if (current_cpu == "x64") { |
| 501 # TODO(ajwong): Why isn't this true in mac? | 500 # TODO(ajwong): Why isn't this true in mac? |
| 502 yasm_flags += [ "-DPIC" ] | 501 yasm_flags += [ "-DPIC" ] |
| 503 } | 502 } |
| 504 } | 503 } |
| 505 } | 504 } |
| 506 } | 505 } |
| 507 } | 506 } |
| OLD | NEW |