Index: content/child/BUILD.gn |
diff --git a/content/child/BUILD.gn b/content/child/BUILD.gn |
index 0d13f5d99ff675e20aa04ab3a76dc9e88ba27a48..ab330ade982b9f3398eaba1dc73c11ed862f6537 100644 |
--- a/content/child/BUILD.gn |
+++ b/content/child/BUILD.gn |
@@ -56,6 +56,10 @@ source_set("child") { |
if (enable_plugins) { |
deps += [ "//ppapi/proxy" ] |
+ |
+ if (is_win || is_android) { |
+ sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
+ } |
} else { |
sources -= [ |
"browser_font_resource_trusted.cc", |
@@ -99,9 +103,7 @@ source_set("child") { |
} else if (is_android) { |
sources -= [ "npapi/webplugin_delegate_impl_android.cc" ] |
} |
- if (use_aura) { |
- sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
- } |
+ sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
no sievers
2015/11/02 22:27:15
nit: you should be able to keep the 'if (use_aura)
mfomitchev
2015/11/02 22:56:32
If we try to remove something that wasn't added, t
|
} |
configs += [ |
@@ -131,8 +133,4 @@ source_set("child") { |
# This file is already excluded on non-Mac. |
sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] |
} |
- |
- if (is_win || !use_aura) { |
- sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
- } |
} |