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

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

Issue 2695223008: [Chromecast] Add an alarm manager for firing events on wall clock time. (Closed)
Patch Set: Addresses comments Created 3 years, 10 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 | chromecast/base/alarm_manager.h » ('j') | chromecast/base/alarm_manager.h » ('J')
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/util/process_version.gni") 5 import("//build/util/process_version.gni")
6 import("//chromecast/chromecast.gni") 6 import("//chromecast/chromecast.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 10 matching lines...) Expand all
21 } 21 }
22 22
23 if (is_android) { 23 if (is_android) {
24 assert(cast_product_type == 4) 24 assert(cast_product_type == 4)
25 } else { 25 } else {
26 assert(cast_product_type >= 0 && cast_product_type <= 3) 26 assert(cast_product_type >= 0 && cast_product_type <= 3)
27 } 27 }
28 28
29 source_set("base") { 29 source_set("base") {
30 sources = [ 30 sources = [
31 "alarm_manager.cc",
32 "alarm_manager.h",
31 "android/dumpstate_writer.cc", 33 "android/dumpstate_writer.cc",
32 "android/dumpstate_writer.h", 34 "android/dumpstate_writer.h",
33 "android/system_time_change_notifier_android.cc", 35 "android/system_time_change_notifier_android.cc",
34 "android/system_time_change_notifier_android.h", 36 "android/system_time_change_notifier_android.h",
35 "bind_to_task_runner.h", 37 "bind_to_task_runner.h",
36 "cast_constants.cc", 38 "cast_constants.cc",
37 "cast_constants.h", 39 "cast_constants.h",
38 "cast_paths.cc", 40 "cast_paths.cc",
39 "cast_paths.h", 41 "cast_paths.h",
40 "cast_resource.cc", 42 "cast_resource.cc",
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 ] 116 ]
115 117
116 public_deps = [ 118 public_deps = [
117 ":base", 119 ":base",
118 "//base", 120 "//base",
119 ] 121 ]
120 } 122 }
121 123
122 test("cast_base_unittests") { 124 test("cast_base_unittests") {
123 sources = [ 125 sources = [
126 "alarm_manager_unittest.cc",
124 "bind_to_task_runner_unittest.cc", 127 "bind_to_task_runner_unittest.cc",
125 "device_capabilities_impl_unittest.cc", 128 "device_capabilities_impl_unittest.cc",
126 "error_codes_unittest.cc", 129 "error_codes_unittest.cc",
127 "path_utils_unittest.cc", 130 "path_utils_unittest.cc",
128 "process_utils_unittest.cc", 131 "process_utils_unittest.cc",
129 "serializers_unittest.cc", 132 "serializers_unittest.cc",
130 "system_time_change_notifier_unittest.cc", 133 "system_time_change_notifier_unittest.cc",
131 ] 134 ]
132 135
133 deps = [ 136 deps = [
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 "$java_src_dir/org/chromium/chromecast/base/ChromecastConfigAndroid.java", 245 "$java_src_dir/org/chromium/chromecast/base/ChromecastConfigAndroid.java",
243 "$java_src_dir/org/chromium/chromecast/base/DumpstateWriter.java", 246 "$java_src_dir/org/chromium/chromecast/base/DumpstateWriter.java",
244 "$java_src_dir/org/chromium/chromecast/base/SystemTimeChangeNotifierAndroi d.java", 247 "$java_src_dir/org/chromium/chromecast/base/SystemTimeChangeNotifierAndroi d.java",
245 ] 248 ]
246 249
247 deps = [ 250 deps = [
248 "//base:base_java", 251 "//base:base_java",
249 ] 252 ]
250 } 253 }
251 } 254 }
OLDNEW
« no previous file with comments | « no previous file | chromecast/base/alarm_manager.h » ('j') | chromecast/base/alarm_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698