Index: build/config/BUILD.gn |
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn |
index b6d0b71fa0edeaa9b20b0742821c8be9732e6ff8..73c7d831d4b30167708e6785414fdb68e09b2e0a 100644 |
--- a/build/config/BUILD.gn |
+++ b/build/config/BUILD.gn |
@@ -361,16 +361,9 @@ config("default_libs") { |
"m", |
] |
} else if (is_mac) { |
- libs = [ |
- "AppKit.framework", |
- "ApplicationServices.framework", |
- "Carbon.framework", |
- "CoreFoundation.framework", |
- "Foundation.framework", |
- "IOKit.framework", |
- "OpenGL.framework", |
- "Security.framework", |
- ] |
+ # Targets should choose to explicitly link frameworks they require. Since |
+ # linking can have run-time side effects, nothing should be listed here. |
+ libs = [] |
} else if (is_ios) { |
# The libraries listed here will be specified for both the target and the |
# host. Only the common ones should be listed here. |