Chromium Code Reviews| 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 = [ |
| 14 "//media/*", | |
| 15 "//chromecast/*", | |
|
gunsch
2015/04/21 02:09:43
This is probably not correct. The "media" source s
prashantv
2015/04/21 18:21:36
Forgot to revert this after testing something for
| |
| 16 ] | |
| 13 sources = [ | 17 sources = [ |
| 14 "audio_block_fifo.cc", | 18 "audio_block_fifo.cc", |
| 15 "audio_block_fifo.h", | 19 "audio_block_fifo.h", |
| 16 "audio_buffer.cc", | 20 "audio_buffer.cc", |
| 17 "audio_buffer.h", | 21 "audio_buffer.h", |
| 18 "audio_buffer_converter.cc", | 22 "audio_buffer_converter.cc", |
| 19 "audio_buffer_converter.h", | 23 "audio_buffer_converter.h", |
| 20 "audio_buffer_queue.cc", | 24 "audio_buffer_queue.cc", |
| 21 "audio_buffer_queue.h", | 25 "audio_buffer_queue.h", |
| 22 "audio_capturer_source.h", | 26 "audio_capturer_source.h", |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 234 ] | 238 ] |
| 235 sources += [ "user_input_monitor_linux.cc" ] | 239 sources += [ "user_input_monitor_linux.cc" ] |
| 236 deps += [ | 240 deps += [ |
| 237 "//ui/events:events_base", | 241 "//ui/events:events_base", |
| 238 "//ui/gfx/x", | 242 "//ui/gfx/x", |
| 239 ] | 243 ] |
| 240 } else if (is_mac) { | 244 } else if (is_mac) { |
| 241 sources += [ "user_input_monitor_mac.cc" ] | 245 sources += [ "user_input_monitor_mac.cc" ] |
| 242 | 246 |
| 243 # Required by video_frame.cc. | 247 # Required by video_frame.cc. |
| 244 libs = [ | 248 libs = [ "CoreVideo.framework" ] |
| 245 "CoreVideo.framework" | |
| 246 ] | |
| 247 } else if (is_win) { | 249 } else if (is_win) { |
| 248 sources += [ "user_input_monitor_win.cc" ] | 250 sources += [ "user_input_monitor_win.cc" ] |
| 249 } else { | 251 } else { |
| 250 defines += [ "DISABLE_USER_INPUT_MONITOR" ] | 252 defines += [ "DISABLE_USER_INPUT_MONITOR" ] |
| 251 } | 253 } |
| 252 | 254 |
| 253 if (current_cpu == "x86" || current_cpu == "x64") { | 255 if (current_cpu == "x86" || current_cpu == "x64") { |
| 254 sources += [ "simd/convert_yuv_to_rgb_x86.cc" ] | 256 sources += [ "simd/convert_yuv_to_rgb_x86.cc" ] |
| 255 deps += [ | 257 deps += [ |
| 256 ":media_yasm", | 258 ":media_yasm", |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 498 if (is_posix) { | 500 if (is_posix) { |
| 499 yasm_flags += [ "-DELF" ] | 501 yasm_flags += [ "-DELF" ] |
| 500 if (current_cpu == "x64") { | 502 if (current_cpu == "x64") { |
| 501 # TODO(ajwong): Why isn't this true in mac? | 503 # TODO(ajwong): Why isn't this true in mac? |
| 502 yasm_flags += [ "-DPIC" ] | 504 yasm_flags += [ "-DPIC" ] |
| 503 } | 505 } |
| 504 } | 506 } |
| 505 } | 507 } |
| 506 } | 508 } |
| 507 } | 509 } |
| OLD | NEW |