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

Side by Side Diff: chrome/browser/ui/BUILD.gn

Issue 1861233003: Prepare for building with enable_app_list=0 on Desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drop patchset dependency, rebase to master Created 4 years, 7 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
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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//chrome/common/features.gni") 8 import("//chrome/common/features.gni")
9 9
10 gypi_values = exec_script("//build/gypi_to_gn.py", 10 gypi_values = exec_script("//build/gypi_to_gn.py",
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 "//ui/views", 443 "//ui/views",
444 "//ui/views/controls/webview", 444 "//ui/views/controls/webview",
445 ] 445 ]
446 deps += [ 446 deps += [
447 "//chrome/installer/util:strings", 447 "//chrome/installer/util:strings",
448 "//components/search_engines", 448 "//components/search_engines",
449 "//google_update", 449 "//google_update",
450 "//third_party/iaccessible2", 450 "//third_party/iaccessible2",
451 "//third_party/isimpledom", 451 "//third_party/isimpledom",
452 "//third_party/wtl", 452 "//third_party/wtl",
453 "//ui/app_list",
454 "//ui/base/ime", 453 "//ui/base/ime",
455 "//ui/events:dom_keycode_converter", 454 "//ui/events:dom_keycode_converter",
456 ] 455 ]
457 if (!is_chrome_branded) { 456 if (!is_chrome_branded) {
458 deps -= [ "//google_update" ] 457 deps -= [ "//google_update" ]
459 sources -= [ "webui/help/version_updater_win.cc" ] 458 sources -= [ "webui/help/version_updater_win.cc" ]
460 sources += [ 459 sources += [
461 "webui/help/version_updater_basic.cc", 460 "webui/help/version_updater_basic.cc",
462 "webui/help/version_updater_basic.h", 461 "webui/help/version_updater_basic.h",
463 ] 462 ]
464 } 463 }
464 if (enable_app_list) {
465 deps += [ "//ui/app_list" ]
466 }
465 } else { # 'OS!="win" 467 } else { # 'OS!="win"
466 if (toolkit_views) { 468 if (toolkit_views) {
467 public_deps += [ 469 public_deps += [
468 "//ui/views", 470 "//ui/views",
469 "//ui/views/controls/webview", 471 "//ui/views/controls/webview",
470 ] 472 ]
471 } 473 }
472 } 474 }
473 if (is_desktop_linux) { 475 if (is_desktop_linux) {
474 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_linux_sources, 476 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_linux_sources,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 509
508 if (enable_app_list) { 510 if (enable_app_list) {
509 sources += rebase_path(gypi_values.chrome_browser_ui_app_list_sources, 511 sources += rebase_path(gypi_values.chrome_browser_ui_app_list_sources,
510 ".", 512 ".",
511 "//chrome") 513 "//chrome")
512 if (is_chromeos) { 514 if (is_chromeos) {
513 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_arc_sources, 515 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_arc_sources,
514 ".", 516 ".",
515 "//chrome") 517 "//chrome")
516 } 518 }
519 if (is_desktop_linux) {
Matt Giuca 2016/05/03 07:31:16 Can you explain what this is doing?
tapted 2016/05/04 09:55:43 This is adding the app_list_linux_sources - i.e. t
Matt Giuca 2016/05/05 00:26:30 Acknowledged.
520 sources +=
521 rebase_path(gypi_values.chrome_browser_ui_app_list_linux_sources,
522 ".",
523 "//chrome")
524 }
525 if (!is_mac) {
526 sources +=
527 rebase_path(gypi_values.chrome_browser_ui_app_list_views_sources,
528 ".",
529 "//chrome")
530 }
517 deps += [ "//ui/app_list" ] 531 deps += [ "//ui/app_list" ]
518 } else { 532 } else {
519 sources += rebase_path(gypi_values.chrome_browser_ui_non_app_list_sources, 533 sources += rebase_path(gypi_values.chrome_browser_ui_non_app_list_sources,
520 ".", 534 ".",
521 "//chrome") 535 "//chrome")
522 } 536 }
523 if (enable_autofill_dialog) { 537 if (enable_autofill_dialog) {
524 sources += 538 sources +=
525 rebase_path(gypi_values.chrome_browser_ui_autofill_dialog_sources, 539 rebase_path(gypi_values.chrome_browser_ui_autofill_dialog_sources,
526 ".", 540 ".",
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 "//chrome/browser", 680 "//chrome/browser",
667 "//content/public/browser", 681 "//content/public/browser",
668 "//content/public/common", 682 "//content/public/common",
669 "//content/test:test_support", 683 "//content/test:test_support",
670 "//net:test_support", 684 "//net:test_support",
671 "//skia", 685 "//skia",
672 "//testing/gtest", 686 "//testing/gtest",
673 "//ui/base", 687 "//ui/base",
674 ] 688 ]
675 } 689 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698