Skip to content

Commit ab341ea

Browse files
Ilija.PavlovicCommit bot
authored andcommitted
Fix inspector tests for shared libraries.
This CL prevents problems with library libicui18n.so during execution inspector tests when component is defined as shared library. TEST=inspector/* BUG= Review-Url: https://codereview.chromium.org/2863383003 Cr-Commit-Position: refs/heads/master@{#45176}
1 parent 1989713 commit ab341ea

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

test/inspector/BUILD.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ v8_executable("inspector-test") {
2828
"//build/win:default_exe_manifest",
2929
]
3030

31+
if (v8_enable_i18n_support) {
32+
deps += [ "//third_party/icu" ]
33+
}
34+
3135
cflags = []
3236
ldflags = []
3337
}

test/inspector/inspector.gyp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@
2626
'task-runner.cc',
2727
'task-runner.h',
2828
],
29+
'conditions': [
30+
['v8_enable_i18n_support==1', {
31+
'dependencies': [
32+
'<(icu_gyp_path):icui18n',
33+
'<(icu_gyp_path):icuuc',
34+
],
35+
}],
36+
],
2937
},
3038
],
3139
'conditions': [

0 commit comments

Comments
 (0)