dfcc46a6c7
New Revision: 8b7ea912e516a6daa61487c700687a9426e3a396 Update v8 files / build config accordingly. - There's now a new library in third_party/inspector_protocol, bindings/bindings.h, which is configured much like encoding/encoding.h. It doesn't have much stuff in it yet, but will soon get more code that would otherwise need to go into jinja templates. It also comes with a new test, only a smoke test thus far. Change-Id: I9c00a54a840c214b4bb744a3b272e5ce221954fc Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1678273 Reviewed-by: Alexei Filippov <alph@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Johannes Henkel <johannes@chromium.org> Cr-Commit-Position: refs/heads/master@{#62442}
62 lines
1.2 KiB
Plaintext
62 lines
1.2 KiB
Plaintext
# 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",
|
|
]
|
|
}
|
|
|
|
static_library("bindings") {
|
|
sources = [
|
|
"bindings/bindings.cc",
|
|
"bindings/bindings.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
|
|
}
|
|
|
|
v8_source_set("bindings_test") {
|
|
sources = [
|
|
"bindings/bindings_test.cc",
|
|
"bindings/bindings_test_helper.h",
|
|
]
|
|
configs = [
|
|
"../..:external_config",
|
|
"../..:internal_config_base",
|
|
]
|
|
deps = [
|
|
":bindings",
|
|
"../..:v8_libbase",
|
|
"../../src/inspector:inspector_string_conversions",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
]
|
|
testonly = true
|
|
}
|
|
|