Clean up is_win deps in src/BUILD.gn
Change-Id: Ie9dc6c639b3bd8c2ff028d71f3c77d4a15895b55
Reviewed-on: https://chromium-review.googlesource.com/898498
Commit-Queue: Xi Cheng <[email protected]>
Reviewed-by: Bruce Dawson <[email protected]>
Cr-Commit-Position: refs/heads/master@{#534142}
diff --git a/BUILD.gn b/BUILD.gn
index 2376abd..ebb8c164 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -269,13 +269,6 @@
deps += [ "//tools/xdisplaycheck" ]
}
- if (is_win) {
- deps += [
- "//chrome/installer/gcapi",
- "//chrome/tools/build/win/syzygy:chrome_dll_syzygy",
- ]
- }
-
if (is_mac) {
deps += [ "//chrome/installer/gcapi_mac:gcapi_example" ]
}
@@ -391,12 +384,6 @@
]
}
- # Accessibility API debugging tools.
- if (is_win) {
- deps += [ "//tools/accessibility/inspect:ax_dump_events" ]
- deps += [ "//tools/accessibility/inspect:ax_dump_tree" ]
- }
-
if (is_linux) {
# The following are definitely linux-only.
deps += [
@@ -569,7 +556,9 @@
deps += [
"//base:pe_image_test",
"//chrome/install_static:install_static_unittests",
+ "//chrome/installer/gcapi",
"//chrome/installer/setup:setup_unittests",
+ "//chrome/tools/build/win/syzygy:chrome_dll_syzygy",
"//chrome_elf:chrome_elf_import_unittests",
"//chrome_elf:chrome_elf_unittests",
"//chrome_elf:dll_hash_main",
@@ -584,6 +573,10 @@
"//sandbox/win:sbox_validation_tests",
"//testing/gtest:gtest_main",
"//third_party/tcmalloc:addr2line-pdb",
+
+ # The following two are accessibility API debugging tools.
+ "//tools/accessibility/inspect:ax_dump_events",
+ "//tools/accessibility/inspect:ax_dump_tree",
"//tools/win/chromeexts:chromeexts",
]