Cleanup: Remove some avatar desktop files and power collector files from the Android build.
Also move a couple #includes into the right #ifdef.
BUG=159847
Review URL: https://codereview.chromium.org/680573003
Cr-Commit-Position: refs/heads/master@{#301721}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index f8e1a3b..d26c899 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -476,6 +476,11 @@
".", "//chrome")
}
+ if (!is_android && !is_ios && !is_chromeos) {
+ sources += rebase_path(gypi_values.chrome_browser_desktop_sources,
+ ".", "//chrome")
+ }
+
if (is_android || is_ios) {
# Mobile.
sources += rebase_path(gypi_values.chrome_browser_mobile_sources,