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

Unified Diff: chromecast/media/cma/backend/alsa/BUILD.gn

Issue 2860673003: [Chromecast] Correct libcast_governor behavior. (Closed)
Patch Set: address halliwell@'s comments Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/BUILD.gn ('k') | chromecast/media/cma/backend/alsa/post_processors/governor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cma/backend/alsa/BUILD.gn
diff --git a/chromecast/media/cma/backend/alsa/BUILD.gn b/chromecast/media/cma/backend/alsa/BUILD.gn
index 6647d166ba2960ece89698b265431ffafadac5e7..63dfa3609e7916808e5e53c47b5babcf0c00b158 100644
--- a/chromecast/media/cma/backend/alsa/BUILD.gn
+++ b/chromecast/media/cma/backend/alsa/BUILD.gn
@@ -134,15 +134,48 @@ source_set("test_support") {
]
}
+test("slew_volume_unittests") {
+ sources = [
+ "slew_volume_unittests.cc",
+ ]
+ deps = [
+ ":slew_volume",
+ "//base",
+ "//base/test:run_all_unittests",
+ "//media",
+ "//testing/gtest",
+ ]
+}
+
shared_library("libcast_governor_1.0") {
+ deps = [
+ ":governor",
+ ]
+}
+
+test("libcast_governor_unittests") {
sources = [
- "post_processors/governor_shlib.cc",
+ "post_processors/governor_unittest.cc",
+ ]
+ deps = [
+ ":governor",
+ "//base",
+ "//base/test:run_all_unittests",
+ "//media",
+ "//testing/gtest",
]
+}
+source_set("governor") {
+ sources = [
+ "post_processors/governor.cc",
+ "post_processors/governor.h",
+ ]
deps = [
":slew_volume",
"//base",
"//chromecast/base",
"//chromecast/public/media",
]
+ public_configs = [ "//chromecast/public:public_config" ]
}
« no previous file with comments | « chromecast/BUILD.gn ('k') | chromecast/media/cma/backend/alsa/post_processors/governor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698