Port parts of //third_pary/libjingle build to GN
Reimplements parts of //third_party/libjingle's build in GN.
The new build is much less flexible than the original. No
configuration variables have been ported. Some windows-specific configs
have been left out and annotated with TODOs. Most signifcantly, the
entirety of the 'if (enable_webrtc)' block has been omitted, because the
GN build for webrtc isn't working yet.
Despite these limitations, it is an adequate replacement for the
'stub' libjingle target in most situations.
Note, this CL is a near direct copy of rlarocque's work at
https://codereview.chromium.org/455583002/
BUG=none
TBR=sky,pavely,rlarocque
Review URL: https://codereview.chromium.org/498603002
Cr-Commit-Position: refs/heads/master@{#291587}
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
index 7f5eb746..f05ea3b 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -21,7 +21,6 @@
configs += [
"//content:content_implementation",
- "//content:libjingle_stub_config",
]
deps = [
@@ -40,8 +39,7 @@
"//ui/shell_dialogs",
"//url",
"//third_party/WebKit/public:blink_headers",
- # TODO(GYP) convert these dependencies.
- #'../third_party/libjingle/libjingle.gyp:libjingle',
+ "//third_party/libjingle",
]
if (!is_ios) {