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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 if (use_x11) { | 376 if (use_x11) { |
377 sources += rebase_path(gypi_values.chrome_browser_ui_x11_sources, | 377 sources += rebase_path(gypi_values.chrome_browser_ui_x11_sources, |
378 ".", "//chrome") | 378 ".", "//chrome") |
379 configs += [ "//build/config/linux:x11" ] | 379 configs += [ "//build/config/linux:x11" ] |
380 deps += [ "//ui/events/devices" ] | 380 deps += [ "//ui/events/devices" ] |
381 if (is_chromeos) { | 381 if (is_chromeos) { |
382 sources -= [ "views/tabs/window_finder_x11.cc" ] | 382 sources -= [ "views/tabs/window_finder_x11.cc" ] |
383 } | 383 } |
384 } | 384 } |
385 } | 385 } |
| 386 if (!is_ios && !is_android) { |
| 387 sources += rebase_path(gypi_values.chrome_browser_ui_non_mobile_sources, |
| 388 ".", "//chrome") |
| 389 deps += [ "//components/copresence" ] |
| 390 } |
386 | 391 |
387 if (enable_app_list) { | 392 if (enable_app_list) { |
388 sources += rebase_path(gypi_values.chrome_browser_ui_app_list_sources, | 393 sources += rebase_path(gypi_values.chrome_browser_ui_app_list_sources, |
389 ".", "//chrome") | 394 ".", "//chrome") |
390 deps += [ "//ui/app_list" ] | 395 deps += [ "//ui/app_list" ] |
391 } else { | 396 } else { |
392 sources += rebase_path(gypi_values.chrome_browser_ui_non_app_list_sources, | 397 sources += rebase_path(gypi_values.chrome_browser_ui_non_app_list_sources, |
393 ".", "//chrome") | 398 ".", "//chrome") |
394 } | 399 } |
395 if (enable_autofill_dialog) { | 400 if (enable_autofill_dialog) { |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 "//chrome/browser", | 499 "//chrome/browser", |
495 "//content/public/browser", | 500 "//content/public/browser", |
496 "//content/public/common", | 501 "//content/public/common", |
497 "//content/test:test_support", | 502 "//content/test:test_support", |
498 "//net:test_support", | 503 "//net:test_support", |
499 "//skia", | 504 "//skia", |
500 "//testing/gtest", | 505 "//testing/gtest", |
501 "//ui/base", | 506 "//ui/base", |
502 ] | 507 ] |
503 } | 508 } |
OLD | NEW |