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

Side by Side Diff: extensions/BUILD.gn

Issue 1258753002: Add yet more GN isolates ... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@isolates_4_2
Patch Set: fix net_unittests conditional on android, fix wow_helper dependency on win Created 5 years, 4 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 | « components/nacl/BUILD.gn ('k') | google_apis/gcm/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 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 # TODO(rockot) bug 505926: Don't include chrome files from here. 5 # TODO(rockot) bug 505926: Don't include chrome files from here.
6 # See chrome_browser_tests_extensions_sources below 6 # See chrome_browser_tests_extensions_sources below
7 import("//chrome/chrome_tests.gni") 7 import("//chrome/chrome_tests.gni")
8 import("//extensions/extensions.gni") 8 import("//extensions/extensions.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 "//content/shell:resources", 130 "//content/shell:resources",
131 "//extensions/shell:resources", 131 "//extensions/shell:resources",
132 "//extensions/strings", 132 "//extensions/strings",
133 "//third_party/WebKit/public:image_resources", 133 "//third_party/WebKit/public:image_resources",
134 "//third_party/WebKit/public:resources", 134 "//third_party/WebKit/public:resources",
135 "//ui/resources", 135 "//ui/resources",
136 "//ui/strings", 136 "//ui/strings",
137 ] 137 ]
138 } 138 }
139 139
140 # TODO(GYP): Delete this after we've converted everything to GN.
141 # The _run targets exist only for compatibility w/ GYP.
142 group("extensions_unittests_run") {
143 testonly = true
144 deps = [
145 ":extensions_unittests",
146 ]
147 }
148
140 test("extensions_unittests") { 149 test("extensions_unittests") {
141 sources = 150 sources =
142 rebase_path(extensions_tests_gypi_values.extensions_unittests_sources, 151 rebase_path(extensions_tests_gypi_values.extensions_unittests_sources,
143 ".", 152 ".",
144 "//extensions") 153 "//extensions")
145 154
146 sources += [ 155 sources += [
147 # TODO(rockot): DisplayInfoProvider::Create() is only implemented in Chrome 156 # TODO(rockot): DisplayInfoProvider::Create() is only implemented in Chrome
148 # and app_shell. This is wrong. 157 # and app_shell. This is wrong.
149 "shell/browser/shell_display_info_provider.cc", 158 "shell/browser/shell_display_info_provider.cc",
150 ] 159 ]
151 160
152 configs += [ "//build/config:precompiled_headers" ] 161 configs += [ "//build/config:precompiled_headers" ]
153 162
163 data = [
164 "test/data/",
165 "//chrome/test/data/extensions/",
166 "$root_out_dir/extensions_shell_and_test.pak",
167 ]
168
154 deps = [ 169 deps = [
155 ":extensions_resources", 170 ":extensions_resources",
156 ":shell_and_test_pak", 171 ":shell_and_test_pak",
157 ":test_support", 172 ":test_support",
158 "//base", 173 "//base",
159 "//base:prefs_test_support", 174 "//base:prefs_test_support",
160 "//base/test:test_support", 175 "//base/test:test_support",
161 "//components/keyed_service/content", 176 "//components/keyed_service/content",
162 "//components/user_prefs", 177 "//components/user_prefs",
163 "//content/test:test_support", 178 "//content/test:test_support",
164 "//device/bluetooth:mocks", 179 "//device/bluetooth:mocks",
165 "//device/serial", 180 "//device/serial",
166 "//device/serial:test_support", 181 "//device/serial:test_support",
167 "//extensions/common", 182 "//extensions/common",
168 "//extensions/common/api/cast_channel:cast_channel_proto", 183 "//extensions/common/api/cast_channel:cast_channel_proto",
169 "//extensions/renderer", 184 "//extensions/renderer",
170 "//extensions/strings", 185 "//extensions/strings",
171 "//extensions/utility", 186 "//extensions/utility",
172 "//mojo/application/public/interfaces", 187 "//mojo/application/public/interfaces",
173 "//mojo/environment:chromium", 188 "//mojo/environment:chromium",
174 "//testing/gmock", 189 "//testing/gmock",
175 "//testing/gtest", 190 "//testing/gtest",
176 "//third_party/leveldatabase", 191 "//third_party/leveldatabase",
177 "//third_party/mojo/src/mojo/edk/js", 192 "//third_party/mojo/src/mojo/edk/js",
178 "//third_party/mojo/src/mojo/edk/system", 193 "//third_party/mojo/src/mojo/edk/system",
179 "//third_party/mojo/src/mojo/public/cpp/bindings", 194 "//third_party/mojo/src/mojo/public/cpp/bindings",
180 ] 195 ]
181 196
197 data_deps = [ "//third_party/mesa:osmesa" ]
198
182 if (is_win) { 199 if (is_win) {
183 deps += [ "//base/allocator" ] 200 deps += [ "//base/allocator" ]
184 } 201 }
185 202
186 if (is_chromeos) { 203 if (is_chromeos) {
187 sources += [ 204 sources += [
188 # TODO(rockot): There are two implementations of VpnServiceFactory, a 205 # TODO(rockot): There are two implementations of VpnServiceFactory, a
189 # stub in app_shell and a real one in Chrome. This is wrong. 206 # stub in app_shell and a real one in Chrome. This is wrong.
190 "shell/browser/api/vpn_provider/vpn_service_factory.cc", 207 "shell/browser/api/vpn_provider/vpn_service_factory.cc",
191 ] 208 ]
192 209
193 deps += [ "//chromeos:test_support" ] 210 deps += [ "//chromeos:test_support" ]
194 } 211 }
195 } 212 }
196 213
214 # TODO(GYP): Delete this after we've converted everything to GN.
215 # The _run targets exist only for compatibility w/ GYP.
216 group("extensions_browsertests_run") {
217 testonly = true
218 deps = [
219 ":extensions_browsertests",
220 ]
221 }
222
197 test("extensions_browsertests") { 223 test("extensions_browsertests") {
198 sources = 224 sources =
199 rebase_path(extensions_tests_gypi_values.extensions_browsertests_sources, 225 rebase_path(extensions_tests_gypi_values.extensions_browsertests_sources,
200 ".", 226 ".",
201 "//extensions") 227 "//extensions")
202 228
229 data = [
230 "test/data/",
231 "//net/data/",
232 "//net/tools/testserver/",
233 "//third_party/pyftpdlib/",
234 "//third_party/pywebsocket/",
235 "//third_party/tlslite/",
236 "$root_out_dir/extensions_shell_and_test.pak",
237 ]
238
203 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 239 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
204 240
205 deps = [ 241 deps = [
206 ":test_support", 242 ":test_support",
207 "shell:app_shell_lib", 243 "shell:app_shell_lib",
208 244
209 # TODO(yoz): find the right deps 245 # TODO(yoz): find the right deps
210 "//base", 246 "//base",
211 "//base:prefs_test_support", 247 "//base:prefs_test_support",
212 "//base/test:test_support", 248 "//base/test:test_support",
213 "//components/storage_monitor:test_support", 249 "//components/storage_monitor:test_support",
214 "//content/test:test_support", 250 "//content/test:test_support",
215 "//device/bluetooth:mocks", 251 "//device/bluetooth:mocks",
216 "//device/usb:mocks", 252 "//device/usb:mocks",
217 "//mojo/environment:chromium", 253 "//mojo/environment:chromium",
218 "//testing/gmock", 254 "//testing/gmock",
219 "//testing/gtest", 255 "//testing/gtest",
220 "//third_party/mojo/src/mojo/edk/js", 256 "//third_party/mojo/src/mojo/edk/js",
221 "//third_party/mojo/src/mojo/edk/system", 257 "//third_party/mojo/src/mojo/edk/system",
222 "//third_party/mojo/src/mojo/public/cpp/bindings", 258 "//third_party/mojo/src/mojo/public/cpp/bindings",
223 ] 259 ]
224 260
261 data_deps = [ "//third_party/mesa:osmesa" ]
262
225 if (is_win) { 263 if (is_win) {
226 deps += [ "//base/allocator" ] 264 deps += [ "//base/allocator" ]
265
266 if (target_cpu == "x86") {
267 data_deps += [
268 # "$root_out_dir/wow_helper.exe" # TODO(GYP)
269 ]
270 }
227 } 271 }
228 272
229 if (is_mac) { 273 if (is_mac) {
230 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper. 274 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper.
231 } 275 }
232 } 276 }
233 277
234 # TODO(rockot) bug 505926: These should be moved to extensions_browsertests but have 278 # TODO(rockot) bug 505926: These should be moved to extensions_browsertests but have
235 # old dependencies on chrome files. The chrome dependencies should be removed 279 # old dependencies on chrome files. The chrome dependencies should be removed
236 # and these moved to the extensions_browsertests target. Currently, we solve 280 # and these moved to the extensions_browsertests target. Currently, we solve
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 "//testing/gtest", 379 "//testing/gtest",
336 "//third_party/hunspell", 380 "//third_party/hunspell",
337 "//third_party/icu", 381 "//third_party/icu",
338 "//third_party/libpng", 382 "//third_party/libpng",
339 "//third_party/zlib", 383 "//third_party/zlib",
340 "//ui/base:test_support", 384 "//ui/base:test_support",
341 "//ui/resources:ui_test_pak", 385 "//ui/resources:ui_test_pak",
342 "//ui/web_dialogs:test_support", 386 "//ui/web_dialogs:test_support",
343 ] 387 ]
344 } 388 }
OLDNEW
« no previous file with comments | « components/nacl/BUILD.gn ('k') | google_apis/gcm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698