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

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

Issue 1055173005: Add BUILD.gn files for chromecast/media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved args.gn 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 | « chromecast/media/cma/pipeline/BUILD.gn ('k') | media/media_options.gni » ('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/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
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
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 }
OLDNEW
« no previous file with comments | « chromecast/media/cma/pipeline/BUILD.gn ('k') | media/media_options.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698