Index: build/config/ios/rules.gni |
diff --git a/build/config/ios/rules.gni b/build/config/ios/rules.gni |
index 5bf2bd7cd489357144fb94994b29b941368d595a..850559d4588243702bf53c96a0cb219844a309c1 100644 |
--- a/build/config/ios/rules.gni |
+++ b/build/config/ios/rules.gni |
@@ -111,6 +111,26 @@ template("app") { |
libs = [] |
} |
libs += [ "UIKit.framework" ] |
+ |
+ if (is_ios) { |
+ assert_no_deps = [ |
brettw
2016/03/15 18:04:17
I think we should forward this from the invoker to
|
+ # Those dependencies are conceptually bad on iOS and should never be |
+ # added (they will never be supported). |
+ "//cc/*", |
+ "//content/*", |
+ "//dbus/*", |
+ "//ipc/*", |
+ "//jingle/*", |
+ "//media/*", |
+ "//third_party/webrtc/*", |
+ "//third_party/WebKit/*", |
+ |
+ # Those dependencies are conceptually fine, but currently does not |
+ # build on iOS. The exclusion will be removed when the dependencies |
+ # are fixed. |
+ "//mojo/edk/*", |
+ ] |
+ } |
} |
bundle_data(_bundle_data_executable) { |