1# Copyright 2019 the V8 project authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5static_library("encoding") { 6 sources = [ 7 "encoding/encoding.cc", 8 "encoding/encoding.h", 9 ] 10} 11 12# encoding_test is part of the unittests, defined in 13# test/unittests/BUILD.gn. 14 15import("../../gni/v8.gni") 16 17v8_source_set("encoding_test") { 18 sources = [ 19 "encoding/encoding_test.cc", 20 "encoding/encoding_test_helper.h", 21 ] 22 configs = [ 23 "../..:external_config", 24 "../..:internal_config_base", 25 ] 26 deps = [ 27 ":encoding", 28 "../..:v8_libbase", 29 "../../src/inspector:inspector_string_conversions", 30 "//testing/gmock", 31 "//testing/gtest", 32 ] 33 testonly = true 34} 35