summaryrefslogtreecommitdiff
path: root/deps/v8/third_party/inspector_protocol/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/third_party/inspector_protocol/BUILD.gn')
-rw-r--r--deps/v8/third_party/inspector_protocol/BUILD.gn34
1 files changed, 34 insertions, 0 deletions
diff --git a/deps/v8/third_party/inspector_protocol/BUILD.gn b/deps/v8/third_party/inspector_protocol/BUILD.gn
new file mode 100644
index 0000000000..974471bf27
--- /dev/null
+++ b/deps/v8/third_party/inspector_protocol/BUILD.gn
@@ -0,0 +1,34 @@
+# Copyright 2019 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.
+
+static_library("encoding") {
+ sources = [
+ "encoding/encoding.cc",
+ "encoding/encoding.h",
+ ]
+}
+
+# encoding_test is part of the unittests, defined in
+# test/unittests/BUILD.gn.
+
+import("../../gni/v8.gni")
+
+v8_source_set("encoding_test") {
+ sources = [
+ "encoding/encoding_test.cc",
+ "encoding/encoding_test_helper.h",
+ ]
+ configs = [
+ "../..:external_config",
+ "../..:internal_config_base",
+ ]
+ deps = [
+ ":encoding",
+ "../..:v8_libbase",
+ "../../src/inspector:inspector_string_conversions",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+ testonly = true
+}