Index: components/mime_util/BUILD.gn |
diff --git a/components/mime_util/BUILD.gn b/components/mime_util/BUILD.gn |
index 096db1acbfaf494fcb8426c3a74e68a4ad6d575b..0e3a8137a7adfd9b48b781ea6dc5128bf03c126b 100644 |
--- a/components/mime_util/BUILD.gn |
+++ b/components/mime_util/BUILD.gn |
@@ -12,6 +12,11 @@ static_library("mime_util") { |
"//base", |
"//net", |
] |
+ |
+ # iOS doesn't use and must not depend on //media |
+ if (!is_ios) { |
+ deps += [ "//media" ] |
+ } |
} |
source_set("unit_tests") { |