b67cafe716
This decomposes the crdtp library into multiple files. Since it wasn't previously rolled it's a bit more than just that. Upstream review: https://chromium-review.googlesource.com/c/deps/inspector_protocol/+/1907115 New Revision: d020a9e614d4a5116a7c71f288c0340e282e1a6e Change-Id: I5c588469654bec3e933804ac706fa967c6fe57bc Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1907973 Auto-Submit: Johannes Henkel <johannes@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#64902}
49 lines
1.1 KiB
Plaintext
49 lines
1.1 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.
|
|
|
|
import("../../gni/v8.gni")
|
|
|
|
v8_source_set("crdtp") {
|
|
sources = [
|
|
"crdtp/cbor.cc",
|
|
"crdtp/cbor.h",
|
|
"crdtp/export.h",
|
|
"crdtp/glue.h",
|
|
"crdtp/json.cc",
|
|
"crdtp/json.h",
|
|
"crdtp/json_platform.h",
|
|
"crdtp/parser_handler.h",
|
|
"crdtp/span.h",
|
|
"crdtp/status.cc",
|
|
"crdtp/status.h",
|
|
]
|
|
configs = [ "../../:internal_config" ]
|
|
}
|
|
|
|
# crdtp_test is part of the unittests, defined in
|
|
# test/unittests/BUILD.gn.
|
|
v8_source_set("crdtp_test") {
|
|
testonly = true
|
|
sources = [
|
|
"crdtp/cbor_test.cc",
|
|
"crdtp/glue_test.cc",
|
|
"crdtp/json_test.cc",
|
|
"crdtp/span_test.cc",
|
|
"crdtp/status_test.cc",
|
|
"crdtp/test_platform.cc",
|
|
"crdtp/test_platform.h",
|
|
]
|
|
configs = [
|
|
"../..:external_config",
|
|
"../..:internal_config_base",
|
|
]
|
|
deps = [
|
|
":crdtp",
|
|
"../..:v8_libbase",
|
|
"../../src/inspector:inspector_string_conversions",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
]
|
|
}
|