summaryrefslogtreecommitdiffstats
path: root/ios
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2016-03-21 07:45:49 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-21 14:46:49 +0000
commitbb3d6abbcdd5471561da7ea8da7740048e4b4a01 (patch)
tree19516605c5036de5431701ad25d5bb27eb1b1962 /ios
parentd0e42b4255f3fcda9ae5180b855e2b745a9763b1 (diff)
downloadchromium_src-bb3d6abbcdd5471561da7ea8da7740048e4b4a01.zip
chromium_src-bb3d6abbcdd5471561da7ea8da7740048e4b4a01.tar.gz
chromium_src-bb3d6abbcdd5471561da7ea8da7740048e4b4a01.tar.bz2
[iOS] Define global assert_no_deps and use it to prevent regressions.
Define a global assert_no_deps on iOS (in ios/build/config.gni) and use it in targets that have been fixed to work on iOS to prevent further regression. BUG=297668 Review URL: https://codereview.chromium.org/1812823002 Cr-Commit-Position: refs/heads/master@{#382286}
Diffstat (limited to 'ios')
-rw-r--r--ios/build/config.gni23
1 files changed, 23 insertions, 0 deletions
diff --git a/ios/build/config.gni b/ios/build/config.gni
new file mode 100644
index 0000000..6c11f94
--- /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