| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/win/manifest.gni") | 5 import("//build/config/win/manifest.gni") |
| 6 import("//chrome/version.gni") | 6 import("//chrome/version.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 process_version("chrome_elf_resources") { | 9 process_version("chrome_elf_resources") { |
| 10 template_file = chrome_version_rc_template | 10 template_file = chrome_version_rc_template |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 "elf_imports_unittest.cc", | 130 "elf_imports_unittest.cc", |
| 131 ] | 131 ] |
| 132 include_dirs = [ "$target_gen_dir" ] | 132 include_dirs = [ "$target_gen_dir" ] |
| 133 deps = [ | 133 deps = [ |
| 134 ":blacklist", | 134 ":blacklist", |
| 135 ":blacklist_test_main_dll", | 135 ":blacklist_test_main_dll", |
| 136 ":common", | 136 ":common", |
| 137 "//base", | 137 "//base", |
| 138 "//base/test:run_all_unittests", | 138 "//base/test:run_all_unittests", |
| 139 "//base/test:test_support", | 139 "//base/test:test_support", |
| 140 "//chrome", |
| 140 "//chrome/common:version_header", | 141 "//chrome/common:version_header", |
| 141 "//sandbox", | 142 "//sandbox", |
| 142 "//testing/gtest", | 143 "//testing/gtest", |
| 143 ] | 144 ] |
| 145 |
| 146 # It's not easily possible to have //chrome in data_deps without changing |
| 147 # the //chrome target to bundle up both initial/chrome.exe and chrome.exe. |
| 148 # As a workaround, explicitly include a data dep on just chrome.exe, and |
| 149 # add //chrome to deps above to make sure it's been built. |
| 150 data = [ |
| 151 "$root_out_dir/chrome.exe", |
| 152 ] |
| 144 data_deps = [ | 153 data_deps = [ |
| 145 ":blacklist_test_dll_1", | 154 ":blacklist_test_dll_1", |
| 146 ":blacklist_test_dll_2", | 155 ":blacklist_test_dll_2", |
| 147 ":blacklist_test_dll_3", | 156 ":blacklist_test_dll_3", |
| 148 ":chrome_elf", | 157 ":chrome_elf", |
| 149 "//chrome", | |
| 150 ] | 158 ] |
| 151 } | 159 } |
| 152 | 160 |
| 153 shared_library("blacklist_test_main_dll") { | 161 shared_library("blacklist_test_main_dll") { |
| 154 sources = [ | 162 sources = [ |
| 155 "blacklist/test/blacklist_test_main_dll.cc", | 163 "blacklist/test/blacklist_test_main_dll.cc", |
| 156 ] | 164 ] |
| 157 deps = [ | 165 deps = [ |
| 158 ":blacklist", | 166 ":blacklist", |
| 159 ":common", | 167 ":common", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 188 } | 196 } |
| 189 | 197 |
| 190 shared_library("blacklist_test_dll_3") { | 198 shared_library("blacklist_test_dll_3") { |
| 191 sources = [ | 199 sources = [ |
| 192 "blacklist/test/blacklist_test_dll_3.cc", | 200 "blacklist/test/blacklist_test_dll_3.cc", |
| 193 ] | 201 ] |
| 194 deps = [ | 202 deps = [ |
| 195 "//build/config/sanitizers:deps", | 203 "//build/config/sanitizers:deps", |
| 196 ] | 204 ] |
| 197 } | 205 } |
| OLD | NEW |