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

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

Issue 305513003: Add ppapi, improve Windows GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « skia/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/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 "win/scoped_ole_initializer.h", 244 "win/scoped_ole_initializer.h",
245 "win/shell.cc", 245 "win/shell.cc",
246 "win/shell.h", 246 "win/shell.h",
247 "win/touch_input.cc", 247 "win/touch_input.cc",
248 "win/touch_input.h", 248 "win/touch_input.h",
249 "win/window_event_target.cc", 249 "win/window_event_target.cc",
250 "win/window_event_target.h", 250 "win/window_event_target.h",
251 "window_open_disposition.cc", 251 "window_open_disposition.cc",
252 "window_open_disposition.h", 252 "window_open_disposition.h",
253 "work_area_watcher_observer.h", 253 "work_area_watcher_observer.h",
254 "x/selection_owner.cc",
255 "x/selection_owner.h",
256 "x/selection_requestor.cc",
257 "x/selection_requestor.h",
258 "x/selection_utils.cc",
259 "x/selection_utils.h",
260 "x/x11_menu_list.cc", 254 "x/x11_menu_list.cc",
261 "x/x11_menu_list.h", 255 "x/x11_menu_list.h",
262 "x/x11_util.cc", 256 "x/x11_util.cc",
263 "x/x11_util.h", 257 "x/x11_util.h",
264 "x/x11_util_internal.h", 258 "x/x11_util_internal.h",
265 ] 259 ]
266 260
267 defines = [ "UI_BASE_IMPLEMENTATION" ] 261 defines = [ "UI_BASE_IMPLEMENTATION" ]
268 262
269 deps = [ 263 deps = [
(...skipping 17 matching lines...) Expand all
287 "l10n/l10n_util_mac.mm", 281 "l10n/l10n_util_mac.mm",
288 ] 282 ]
289 } 283 }
290 284
291 if (toolkit_views) { 285 if (toolkit_views) {
292 deps += [ 286 deps += [
293 "//ui/events", 287 "//ui/events",
294 ] 288 ]
295 } 289 }
296 290
291 if (use_x11 && use_aura) {
292 sources += [
293 "x/selection_owner.cc",
294 "x/selection_owner.h",
295 "x/selection_requestor.cc",
296 "x/selection_requestor.h",
297 "x/selection_utils.cc",
298 "x/selection_utils.h",
299 ]
300 }
301
297 if (use_aura) { 302 if (use_aura) {
298 deps += [ 303 deps += [
299 "//ui/events", 304 "//ui/events",
300 ] 305 ]
301 } else { 306 } else {
302 sources -= [ 307 sources -= [
303 "cursor/cursor.cc", 308 "cursor/cursor.cc",
304 "cursor/cursor.h", 309 "cursor/cursor.h",
305 "dragdrop/drag_utils_aura.cc", 310 "dragdrop/drag_utils_aura.cc",
306 "x/selection_owner.cc",
307 "x/selection_owner.h",
308 "x/selection_requestor.cc",
309 "x/selection_requestor.h",
310 "x/selection_utils.cc",
311 "x/selection_utils.h",
312 ] 311 ]
313 } 312 }
314 if (!use_x11) { 313 if (!use_x11) {
315 sources -= [ 314 sources -= [
316 "x/x11_util.cc", 315 "x/x11_util.cc",
317 "x/x11_util.h", 316 "x/x11_util.h",
318 "x/x11_util_internal.h", 317 "x/x11_util_internal.h",
319 ] 318 ]
320 } 319 }
321 320
321 if (!use_ozone) {
322 sources -= [
323 "touch/touch_device_ozone.cc",
324 ]
325 }
326
322 if (!use_aura || !is_linux) { 327 if (!use_aura || !is_linux) {
323 sources -= [ 328 sources -= [
324 "resource/resource_bundle_auralinux.cc", 329 "resource/resource_bundle_auralinux.cc",
325 ] 330 ]
326 } 331 }
327 332
328 if (use_aura && is_win) { 333 if (use_aura && is_win) {
329 sources -= [ 334 sources -= [
330 "dragdrop/drag_utils_aura.cc", 335 "dragdrop/drag_utils_aura.cc",
331 ] 336 ]
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", 552 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java",
548 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java", 553 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java",
549 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", 554 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java",
550 "../android/java/src/org/chromium/ui/base/TouchDevice.java", 555 "../android/java/src/org/chromium/ui/base/TouchDevice.java",
551 "../android/java/src/org/chromium/ui/base/ViewAndroid.java", 556 "../android/java/src/org/chromium/ui/base/ViewAndroid.java",
552 "../android/java/src/org/chromium/ui/base/WindowAndroid.java", 557 "../android/java/src/org/chromium/ui/base/WindowAndroid.java",
553 ] 558 ]
554 jni_package = "base" 559 jni_package = "base"
555 } 560 }
556 } 561 }
OLDNEW
« no previous file with comments | « skia/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698