• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15cc_library(
16    name = "base",
17    hdrs = [
18        "bit_stream.h",
19        "bottom_n.h",
20        "math_utils.h",
21        "optional.h",
22        "string_utils.h",
23        "type_traits.h",
24        "uint128.h",
25        "utils.h",
26    ],
27    visibility = ["//src/decoder:__pkg__"],
28)
29
30cc_test(
31    name = "base_test",
32    srcs = [
33        "test/bit_stream_test.cpp",
34        "test/bottom_n_test.cpp",
35        "test/math_utils_test.cpp",
36        "test/optional_test.cpp",
37        "test/string_utils_test.cpp",
38        "test/type_traits_test.cpp",
39        "test/uint128_test.cpp",
40    ],
41    deps = [
42        "@gtest//:gtest_main",
43        ":base",
44    ],
45)
46
47