Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index afaf05a6f78dec51eba20a8fe62ab0107ce505f7..a2ba6be1429cc4916dd6fbb8cd0aedc4332c5164 100644 |
--- a/base/BUILD.gn |
+++ b/base/BUILD.gn |
@@ -895,13 +895,18 @@ component("base") { |
} else { |
# Non-Linux. |
sources -= [ |
- "linux_util.cc", |
- "linux_util.h", |
"nix/mime_util_xdg.cc", |
"nix/mime_util_xdg.h", |
"nix/xdg_util.cc", |
"nix/xdg_util.h", |
] |
+ |
+ if (!is_android) { |
+ sources -= [ |
+ "linux_util.cc", |
+ "linux_util.h", |
+ ] |
+ } |
} |
if (!use_glib) { |