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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 "audio_renderer_mixer.h", | 42 "audio_renderer_mixer.h", |
43 "audio_renderer_mixer_input.cc", | 43 "audio_renderer_mixer_input.cc", |
44 "audio_renderer_mixer_input.h", | 44 "audio_renderer_mixer_input.h", |
45 "audio_renderer_sink.h", | 45 "audio_renderer_sink.h", |
46 "audio_shifter.cc", | 46 "audio_shifter.cc", |
47 "audio_shifter.h", | 47 "audio_shifter.h", |
48 "audio_splicer.cc", | 48 "audio_splicer.cc", |
49 "audio_splicer.h", | 49 "audio_splicer.h", |
50 "audio_timestamp_helper.cc", | 50 "audio_timestamp_helper.cc", |
51 "audio_timestamp_helper.h", | 51 "audio_timestamp_helper.h", |
| 52 "bind_to_current_loop.cc", |
52 "bind_to_current_loop.h", | 53 "bind_to_current_loop.h", |
53 "bit_reader.cc", | 54 "bit_reader.cc", |
54 "bit_reader.h", | 55 "bit_reader.h", |
55 "bit_reader_core.cc", | 56 "bit_reader_core.cc", |
56 "bit_reader_core.h", | 57 "bit_reader_core.h", |
57 "bitstream_buffer.h", | 58 "bitstream_buffer.h", |
58 "buffering_state.h", | 59 "buffering_state.h", |
59 "buffers.h", | 60 "buffers.h", |
60 "byte_queue.cc", | 61 "byte_queue.cc", |
61 "byte_queue.h", | 62 "byte_queue.h", |
(...skipping 172 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 |