Index: webrtc/modules/BUILD.gn |
diff --git a/webrtc/modules/BUILD.gn b/webrtc/modules/BUILD.gn |
index e750a81097ffb5a9887ada2709af2cbf19c96e49..b6978258daa4abf020cc788d0f4cf1f57ba7dd83 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", |
@@ -211,7 +221,8 @@ if (rtc_include_tests) { |
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
} |
- deps += [ |
+ deps = [ |
+ ":module_api", |
"../test:test_main", |
"audio_coding:audio_coding_unittests", |
"audio_conference_mixer:audio_conference_mixer_unittests", |