Index: content/common/BUILD.gn |
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn |
index faf6e0dc37b7aa60409faf593471932c161a7f37..92bc3be72f010cec190db124a57b2d64dacd0929 100644 |
--- a/content/common/BUILD.gn |
+++ b/content/common/BUILD.gn |
@@ -149,6 +149,7 @@ source_set("common") { |
public_deps = [ |
"//gpu/command_buffer/common", |
+ "//ipc", |
"//third_party/WebKit/public:blink_headers", |
] |
deps = [ |
@@ -270,7 +271,7 @@ source_set("common") { |
libs += [ "android" ] |
} |
- if (is_debug && !is_component_build) { |
+ if (is_debug && !is_component_build && enable_plugins) { |
# Content depends on the PPAPI message logging stuff; if this isn't here, |
# some unit test binaries won't compile. This only worked in release mode |
# because logging is disabled there. |