| Index: ash/BUILD.gn
|
| diff --git a/ash/BUILD.gn b/ash/BUILD.gn
|
| index 2700da75a5b2ab37a288178490f1aa89beb2bdf8..fec50252f5c5b0bee193a4b611aab2a6e4d9b426 100644
|
| --- a/ash/BUILD.gn
|
| +++ b/ash/BUILD.gn
|
| @@ -349,46 +349,48 @@ test("ash_unittests") {
|
| }
|
| }
|
|
|
| -executable("ash_shell") {
|
| - testonly = true
|
| - sources = [
|
| - "shell/shell_main.cc",
|
| - ]
|
| +if (!is_win || link_chrome_on_windows) {
|
| + executable("ash_shell") {
|
| + testonly = true
|
| + sources = [
|
| + "shell/shell_main.cc",
|
| + ]
|
|
|
| - deps = [
|
| - ":ash_shell_lib",
|
| - "//components/user_manager",
|
| - ]
|
| + deps = [
|
| + ":ash_shell_lib",
|
| + "//components/user_manager",
|
| + ]
|
|
|
| - if (is_win) {
|
| - configs -= [ "//build/config/win:console" ]
|
| - configs += [ "//build/config/win:windowed" ]
|
| - deps += [ "//sandbox" ]
|
| - }
|
| + if (is_win) {
|
| + configs -= [ "//build/config/win:console" ]
|
| + configs += [ "//build/config/win:windowed" ]
|
| + deps += [ "//sandbox" ]
|
| + }
|
|
|
| - if (is_chromeos) {
|
| - deps += [ "//device/bluetooth" ]
|
| + if (is_chromeos) {
|
| + deps += [ "//device/bluetooth" ]
|
| + }
|
| }
|
| -}
|
|
|
| -test("ash_shell_unittests") {
|
| - sources = [
|
| - "shell/window_watcher_unittest.cc",
|
| - "test/ash_unittests.cc",
|
| - ]
|
| + test("ash_shell_unittests") {
|
| + sources = [
|
| + "shell/window_watcher_unittest.cc",
|
| + "test/ash_unittests.cc",
|
| + ]
|
|
|
| - deps = [
|
| - ":ash_shell_lib",
|
| - ":test_support",
|
| - "//base/test:test_support",
|
| - "//components/user_manager",
|
| - "//content/test:test_support",
|
| - "//skia",
|
| - "//testing/gtest",
|
| - "//ui/accessibility",
|
| - ]
|
| + deps = [
|
| + ":ash_shell_lib",
|
| + ":test_support",
|
| + "//base/test:test_support",
|
| + "//components/user_manager",
|
| + "//content/test:test_support",
|
| + "//skia",
|
| + "//testing/gtest",
|
| + "//ui/accessibility",
|
| + ]
|
|
|
| - if (is_chromeos) {
|
| - deps += [ "//ui/display" ]
|
| + if (is_chromeos) {
|
| + deps += [ "//ui/display" ]
|
| + }
|
| }
|
| }
|
|
|