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

Side by Side Diff: chromecast/media/cma/backend/alsa/BUILD.gn

Issue 1804763002: Use monotonic raw timestamp by default except for x86/64 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chromecast_build.gni")
6 import("//media/media_options.gni") 7 import("//media/media_options.gni")
7 import("//testing/test.gni") 8 import("//testing/test.gni")
8 9
9 declare_args() { 10 declare_args() {
10 # Set true to use raw timestamps. This should only be enabled when the ALSA 11 # Set true to use raw timestamps on non-desktop cast build.
11 # library supports it. 12 # ALSA version equal or later than 1.0.29 support this function.
12 use_alsa_monotonic_raw_tstamps = false 13 use_alsa_monotonic_raw_tstamps = !is_cast_desktop_build
13 } 14 }
14 15
15 # Alsa must be used for these targets to build. 16 # Alsa must be used for these targets to build.
16 assert(use_alsa) 17 assert(use_alsa)
17 18
18 # GYP target: chromecast/media/media.gyp:libcast_media_1.0_audio 19 # GYP target: chromecast/media/media.gyp:libcast_media_1.0_audio
19 shared_library("libcast_media_1.0_audio") { 20 shared_library("libcast_media_1.0_audio") {
20 sources = [ 21 sources = [
21 "//chromecast/media/base/media_caps.cc", 22 "//chromecast/media/base/media_caps.cc",
22 "//chromecast/media/base/media_caps.h", 23 "//chromecast/media/base/media_caps.h",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 public_deps = [ 101 public_deps = [
101 ":alsa_cma_backend", 102 ":alsa_cma_backend",
102 ] 103 ]
103 104
104 deps = [ 105 deps = [
105 "//base", 106 "//base",
106 "//media", 107 "//media",
107 "//testing/gmock", 108 "//testing/gmock",
108 ] 109 ]
109 } 110 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698