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

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("//media/media_options.gni") 6 import("//media/media_options.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 declare_args() { 9 declare_args() {
10 # Set true to use raw timestamps. This should only be enabled when the ALSA
11 # library supports it.
12 use_alsa_monotonic_raw_tstamps = false 10 use_alsa_monotonic_raw_tstamps = false
11
12 # Set true to use raw timestamps except on x86 and x64 platforms.
13 # Alsa version equal or later than 1.0.29 support this function.
14 if (!is_cast_desktop_build) {
slan 2016/03/16 16:55:26 This condition is not needed, please just declare
slan 2016/03/16 16:58:47 P.S. For good style, let's add this to the top: i
mengyu1 2016/03/16 16:59:55 Done.
mengyu1 2016/03/16 17:04:59 Done. Sorry, didn't see this import comment previo
15 use_alsa_monotonic_raw_tstamps = true
16 }
13 } 17 }
14 18
15 # Alsa must be used for these targets to build. 19 # Alsa must be used for these targets to build.
16 assert(use_alsa) 20 assert(use_alsa)
17 21
18 # GYP target: chromecast/media/media.gyp:libcast_media_1.0_audio 22 # GYP target: chromecast/media/media.gyp:libcast_media_1.0_audio
19 shared_library("libcast_media_1.0_audio") { 23 shared_library("libcast_media_1.0_audio") {
20 sources = [ 24 sources = [
21 "//chromecast/media/base/media_caps.cc", 25 "//chromecast/media/base/media_caps.cc",
22 "//chromecast/media/base/media_caps.h", 26 "//chromecast/media/base/media_caps.h",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 public_deps = [ 104 public_deps = [
101 ":alsa_cma_backend", 105 ":alsa_cma_backend",
102 ] 106 ]
103 107
104 deps = [ 108 deps = [
105 "//base", 109 "//base",
106 "//media", 110 "//media",
107 "//testing/gmock", 111 "//testing/gmock",
108 ] 112 ]
109 } 113 }
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