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

Unified Diff: test/inspector/BUILD.gn

Issue 2393863002: [inspector] Add swarming support to inspector tests (Closed)
Patch Set: Detach from dependent patchset 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/bot_default.isolate ('k') | test/inspector/inspector.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/BUILD.gn
diff --git a/test/inspector/BUILD.gn b/test/inspector/BUILD.gn
index cb96bf423ceb972ddbfd6ab829a5b24ec427f879..dcdfe6e8bcb14a5353b8d14c232adad158bf56b2 100644
--- a/test/inspector/BUILD.gn
+++ b/test/inspector/BUILD.gn
@@ -3,37 +3,40 @@
# found in the LICENSE file.
import("../../gni/v8.gni")
+import("//build_overrides/v8.gni")
-v8_executable("inspector-test") {
- testonly = true
+if (v8_enable_inspector_override) {
+ v8_executable("inspector-test") {
+ testonly = true
- sources = [
- "inspector-impl.cc",
- "inspector-impl.h",
- "inspector-test.cc",
- "task-runner.cc",
- "task-runner.h",
- ]
+ sources = [
+ "inspector-impl.cc",
+ "inspector-impl.h",
+ "inspector-test.cc",
+ "task-runner.cc",
+ "task-runner.h",
+ ]
- configs = [
- "../..:external_config",
- "../..:internal_config_base",
- ]
+ configs = [
+ "../..:external_config",
+ "../..:internal_config_base",
+ ]
- deps = [
- "../..:v8_libplatform",
- "//build/config/sanitizers:deps",
- "//build/win:default_exe_manifest",
- ]
+ deps = [
+ "../..:v8_libplatform",
+ "//build/config/sanitizers:deps",
+ "//build/win:default_exe_manifest",
+ ]
- if (is_component_build) {
- # inspector-test can't be built against a shared library, so we
- # need to depend on the underlying static target in that case.
- deps += [ "../..:v8_maybe_snapshot" ]
- } else {
- deps += [ "../..:v8" ]
- }
+ if (is_component_build) {
+ # inspector-test can't be built against a shared library, so we
+ # need to depend on the underlying static target in that case.
+ deps += [ "../..:v8_maybe_snapshot" ]
+ } else {
+ deps += [ "../..:v8" ]
+ }
- cflags = []
- ldflags = []
+ cflags = []
+ ldflags = []
+ }
}
« no previous file with comments | « test/bot_default.isolate ('k') | test/inspector/inspector.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698