Don't compile permissions infobars on desktop.
Don't compile permissions bubbles on Android.
this lops 31kB off my desktop Linux build (win and cros changes should be similar).
BUG=536129
Review URL: https://codereview.chromium.org/1373643002
Cr-Commit-Position: refs/heads/master@{#352093}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 6b5a1374..ee23e48 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -602,7 +602,12 @@
sources += rebase_path(gypi_values.chrome_browser_notifications_sources,
".",
"//chrome")
- if (!is_android) {
+ if (is_android) {
+ sources +=
+ rebase_path(gypi_values.chrome_browser_notifications_android_sources,
+ ".",
+ "//chrome")
+ } else {
sources += rebase_path(
gypi_values.chrome_browser_notifications_non_android_sources,
".",