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( | 9 gypi_values = exec_script( |
10 "//build/gypi_to_gn.py", | 10 "//build/gypi_to_gn.py", |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 ] | 360 ] |
361 } | 361 } |
362 } | 362 } |
363 if (is_desktop_linux) { | 363 if (is_desktop_linux) { |
364 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_linux_sources, | 364 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_linux_sources, |
365 ".", "//chrome") | 365 ".", "//chrome") |
366 } | 366 } |
367 if (is_linux) { # Both desktop Linux and ChromeOS. | 367 if (is_linux) { # Both desktop Linux and ChromeOS. |
368 sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources, | 368 sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources, |
369 ".", "//chrome") | 369 ".", "//chrome") |
370 configs += [ "//build/config/linux:udev" ] | 370 deps += [ "//device/udev_linux" ] |
371 if (use_aura) { | 371 if (use_aura) { |
372 configs += [ "//build/config/linux:fontconfig" ] | 372 configs += [ "//build/config/linux:fontconfig" ] |
373 deps += [ "//dbus" ] | 373 deps += [ "//dbus" ] |
374 } | 374 } |
375 if (use_x11) { | 375 if (use_x11) { |
376 sources += rebase_path(gypi_values.chrome_browser_ui_x11_sources, | 376 sources += rebase_path(gypi_values.chrome_browser_ui_x11_sources, |
377 ".", "//chrome") | 377 ".", "//chrome") |
378 configs += [ "//build/config/linux:x11" ] | 378 configs += [ "//build/config/linux:x11" ] |
379 deps += [ "//ui/events/devices" ] | 379 deps += [ "//ui/events/devices" ] |
380 if (is_chromeos) { | 380 if (is_chromeos) { |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 "//chrome/browser", | 493 "//chrome/browser", |
494 "//content/public/browser", | 494 "//content/public/browser", |
495 "//content/public/common", | 495 "//content/public/common", |
496 "//content/test:test_support", | 496 "//content/test:test_support", |
497 "//net:test_support", | 497 "//net:test_support", |
498 "//skia", | 498 "//skia", |
499 "//testing/gtest", | 499 "//testing/gtest", |
500 "//ui/base", | 500 "//ui/base", |
501 ] | 501 ] |
502 } | 502 } |
OLD | NEW |