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

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

Issue 305993002: Update skia and ui GN builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git log 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 | « tools/gn/secondary/third_party/sfntly/BUILD.gn ('k') | ui/events/BUILD.gn » ('j') | 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 "resource/resource_bundle_mac.mm", 187 "resource/resource_bundle_mac.mm",
188 "resource/resource_bundle_win.cc", 188 "resource/resource_bundle_win.cc",
189 "resource/resource_bundle_win.h", 189 "resource/resource_bundle_win.h",
190 "resource/resource_data_dll_win.cc", 190 "resource/resource_data_dll_win.cc",
191 "resource/resource_data_dll_win.h", 191 "resource/resource_data_dll_win.h",
192 "resource/resource_handle.h", 192 "resource/resource_handle.h",
193 "text/bytes_formatting.cc", 193 "text/bytes_formatting.cc",
194 "text/bytes_formatting.h", 194 "text/bytes_formatting.h",
195 "theme_provider.cc", 195 "theme_provider.cc",
196 "theme_provider.h", 196 "theme_provider.h",
197 "touch/touch_device.cc",
198 "touch/touch_device.h", 197 "touch/touch_device.h",
199 "touch/touch_device_android.cc",
200 "touch/touch_device_ozone.cc",
201 "touch/touch_device_win.cc",
202 "touch/touch_editing_controller.cc", 198 "touch/touch_editing_controller.cc",
203 "touch/touch_editing_controller.h", 199 "touch/touch_editing_controller.h",
204 "touch/touch_enabled.cc", 200 "touch/touch_enabled.cc",
205 "touch/touch_enabled.h", 201 "touch/touch_enabled.h",
206 "ui_base_exports.cc", 202 "ui_base_exports.cc",
207 "ui_base_paths.cc", 203 "ui_base_paths.cc",
208 "ui_base_paths.h", 204 "ui_base_paths.h",
209 "ui_base_switches.cc", 205 "ui_base_switches.cc",
210 "ui_base_switches.h", 206 "ui_base_switches.h",
211 "ui_base_switches_util.cc", 207 "ui_base_switches_util.cc",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 "window_open_disposition.cc", 247 "window_open_disposition.cc",
252 "window_open_disposition.h", 248 "window_open_disposition.h",
253 "work_area_watcher_observer.h", 249 "work_area_watcher_observer.h",
254 "x/x11_menu_list.cc", 250 "x/x11_menu_list.cc",
255 "x/x11_menu_list.h", 251 "x/x11_menu_list.h",
256 "x/x11_util.cc", 252 "x/x11_util.cc",
257 "x/x11_util.h", 253 "x/x11_util.h",
258 "x/x11_util_internal.h", 254 "x/x11_util_internal.h",
259 ] 255 ]
260 256
257 if (is_win) {
258 sources += [ "touch/touch_device_win.cc" ]
tfarina 2014/05/30 05:23:27 why is that? aren't the exclusion rules working?
259 } else if (is_android) {
260 sources += [ "touch/touch_device_android.cc" ]
261 } else if (use_ozone) {
262 sources += [ "touch/touch_device_ozone.cc" ]
263 } else if (use_aura && use_x11) {
264 sources += [ "touch/touch_device_aurax11.cc" ]
265 } else {
266 # Empty implementation for all other cases.
267 sources += [ "touch/touch_device.cc" ]
268 }
269
261 defines = [ "UI_BASE_IMPLEMENTATION" ] 270 defines = [ "UI_BASE_IMPLEMENTATION" ]
262 271
263 deps = [ 272 deps = [
264 "//base", 273 "//base",
265 "//base/third_party/dynamic_annotations", 274 "//base/third_party/dynamic_annotations",
266 "//base:base_static", 275 "//base:base_static",
267 "//base:i18n", 276 "//base:i18n",
268 "//net", 277 "//net",
269 "//skia", 278 "//skia",
270 "//third_party/icu", 279 "//third_party/icu",
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 ] 320 ]
312 } 321 }
313 if (!use_x11) { 322 if (!use_x11) {
314 sources -= [ 323 sources -= [
315 "x/x11_util.cc", 324 "x/x11_util.cc",
316 "x/x11_util.h", 325 "x/x11_util.h",
317 "x/x11_util_internal.h", 326 "x/x11_util_internal.h",
318 ] 327 ]
319 } 328 }
320 329
321 if (!use_ozone) {
322 sources -= [
323 "touch/touch_device_ozone.cc",
324 ]
325 }
326
327 if (!use_aura || !is_linux) { 330 if (!use_aura || !is_linux) {
328 sources -= [ 331 sources -= [
329 "resource/resource_bundle_auralinux.cc", 332 "resource/resource_bundle_auralinux.cc",
330 ] 333 ]
331 } 334 }
332 335
333 if (use_aura && is_win) { 336 if (use_aura && is_win) {
334 sources -= [ 337 sources -= [
335 "dragdrop/drag_utils_aura.cc", 338 "dragdrop/drag_utils_aura.cc",
336 ] 339 ]
(...skipping 19 matching lines...) Expand all
356 configs += [ 359 configs += [
357 "//build/config/linux:pangocairo", 360 "//build/config/linux:pangocairo",
358 ] 361 ]
359 } 362 }
360 363
361 if (is_chromeos || (use_aura && is_linux && !use_x11)) { 364 if (is_chromeos || (use_aura && is_linux && !use_x11)) {
362 sources += [ 365 sources += [
363 "dragdrop/os_exchange_data_provider_aura.cc", 366 "dragdrop/os_exchange_data_provider_aura.cc",
364 "dragdrop/os_exchange_data_provider_aura.h", 367 "dragdrop/os_exchange_data_provider_aura.h",
365 ] 368 ]
366 sources -= [
367 "touch/touch_device.cc",
368 ]
369 } 369 }
370 370
371 libs = [] 371 libs = []
372 if (is_win) { 372 if (is_win) {
373 deps += [ 373 deps += [
374 "//third_party/wtl", 374 "//third_party/wtl",
375 ] 375 ]
376 sources -= [
377 "touch/touch_device.cc",
378 ]
379 cflags = [ 376 cflags = [
380 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int. 377 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int.
381 "/wd4324", # Structure was padded due to __declspec(align()), which is 378 "/wd4324", # Structure was padded due to __declspec(align()), which is
382 # uninteresting. 379 # uninteresting.
383 ] 380 ]
384 ldflags = [ 381 ldflags = [
385 "/DELAYLOAD:d2d1.dll", 382 "/DELAYLOAD:d2d1.dll",
386 "/DELAYLOAD:d3d10_1.dll", 383 "/DELAYLOAD:d3d10_1.dll",
387 "/DELAYLOAD:dwmapi.dll", 384 "/DELAYLOAD:dwmapi.dll",
388 ] 385 ]
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 "//build/config/linux:x11" 429 "//build/config/linux:x11"
433 ] 430 ]
434 } 431 }
435 432
436 if (use_aura) { 433 if (use_aura) {
437 if (use_x11) { 434 if (use_x11) {
438 sources += [ 435 sources += [
439 "cursor/cursor_loader_x11.cc", 436 "cursor/cursor_loader_x11.cc",
440 "cursor/cursor_loader_x11.h", 437 "cursor/cursor_loader_x11.h",
441 "cursor/cursor_x11.cc", 438 "cursor/cursor_x11.cc",
442 "touch/touch_device_aurax11.cc",
443 ] 439 ]
444 if (!is_chromeos) { 440 if (!is_chromeos) {
445 # These Aura X11 files aren't used on ChromeOS. 441 # These Aura X11 files aren't used on ChromeOS.
446 sources += [ 442 sources += [
447 "dragdrop/os_exchange_data_provider_aurax11.cc", 443 "dragdrop/os_exchange_data_provider_aurax11.cc",
448 "dragdrop/os_exchange_data_provider_aurax11.h", 444 "dragdrop/os_exchange_data_provider_aurax11.h",
449 ] 445 ]
450 } 446 }
451 } 447 }
452 } 448 }
(...skipping 12 matching lines...) Expand all
465 461
466 if (is_android) { 462 if (is_android) {
467 sources -= [ 463 sources -= [
468 "default_theme_provider.cc", 464 "default_theme_provider.cc",
469 "dragdrop/drag_utils.cc", 465 "dragdrop/drag_utils.cc",
470 "dragdrop/drag_utils.h", 466 "dragdrop/drag_utils.h",
471 "l10n/l10n_font_util.cc", 467 "l10n/l10n_font_util.cc",
472 "models/button_menu_item_model.cc", 468 "models/button_menu_item_model.cc",
473 "models/dialog_model.cc", 469 "models/dialog_model.cc",
474 "theme_provider.cc", 470 "theme_provider.cc",
475 "touch/touch_device.cc",
476 "touch/touch_editing_controller.cc", 471 "touch/touch_editing_controller.cc",
477 "ui_base_types.cc", 472 "ui_base_types.cc",
478 ] 473 ]
479 474
480 deps += [ 475 deps += [
481 ":ui_base_jni_headers", 476 ":ui_base_jni_headers",
482 ] 477 ]
483 478
484 libs += [ 479 libs += [
485 "jnigraphics", 480 "jnigraphics",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", 547 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java",
553 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java", 548 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java",
554 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", 549 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java",
555 "../android/java/src/org/chromium/ui/base/TouchDevice.java", 550 "../android/java/src/org/chromium/ui/base/TouchDevice.java",
556 "../android/java/src/org/chromium/ui/base/ViewAndroid.java", 551 "../android/java/src/org/chromium/ui/base/ViewAndroid.java",
557 "../android/java/src/org/chromium/ui/base/WindowAndroid.java", 552 "../android/java/src/org/chromium/ui/base/WindowAndroid.java",
558 ] 553 ]
559 jni_package = "base" 554 jni_package = "base"
560 } 555 }
561 } 556 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/third_party/sfntly/BUILD.gn ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698