Index: content/app/BUILD.gn |
diff --git a/content/app/BUILD.gn b/content/app/BUILD.gn |
index b83b52998ecaa4a9f2c196d54607b94851ace133..7d3e5ee8f09bbead9eca0d67f24df23a3259893f 100644 |
--- a/content/app/BUILD.gn |
+++ b/content/app/BUILD.gn |
@@ -3,6 +3,7 @@ |
# found in the LICENSE file. |
import("//build/config/chrome_build.gni") |
+import("//build/config/ui.gni") |
content_app_sources = [ |
"android/app_jni_registrar.cc", |
@@ -49,8 +50,10 @@ if (is_win) { |
"//device/vibration", |
"//skia", |
"//third_party/android_tools:cpu_features", |
- "//ui/android", |
] |
+ if (!use_aura) { |
+ content_app_deps += [ "//ui/android" ] |
+ } |
} |
if (is_ios) { |