summaryrefslogtreecommitdiffstats
path: root/chromecast/base/BUILD.gn
diff options
context:
space:
mode:
authoresum <esum@chromium.org>2015-10-12 15:48:38 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-12 22:49:21 +0000
commitaf8f4a128acc3a993c2a526fde6d142eb00b1603 (patch)
tree7aa349bacb3dc5e003eee4c47ade4d99634b5480 /chromecast/base/BUILD.gn
parent8007792478db51bdbfc4b26a6063d3b9ef8c0c3f (diff)
downloadchromium_src-af8f4a128acc3a993c2a526fde6d142eb00b1603.zip
chromium_src-af8f4a128acc3a993c2a526fde6d142eb00b1603.tar.gz
chromium_src-af8f4a128acc3a993c2a526fde6d142eb00b1603.tar.bz2
[Chromecast] Adds mechanism for holding device-specific capabilities.
The DeviceCapabilities class holds features that determine what operations are available on the device. Client code can both query and update the current value for a capability. Updates can be propagated to the rest of the system through an ObserverList. TEST=cast_base_unittests BUG=internal b/20121400 Review URL: https://codereview.chromium.org/1395643006 Cr-Commit-Position: refs/heads/master@{#353617}
Diffstat (limited to 'chromecast/base/BUILD.gn')
-rw-r--r--chromecast/base/BUILD.gn5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromecast/base/BUILD.gn b/chromecast/base/BUILD.gn
index 2b48a73..0cc4755 100644
--- a/chromecast/base/BUILD.gn
+++ b/chromecast/base/BUILD.gn
@@ -18,6 +18,9 @@ source_set("base") {
"cast_resource.h",
"chromecast_switches.cc",
"chromecast_switches.h",
+ "device_capabilities.h",
+ "device_capabilities_impl.cc",
+ "device_capabilities_impl.h",
"error_codes.cc",
"error_codes.h",
"path_utils.cc",
@@ -48,6 +51,7 @@ source_set("base") {
test("cast_base_unittests") {
sources = [
+ "device_capabilities_impl_unittest.cc",
"error_codes_unittest.cc",
"path_utils_unittest.cc",
"process_utils_unittest.cc",
@@ -60,6 +64,7 @@ test("cast_base_unittests") {
"//base",
"//base/test:run_all_unittests",
"//base/test:test_support",
+ "//testing/gmock",
"//testing/gtest",
]
}