Index: content/child/BUILD.gn |
diff --git a/content/child/BUILD.gn b/content/child/BUILD.gn |
index 86e154d319c6ef47efe77090376eb543682ca30a..eb1f7d0cad478ff095b67b6c923417fe04c843c1 100644 |
--- a/content/child/BUILD.gn |
+++ b/content/child/BUILD.gn |
@@ -59,10 +59,6 @@ source_set("child") { |
if (enable_plugins) { |
deps += [ "//ppapi/proxy" ] |
- |
- if (is_win || is_android || !use_aura) { |
- sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
- } |
} else { |
sources -= [ |
"browser_font_resource_trusted.cc", |
@@ -96,7 +92,9 @@ source_set("child") { |
} else if (is_android) { |
sources -= [ "npapi/webplugin_delegate_impl_android.cc" ] |
} |
- sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
+ if (use_aura) { |
+ sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
+ } |
} |
configs += [ |
@@ -126,4 +124,8 @@ 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" ] |
+ } |
} |