Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1258)

Unified Diff: ios/build/config.gni

Issue 1812823002: [iOS] Define global assert_no_deps and use it to prevent regressions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@components-invalidation
Patch Set: Address comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/BUILD.gn ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/build/config.gni
diff --git a/ios/build/config.gni b/ios/build/config.gni
new file mode 100644
index 0000000000000000000000000000000000000000..6c11f94b484cff89a85b2d01f0aa2661325a093f
--- /dev/null
+++ b/ios/build/config.gni
@@ -0,0 +1,23 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Global list of dependencies that are conceptually bad on iOS and should
+# never be added (they will never be supported).
+_ios_conceptually_bad_dependencies = [
+ "//cc/*",
+ "//content/*",
+ "//dbus/*",
+ "//ipc/*",
+ "//jingle/*",
+ "//media/*",
+ "//third_party/webrtc/*",
+ "//third_party/WebKit/*",
+]
+
+# Global list of conceptually fine dependencies but currently unsupported
+# on iOS. exclusions will be removed when the dependencies are fixed.
+_ios_transient_bad_dependencies = [ "//mojo/edk/*" ]
+
+ios_assert_no_deps =
+ _ios_conceptually_bad_dependencies + _ios_transient_bad_dependencies
« no previous file with comments | « components/BUILD.gn ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698