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

Side by Side Diff: test/inspector/BUILD.gn

Issue 2421303002: Fix inspector test in components build (Closed)
Patch Set: Created 4 years, 2 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 | « src/utils.h ('k') | test/inspector/inspector.gyp » ('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 2016 the V8 project authors. All rights reserved. 1 # Copyright 2016 the V8 project 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("../../gni/v8.gni") 5 import("../../gni/v8.gni")
6 import("//build_overrides/v8.gni") 6 import("//build_overrides/v8.gni")
7 7
8 if (v8_enable_inspector_override) { 8 if (v8_enable_inspector_override) {
9 v8_executable("inspector-test") { 9 v8_executable("inspector-test") {
10 testonly = true 10 testonly = true
11 11
12 sources = [ 12 sources = [
13 "inspector-impl.cc", 13 "inspector-impl.cc",
14 "inspector-impl.h", 14 "inspector-impl.h",
15 "inspector-test.cc", 15 "inspector-test.cc",
16 "task-runner.cc", 16 "task-runner.cc",
17 "task-runner.h", 17 "task-runner.h",
18 ] 18 ]
19 19
20 configs = [ 20 configs = [
21 "../..:external_config", 21 "../..:external_config",
22 "../..:internal_config_base", 22 "../..:internal_config_base",
23 ] 23 ]
24 24
25 deps = [ 25 deps = [
26 "../..:v8",
27 "../..:v8_libbase",
26 "../..:v8_libplatform", 28 "../..:v8_libplatform",
27 "//build/config/sanitizers:deps", 29 "//build/config/sanitizers:deps",
28 "//build/win:default_exe_manifest", 30 "//build/win:default_exe_manifest",
29 ] 31 ]
30 32
31 if (is_component_build) {
32 # inspector-test can't be built against a shared library, so we
33 # need to depend on the underlying static target in that case.
34 deps += [ "../..:v8_maybe_snapshot" ]
35 } else {
36 deps += [ "../..:v8" ]
37 }
38
39 cflags = [] 33 cflags = []
40 ldflags = [] 34 ldflags = []
41 } 35 }
42 } 36 }
OLDNEW
« no previous file with comments | « src/utils.h ('k') | test/inspector/inspector.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698