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 | 8 |
9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
10 [ rebase_path("../../chrome_browser_ui.gypi") ], | 10 [ rebase_path("../../chrome_browser_ui.gypi") ], |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 } | 378 } |
379 if (is_desktop_linux) { | 379 if (is_desktop_linux) { |
380 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_linux_sources, | 380 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_linux_sources, |
381 ".", | 381 ".", |
382 "//chrome") | 382 "//chrome") |
383 } | 383 } |
384 if (is_linux) { # Both desktop Linux and ChromeOS. | 384 if (is_linux) { # Both desktop Linux and ChromeOS. |
385 sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources, | 385 sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources, |
386 ".", | 386 ".", |
387 "//chrome") | 387 "//chrome") |
388 deps += [ "//device/udev_linux" ] | |
389 if (use_aura) { | 388 if (use_aura) { |
390 configs += [ "//build/config/linux:fontconfig" ] | 389 configs += [ "//build/config/linux:fontconfig" ] |
391 deps += [ "//dbus" ] | 390 deps += [ "//dbus" ] |
392 } | 391 } |
393 if (use_x11) { | 392 if (use_x11) { |
394 sources += rebase_path(gypi_values.chrome_browser_ui_x11_sources, | 393 sources += rebase_path(gypi_values.chrome_browser_ui_x11_sources, |
395 ".", | 394 ".", |
396 "//chrome") | 395 "//chrome") |
397 configs += [ "//build/config/linux:x11" ] | 396 configs += [ "//build/config/linux:x11" ] |
398 deps += [ "//ui/events/devices" ] | 397 deps += [ "//ui/events/devices" ] |
399 if (is_chromeos) { | 398 if (is_chromeos) { |
400 sources -= [ "views/tabs/window_finder_x11.cc" ] | 399 sources -= [ "views/tabs/window_finder_x11.cc" ] |
401 } | 400 } |
402 } | 401 } |
403 } | 402 } |
404 | 403 |
| 404 if (use_udev) { |
| 405 deps += [ "//device/udev_linux" ] |
| 406 } |
| 407 |
405 if (enable_app_list) { | 408 if (enable_app_list) { |
406 sources += rebase_path(gypi_values.chrome_browser_ui_app_list_sources, | 409 sources += rebase_path(gypi_values.chrome_browser_ui_app_list_sources, |
407 ".", | 410 ".", |
408 "//chrome") | 411 "//chrome") |
409 deps += [ "//ui/app_list" ] | 412 deps += [ "//ui/app_list" ] |
410 } else { | 413 } else { |
411 sources += rebase_path(gypi_values.chrome_browser_ui_non_app_list_sources, | 414 sources += rebase_path(gypi_values.chrome_browser_ui_non_app_list_sources, |
412 ".", | 415 ".", |
413 "//chrome") | 416 "//chrome") |
414 } | 417 } |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 "//chrome/browser", | 529 "//chrome/browser", |
527 "//content/public/browser", | 530 "//content/public/browser", |
528 "//content/public/common", | 531 "//content/public/common", |
529 "//content/test:test_support", | 532 "//content/test:test_support", |
530 "//net:test_support", | 533 "//net:test_support", |
531 "//skia", | 534 "//skia", |
532 "//testing/gtest", | 535 "//testing/gtest", |
533 "//ui/base", | 536 "//ui/base", |
534 ] | 537 ] |
535 } | 538 } |
OLD | NEW |