11cb0ef41Sopenharmony_ci# Copyright 2019 the V8 project authors. All rights reserved. 21cb0ef41Sopenharmony_ci# Use of this source code is governed by a BSD-style license that can be 31cb0ef41Sopenharmony_ci# found in the LICENSE file. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_cistatic_library("encoding") { 61cb0ef41Sopenharmony_ci sources = [ 71cb0ef41Sopenharmony_ci "encoding/encoding.cc", 81cb0ef41Sopenharmony_ci "encoding/encoding.h", 91cb0ef41Sopenharmony_ci ] 101cb0ef41Sopenharmony_ci} 111cb0ef41Sopenharmony_ci 121cb0ef41Sopenharmony_ci# encoding_test is part of the unittests, defined in 131cb0ef41Sopenharmony_ci# test/unittests/BUILD.gn. 141cb0ef41Sopenharmony_ci 151cb0ef41Sopenharmony_ciimport("../../gni/v8.gni") 161cb0ef41Sopenharmony_ci 171cb0ef41Sopenharmony_civ8_source_set("encoding_test") { 181cb0ef41Sopenharmony_ci sources = [ 191cb0ef41Sopenharmony_ci "encoding/encoding_test.cc", 201cb0ef41Sopenharmony_ci "encoding/encoding_test_helper.h", 211cb0ef41Sopenharmony_ci ] 221cb0ef41Sopenharmony_ci configs = [ 231cb0ef41Sopenharmony_ci "../..:external_config", 241cb0ef41Sopenharmony_ci "../..:internal_config_base", 251cb0ef41Sopenharmony_ci ] 261cb0ef41Sopenharmony_ci deps = [ 271cb0ef41Sopenharmony_ci ":encoding", 281cb0ef41Sopenharmony_ci "../..:v8_libbase", 291cb0ef41Sopenharmony_ci "../../src/inspector:inspector_string_conversions", 301cb0ef41Sopenharmony_ci "//testing/gmock", 311cb0ef41Sopenharmony_ci "//testing/gtest", 321cb0ef41Sopenharmony_ci ] 331cb0ef41Sopenharmony_ci testonly = true 341cb0ef41Sopenharmony_ci} 35