OLD | NEW |
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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 "//ui/views", | 448 "//ui/views", |
449 "//ui/views/controls/webview", | 449 "//ui/views/controls/webview", |
450 ] | 450 ] |
451 deps += [ | 451 deps += [ |
452 "//chrome/installer/util:strings", | 452 "//chrome/installer/util:strings", |
453 "//components/search_engines", | 453 "//components/search_engines", |
454 "//google_update", | 454 "//google_update", |
455 "//third_party/iaccessible2", | 455 "//third_party/iaccessible2", |
456 "//third_party/isimpledom", | 456 "//third_party/isimpledom", |
457 "//third_party/wtl", | 457 "//third_party/wtl", |
458 "//ui/app_list", | |
459 "//ui/base/ime", | 458 "//ui/base/ime", |
460 "//ui/events:dom_keycode_converter", | 459 "//ui/events:dom_keycode_converter", |
461 ] | 460 ] |
462 if (!is_chrome_branded) { | 461 if (!is_chrome_branded) { |
463 deps -= [ "//google_update" ] | 462 deps -= [ "//google_update" ] |
464 sources -= [ "webui/help/version_updater_win.cc" ] | 463 sources -= [ "webui/help/version_updater_win.cc" ] |
465 sources += [ | 464 sources += [ |
466 "webui/help/version_updater_basic.cc", | 465 "webui/help/version_updater_basic.cc", |
467 "webui/help/version_updater_basic.h", | 466 "webui/help/version_updater_basic.h", |
468 ] | 467 ] |
469 } | 468 } |
| 469 if (enable_app_list) { |
| 470 deps += [ "//ui/app_list" ] |
| 471 } |
470 } else { # 'OS!="win" | 472 } else { # 'OS!="win" |
471 if (toolkit_views) { | 473 if (toolkit_views) { |
472 public_deps += [ | 474 public_deps += [ |
473 "//ui/views", | 475 "//ui/views", |
474 "//ui/views/controls/webview", | 476 "//ui/views/controls/webview", |
475 ] | 477 ] |
476 } | 478 } |
477 } | 479 } |
478 if (is_desktop_linux) { | 480 if (is_desktop_linux) { |
479 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_linux_sources, | 481 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_linux_sources, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 | 514 |
513 if (enable_app_list) { | 515 if (enable_app_list) { |
514 sources += rebase_path(gypi_values.chrome_browser_ui_app_list_sources, | 516 sources += rebase_path(gypi_values.chrome_browser_ui_app_list_sources, |
515 ".", | 517 ".", |
516 "//chrome") | 518 "//chrome") |
517 if (is_chromeos) { | 519 if (is_chromeos) { |
518 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_arc_sources, | 520 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_arc_sources, |
519 ".", | 521 ".", |
520 "//chrome") | 522 "//chrome") |
521 } | 523 } |
| 524 if (is_desktop_linux) { |
| 525 sources += |
| 526 rebase_path(gypi_values.chrome_browser_ui_app_list_linux_sources, |
| 527 ".", |
| 528 "//chrome") |
| 529 } |
522 if (!is_mac) { | 530 if (!is_mac) { |
523 sources += | 531 sources += |
524 rebase_path(gypi_values.chrome_browser_ui_app_list_views_sources, | 532 rebase_path(gypi_values.chrome_browser_ui_app_list_views_sources, |
525 ".", | 533 ".", |
526 "//chrome") | 534 "//chrome") |
527 } | 535 } |
528 deps += [ "//ui/app_list" ] | 536 deps += [ "//ui/app_list" ] |
529 } else { | 537 } else { |
530 sources += rebase_path(gypi_values.chrome_browser_ui_non_app_list_sources, | 538 sources += rebase_path(gypi_values.chrome_browser_ui_non_app_list_sources, |
531 ".", | 539 ".", |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 "//chrome/browser", | 685 "//chrome/browser", |
678 "//content/public/browser", | 686 "//content/public/browser", |
679 "//content/public/common", | 687 "//content/public/common", |
680 "//content/test:test_support", | 688 "//content/test:test_support", |
681 "//net:test_support", | 689 "//net:test_support", |
682 "//skia", | 690 "//skia", |
683 "//testing/gtest", | 691 "//testing/gtest", |
684 "//ui/base", | 692 "//ui/base", |
685 ] | 693 ] |
686 } | 694 } |
OLD | NEW |