| 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" ]
|
|
|