diff options
author | jamesr <jamesr@chromium.org> | 2014-09-09 00:52:22 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-09 07:57:46 +0000 |
commit | 5008174cca5093531fbfd1f2a6df62e1196f0f4e (patch) | |
tree | b1f82fad7fc5a7acb35f4a57a7d0dad4ea6d9169 /content/test/BUILD.gn | |
parent | 9490ed19fe378514800ce0effa45a8285a441076 (diff) | |
download | chromium_src-5008174cca5093531fbfd1f2a6df62e1196f0f4e.zip chromium_src-5008174cca5093531fbfd1f2a6df62e1196f0f4e.tar.gz chromium_src-5008174cca5093531fbfd1f2a6df62e1196f0f4e.tar.bz2 |
GN: Make content and content_shell work when !enable_plugins
The android build has enable_plugins=false, so this gets the linux
!enable_plugins build working to get android closer.
R=brettw@chromium.org
Review URL: https://codereview.chromium.org/542883003
Cr-Commit-Position: refs/heads/master@{#293892}
Diffstat (limited to 'content/test/BUILD.gn')
-rw-r--r-- | content/test/BUILD.gn | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn index 6224b5f..0b07f6b 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" ] |