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

Unified Diff: ui/events/BUILD.gn

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 | « ios/build/config.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/BUILD.gn
diff --git a/ui/events/BUILD.gn b/ui/events/BUILD.gn
index ecdf795dee818fd7f9c93eeb5e800c4739a311c1..cc5ab080c43f705d52da6bd592cc29813871c85d 100644
--- a/ui/events/BUILD.gn
+++ b/ui/events/BUILD.gn
@@ -10,6 +10,10 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
+if (is_ios) {
+ import("//ios/build/config.gni")
+}
+
static_library("dom_keycode_converter") {
sources = [
"keycodes/dom/dom_code.h",
@@ -459,6 +463,10 @@ test("events_unittests") {
if (is_android) {
sources += [ "android/motion_event_android_unittest.cc" ]
}
+
+ if (is_ios) {
+ assert_no_deps = ios_assert_no_deps
+ }
}
if (is_android) {
« no previous file with comments | « ios/build/config.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698