# 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", ] }