Index: webrtc/modules/BUILD.gn |
diff --git a/webrtc/modules/BUILD.gn b/webrtc/modules/BUILD.gn |
index e750a81097ffb5a9887ada2709af2cbf19c96e49..88752ebf161719b9690552de34ce4bc0c46d0027 100644 |
--- a/webrtc/modules/BUILD.gn |
+++ b/webrtc/modules/BUILD.gn |
@@ -29,6 +29,18 @@ group("modules") { |
] |
} |
+rtc_source_set("module_api") { |
+ sources = [ |
+ "include/module.h", |
+ "include/module_common_types.h", |
+ ] |
+ deps = [ |
+ "..:webrtc_common", |
+ "../api:video_frame_api", |
+ "../base:rtc_base_approved", |
+ ] |
+} |
+ |
if (rtc_include_tests) { |
modules_tests_resources = [ |
"//resources/audio_coding/testfile32kHz.pcm", |
@@ -199,8 +211,6 @@ if (rtc_include_tests) { |
rtc_test("modules_unittests") { |
testonly = true |
- |
- deps = [] |
defines = [] |
sources = [ |
"module_common_types_unittest.cc", |
@@ -212,6 +222,7 @@ if (rtc_include_tests) { |
} |
deps += [ |
+ ":module_api", |
kjellander_webrtc
2017/04/26 09:36:32
Ouch, annoying mistake that reminds us to always r
|
"../test:test_main", |
"audio_coding:audio_coding_unittests", |
"audio_conference_mixer:audio_conference_mixer_unittests", |