Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: content/test/BUILD.gn

Issue 542883003: GN: Make content and content_shell work when !enable_plugins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/BUILD.gn
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn
index 6224b5f972c3086407305675d8b9ca1bf79bbc54..0b07f6bf4537175e77584d70842819fb08d7499b 100644
--- a/content/test/BUILD.gn
+++ b/content/test/BUILD.gn
@@ -44,7 +44,6 @@ static_library("test_support") {
"//content/browser/speech/proto",
"//content/child",
"//content/gpu",
- "//content/ppapi_plugin",
"//content/public/renderer",
"//content/public/utility",
"//cc",
@@ -66,6 +65,10 @@ static_library("test_support") {
"//third_party/WebKit/public:blink",
]
+ if (enable_plugins) {
+ deps += [ "//content/ppapi_plugin" ]
+ }
+
if (enable_webrtc) {
# TODO(GYP) remove this when libjingle is converted.
configs += [ "//third_party/libjingle:jingle_direct_dependent_configs" ]
@@ -87,6 +90,9 @@ static_library("test_support") {
"//third_party/webrtc/modules/video_capture",
]
}
+ if (!enable_plugins) {
+ sources -= [ "ppapi_unittest.cc" ]
+ }
if (use_glib) {
configs += [ "//build/config/linux:glib" ]
« no previous file with comments | « content/shell/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698