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

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

Issue 1747773002: Make the ENABLE_APP_LIST build flag work on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016 header Created 4 years, 9 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 sources += rebase_path(gypi_values.chrome_browser_ui_non_ash_sources, 228 sources += rebase_path(gypi_values.chrome_browser_ui_non_ash_sources,
229 ".", 229 ".",
230 "//chrome") 230 "//chrome")
231 } 231 }
232 if (toolkit_views) { 232 if (toolkit_views) {
233 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources, 233 sources += rebase_path(gypi_values.chrome_browser_ui_views_sources,
234 ".", 234 ".",
235 "//chrome") 235 "//chrome")
236 deps += [ "//components/constrained_window" ] 236 deps += [ "//components/constrained_window" ]
237 237
238 if (enable_app_list) {
239 sources += rebase_path(
240 gypi_values.chrome_browser_ui_views_app_list_sources,
241 ".",
242 "//chrome")
243 }
238 if (enable_extensions) { 244 if (enable_extensions) {
239 deps += [ "//extensions/components/native_app_window" ] 245 deps += [ "//extensions/components/native_app_window" ]
240 } 246 }
241 247
242 if (!is_chromeos && (!is_mac || mac_views_browser)) { 248 if (!is_chromeos && (!is_mac || mac_views_browser)) {
243 sources += 249 sources +=
244 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, 250 rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources,
245 ".", 251 ".",
246 "//chrome") 252 "//chrome")
247 } 253 }
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 public_deps += [ 423 public_deps += [
418 "//ui/views", 424 "//ui/views",
419 "//ui/views/controls/webview", 425 "//ui/views/controls/webview",
420 ] 426 ]
421 } 427 }
422 } 428 }
423 if (is_desktop_linux) { 429 if (is_desktop_linux) {
424 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_linux_sources, 430 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_linux_sources,
425 ".", 431 ".",
426 "//chrome") 432 "//chrome")
433 if (enable_app_list) {
434 sources += rebase_path(
435 gypi_values.chrome_browser_ui_desktop_linux_app_list_sources,
436 ".",
437 "//chrome")
438 }
427 deps += [ 439 deps += [
428 "//ui/base/ime", 440 "//ui/base/ime",
429 "//ui/events:dom_keycode_converter", 441 "//ui/events:dom_keycode_converter",
430 ] 442 ]
431 } 443 }
432 if (is_linux) { # Both desktop Linux and ChromeOS. 444 if (is_linux) { # Both desktop Linux and ChromeOS.
433 sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources, 445 sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources,
434 ".", 446 ".",
435 "//chrome") 447 "//chrome")
436 if (use_aura) { 448 if (use_aura) {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 "//chrome/browser", 628 "//chrome/browser",
617 "//content/public/browser", 629 "//content/public/browser",
618 "//content/public/common", 630 "//content/public/common",
619 "//content/test:test_support", 631 "//content/test:test_support",
620 "//net:test_support", 632 "//net:test_support",
621 "//skia", 633 "//skia",
622 "//testing/gtest", 634 "//testing/gtest",
623 "//ui/base", 635 "//ui/base",
624 ] 636 ]
625 } 637 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698