BUILD.gn 761 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
# 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",
  ]
}
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

# 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
}