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..4a408042e235dcd5e62af058cd0b3e31aee8c707 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_shlib.cc", |
+ "post_processors/governor_shlib.h", |
+ ] |
deps = [ |
":slew_volume", |
"//base", |
"//chromecast/base", |
"//chromecast/public/media", |
] |
+ public_configs = [ "//chromecast/public:public_config" ] |
} |