Index: webrtc/api/BUILD.gn |
diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn |
index 2e3d77a03a3c8c8f54130b50db42d7470ecbad84..86a63e4dee852d325a5b00ac4ed23acea628c4d7 100644 |
--- a/webrtc/api/BUILD.gn |
+++ b/webrtc/api/BUILD.gn |
@@ -207,6 +207,17 @@ rtc_source_set("array_view") { |
] |
} |
+rtc_source_set("optional") { |
+ sources = [ |
+ "optional.cc", |
+ "optional.h", |
+ ] |
+ deps = [ |
+ ":array_view", |
+ "../rtc_base:rtc_base_approved", |
+ ] |
+} |
+ |
rtc_source_set("libjingle_peerconnection_test_api") { |
testonly = true |
sources = [ |
@@ -266,6 +277,7 @@ if (rtc_include_tests) { |
} |
sources = [ |
"array_view_unittest.cc", |
+ "optional_unittest.cc", |
"ortc/mediadescription_unittest.cc", |
"ortc/sessiondescription_unittest.cc", |
"rtcerror_unittest.cc", |
@@ -280,6 +292,7 @@ if (rtc_include_tests) { |
deps = [ |
":array_view", |
":libjingle_peerconnection_api", |
+ ":optional", |
":ortc_api", |
"../rtc_base:rtc_base_approved", |
"../rtc_base:rtc_base_tests_utils", |