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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « ios/build/config.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//ui/ozone/ozone.gni") 7 import("//ui/ozone/ozone.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
11 } 11 }
12 12
13 if (is_ios) {
14 import("//ios/build/config.gni")
15 }
16
13 static_library("dom_keycode_converter") { 17 static_library("dom_keycode_converter") {
14 sources = [ 18 sources = [
15 "keycodes/dom/dom_code.h", 19 "keycodes/dom/dom_code.h",
16 "keycodes/dom/dom_key.h", 20 "keycodes/dom/dom_key.h",
17 "keycodes/dom/dom_key_data.inc", 21 "keycodes/dom/dom_key_data.inc",
18 "keycodes/dom/keycode_converter.cc", 22 "keycodes/dom/keycode_converter.cc",
19 "keycodes/dom/keycode_converter.h", 23 "keycodes/dom/keycode_converter.h",
20 "keycodes/dom/keycode_converter_data.inc", 24 "keycodes/dom/keycode_converter_data.inc",
21 ] 25 ]
22 26
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 if (use_aura) { 456 if (use_aura) {
453 sources += [ 457 sources += [
454 "gestures/gesture_provider_aura_unittest.cc", 458 "gestures/gesture_provider_aura_unittest.cc",
455 "gestures/motion_event_aura_unittest.cc", 459 "gestures/motion_event_aura_unittest.cc",
456 ] 460 ]
457 } 461 }
458 462
459 if (is_android) { 463 if (is_android) {
460 sources += [ "android/motion_event_android_unittest.cc" ] 464 sources += [ "android/motion_event_android_unittest.cc" ]
461 } 465 }
466
467 if (is_ios) {
468 assert_no_deps = ios_assert_no_deps
469 }
462 } 470 }
463 471
464 if (is_android) { 472 if (is_android) {
465 generate_jar_jni("motionevent_jni_headers") { 473 generate_jar_jni("motionevent_jni_headers") {
466 jni_package = "ui" 474 jni_package = "ui"
467 classes = [ "android/view/MotionEvent.class" ] 475 classes = [ "android/view/MotionEvent.class" ]
468 } 476 }
469 477
470 generate_jar_jni("keyevent_jni_headers") { 478 generate_jar_jni("keyevent_jni_headers") {
471 jni_package = "ui" 479 jni_package = "ui"
472 classes = [ "android/view/KeyEvent.class" ] 480 classes = [ "android/view/KeyEvent.class" ]
473 } 481 }
474 } 482 }
OLDNEW
« 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