1#
2# Copyright 2017 The Abseil Authors.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      https://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17absl_cc_library(
18  NAME
19    int128
20  HDRS
21    "int128.h"
22  SRCS
23    "int128.cc"
24    "int128_have_intrinsic.inc"
25    "int128_no_intrinsic.inc"
26  COPTS
27    ${ABSL_DEFAULT_COPTS}
28  DEPS
29    absl::config
30    absl::core_headers
31  PUBLIC
32)
33
34absl_cc_test(
35  NAME
36    int128_test
37  SRCS
38    "int128_stream_test.cc"
39    "int128_test.cc"
40  COPTS
41    ${ABSL_TEST_COPTS}
42  DEPS
43    absl::int128
44    absl::base
45    absl::core_headers
46    absl::hash_testing
47    absl::type_traits
48    gmock_main
49)
50
51# component target
52absl_cc_library(
53  NAME
54    numeric
55  COPTS
56    ${ABSL_DEFAULT_COPTS}
57  DEPS
58    absl::int128
59  PUBLIC
60)
61