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

Unified Diff: test/inspector-protocol/BUILD.gn

Issue 2358943002: [inspector] added inspector protocol test runner (Closed)
Patch Set: a Created 4 years, 3 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
Index: test/inspector-protocol/BUILD.gn
diff --git a/test/inspector-protocol/BUILD.gn b/test/inspector-protocol/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..a34eee8e0d85bea5c0ffc4b7a28741a53c6261f7
--- /dev/null
+++ b/test/inspector-protocol/BUILD.gn
@@ -0,0 +1,53 @@
+# Copyright 2016 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("../../gni/v8.gni")
+
+v8_executable("inspector-protocol") {
+ testonly = true
+
+ sources = [
+ "channel-impl.cc",
+ "channel-impl.h",
+ "inspector-client-impl.cc",
+ "inspector-client-impl.h",
+ "inspector-extension.cc",
+ "inspector-extension.h",
+ "inspector-protocol.cc",
+ "load-extension.cc",
+ "load-extension.h",
+ "set-timeout-extension.cc",
+ "set-timeout-extension.h",
+ "task-queue.cc",
+ "task-queue.h",
+ "task-runner.cc",
+ "task-runner.h",
+ "task.cc",
+ "task.h",
+ "utils-extension.cc",
+ "utils-extension.h",
+ ]
+
+ configs = [
+ "../..:external_config",
+ "../..:internal_config_base",
+ ]
+
+ deps = [
+ "../..:v8_libplatform",
+ "//build/config/sanitizers:deps",
+ "//build/win:default_exe_manifest",
+ ]
+
+ if (is_component_build) {
+ # inspector-protocol 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 = []
+}

Powered by Google App Engine
This is Rietveld 408576698