Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: chrome_elf/BUILD.gn

Issue 875123003: Disable chrome target and tests on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable ash targets that need test_registrar Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | win8/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//chrome/version.gni") 5 import("//chrome/version.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 process_version("chrome_elf_resources") { 8 process_version("chrome_elf_resources") {
9 source = "//chrome/app/chrome_version.rc.version" 9 source = "//chrome/app/chrome_version.rc.version"
10 output = "$target_gen_dir/chrome_elf_version.rc" 10 output = "$target_gen_dir/chrome_elf_version.rc"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 # Depend on base_static, but do NOT take a dependency on base.gyp:base 133 # Depend on base_static, but do NOT take a dependency on base.gyp:base
134 # as that would risk pulling in base's link-time dependencies which 134 # as that would risk pulling in base's link-time dependencies which
135 # chrome_elf cannot do. 135 # chrome_elf cannot do.
136 ":breakpad", 136 ":breakpad",
137 ":constants", 137 ":constants",
138 "//base:base_static", 138 "//base:base_static",
139 "//sandbox:sandbox", 139 "//sandbox:sandbox",
140 ] 140 ]
141 } 141 }
142 142
143 test("chrome_elf_unittests") { 143 # TODO(brettw) enable on Windows. This should link but is disabled due to bot
144 output_name = "chrome_elf_unittests" 144 # capacity issues.
145 sources = [ 145 if (!is_win) {
146 "blacklist/test/blacklist_test.cc", 146 test("chrome_elf_unittests") {
147 "chrome_elf_util_unittest.cc", 147 output_name = "chrome_elf_unittests"
148 "create_file/chrome_create_file_unittest.cc", 148 sources = [
149 "elf_imports_unittest.cc", 149 "blacklist/test/blacklist_test.cc",
150 "ntdll_cache_unittest.cc", 150 "chrome_elf_util_unittest.cc",
151 ] 151 "create_file/chrome_create_file_unittest.cc",
152 include_dirs = [ "$target_gen_dir" ] 152 "elf_imports_unittest.cc",
153 deps = [ 153 "ntdll_cache_unittest.cc",
154 ":blacklist", 154 ]
155 ":blacklist_test_main_dll", 155 include_dirs = [ "$target_gen_dir" ]
156 ":lib", 156 deps = [
157 "//base", 157 ":blacklist",
158 "//base/test:run_all_unittests", 158 ":blacklist_test_main_dll",
159 "//base/test:test_support", 159 ":lib",
160 "//sandbox", 160 "//base",
161 "//testing/gtest", 161 "//base/test:run_all_unittests",
162 ] 162 "//base/test:test_support",
163 data_deps = [ 163 "//sandbox",
164 ":blacklist_test_dll_1", 164 "//testing/gtest",
165 ":blacklist_test_dll_2", 165 ]
166 ":blacklist_test_dll_3", 166 data_deps = [
167 ":chrome_elf", 167 ":blacklist_test_dll_1",
168 "//chrome", 168 ":blacklist_test_dll_2",
169 ] 169 ":blacklist_test_dll_3",
170 ":chrome_elf",
171 "//chrome",
172 ]
173 }
170 } 174 }
171 175
172 shared_library("blacklist_test_main_dll") { 176 shared_library("blacklist_test_main_dll") {
173 sources = [ 177 sources = [
174 "blacklist/test/blacklist_test_main_dll.cc", 178 "blacklist/test/blacklist_test_main_dll.cc",
175 ] 179 ]
176 deps = [ 180 deps = [
177 "//base", 181 "//base",
178 ":blacklist", 182 ":blacklist",
179 ] 183 ]
(...skipping 16 matching lines...) Expand all
196 ] 200 ]
197 ldflags = [ "/DEF:" + rebase_path("blacklist/test/blacklist_test_dll_2.def", 201 ldflags = [ "/DEF:" + rebase_path("blacklist/test/blacklist_test_dll_2.def",
198 root_build_dir) ] 202 root_build_dir) ]
199 } 203 }
200 204
201 shared_library("blacklist_test_dll_3") { 205 shared_library("blacklist_test_dll_3") {
202 sources = [ 206 sources = [
203 "blacklist/test/blacklist_test_dll_3.cc", 207 "blacklist/test/blacklist_test_dll_3.cc",
204 ] 208 ]
205 } 209 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | win8/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698