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

Side by Side Diff: test/inspector/inspector.gyp

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 | « test/inspector/BUILD.gn ('k') | test/inspector/inspector-test.cc » ('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 { 5 {
6 'variables': { 6 'variables': {
7 'v8_code': 1, 7 'v8_code': 1,
8 }, 8 },
9 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'], 9 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'],
10 'targets': [ 10 'targets': [
11 { 11 {
12 'target_name': 'inspector-test', 12 'target_name': 'inspector-test',
13 'type': 'executable', 13 'type': 'executable',
14 'dependencies': [ 14 'dependencies': [
15 '../../src/v8.gyp:v8_libplatform', 15 '../../src/v8.gyp:v8_libplatform',
16 '../../src/v8.gyp:v8_libbase', 16 '../../src/v8.gyp:v8_libbase',
17 '../../src/v8.gyp:v8',
17 ], 18 ],
18 'include_dirs': [ 19 'include_dirs': [
19 '../..', 20 '../..',
20 ], 21 ],
21 'sources': [ 22 'sources': [
22 'inspector-impl.cc', 23 'inspector-impl.cc',
23 'inspector-impl.h', 24 'inspector-impl.h',
24 'inspector-test.cc', 25 'inspector-test.cc',
25 'task-runner.cc', 26 'task-runner.cc',
26 'task-runner.h', 27 'task-runner.h',
27 ], 28 ],
28 'conditions': [
29 ['component=="shared_library"', {
30 # inspector-test can't be built against a shared library, so we
31 # need to depend on the underlying static target in that case.
32 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'],
33 }, {
34 'dependencies': ['../../src/v8.gyp:v8'],
35 }],
36 ],
37 }, 29 },
38 ], 30 ],
39 'conditions': [ 31 'conditions': [
40 ['test_isolation_mode != "noop"', { 32 ['test_isolation_mode != "noop"', {
41 'targets': [ 33 'targets': [
42 { 34 {
43 'target_name': 'inspector-test_run', 35 'target_name': 'inspector-test_run',
44 'type': 'none', 36 'type': 'none',
45 'dependencies': [ 37 'dependencies': [
46 'inspector-test', 38 'inspector-test',
47 ], 39 ],
48 'includes': [ 40 'includes': [
49 '../../gypfiles/isolate.gypi', 41 '../../gypfiles/isolate.gypi',
50 ], 42 ],
51 'sources': [ 43 'sources': [
52 'inspector.isolate', 44 'inspector.isolate',
53 ], 45 ],
54 }, 46 },
55 ], 47 ],
56 }], 48 }],
57 ], 49 ],
58 } 50 }
OLDNEW
« no previous file with comments | « test/inspector/BUILD.gn ('k') | test/inspector/inspector-test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698