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

Side by Side Diff: ui/events/BUILD.gn

Issue 2185163003: make use of existing gn args in ui build config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo fixup Created 4 years, 4 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 | « ui/accessibility/BUILD.gn ('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/features.gni")
5 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
6 import("//testing/test.gni") 7 import("//testing/test.gni")
7 import("//ui/ozone/ozone.gni") 8 import("//ui/ozone/ozone.gni")
8 9
9 if (is_android) { 10 if (is_android) {
10 import("//build/config/android/rules.gni") 11 import("//build/config/android/rules.gni")
11 } 12 }
12 13
13 if (is_ios) { 14 if (is_ios) {
14 import("//ios/build/config.gni") 15 import("//ios/build/config.gni")
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 ":gesture_detection", 139 ":gesture_detection",
139 "//base/third_party/dynamic_annotations", 140 "//base/third_party/dynamic_annotations",
140 "//skia", 141 "//skia",
141 "//ui/display", 142 "//ui/display",
142 "//ui/gfx", 143 "//ui/gfx",
143 "//ui/gfx/geometry", 144 "//ui/gfx/geometry",
144 ] 145 ]
145 146
146 if (use_x11) { 147 if (use_x11) {
147 sources += [ "x/events_x.cc" ] 148 sources += [ "x/events_x.cc" ]
148 configs += [ 149 configs += [ "//build/config/linux:x11" ]
149 "//build/config/linux:glib",
150 "//build/config/linux:x11",
151 ]
152 deps += [ 150 deps += [
153 "//ui/events/devices", 151 "//ui/events/devices",
154 "//ui/events/devices/x11", 152 "//ui/events/devices/x11",
155 "//ui/events/x", 153 "//ui/events/x",
156 "//ui/gfx/x", 154 "//ui/gfx/x",
157 ] 155 ]
158 } 156 }
159 157
158 if (use_glib) {
159 configs += [ "//build/config/linux:glib" ]
160 }
161
160 if (use_ozone || (is_android && use_aura)) { 162 if (use_ozone || (is_android && use_aura)) {
161 sources += [ "events_default.cc" ] 163 sources += [ "events_default.cc" ]
162 } 164 }
163 165
164 if (use_ozone) { 166 if (use_ozone) {
165 sources += [ 167 sources += [
166 "ozone/events_ozone.cc", 168 "ozone/events_ozone.cc",
167 "ozone/events_ozone.h", 169 "ozone/events_ozone.h",
168 ] 170 ]
169 deps += [ "//ui/events/ozone:events_ozone_layout" ] 171 deps += [ "//ui/events/ozone:events_ozone_layout" ]
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 generate_jar_jni("motionevent_jni_headers") { 470 generate_jar_jni("motionevent_jni_headers") {
469 jni_package = "ui" 471 jni_package = "ui"
470 classes = [ "android/view/MotionEvent.class" ] 472 classes = [ "android/view/MotionEvent.class" ]
471 } 473 }
472 474
473 generate_jar_jni("keyevent_jni_headers") { 475 generate_jar_jni("keyevent_jni_headers") {
474 jni_package = "ui" 476 jni_package = "ui"
475 classes = [ "android/view/KeyEvent.class" ] 477 classes = [ "android/view/KeyEvent.class" ]
476 } 478 }
477 } 479 }
OLDNEW
« no previous file with comments | « ui/accessibility/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698