tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

CMakeLists.txt (2667B)


      1 #
      2 # Copyright 2020 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 absl_cc_library(
     17  NAME
     18    status
     19  HDRS
     20    "status.h"
     21  SRCS
     22    "internal/status_internal.h"
     23    "internal/status_internal.cc"
     24    "status.cc"
     25    "status_payload_printer.h"
     26    "status_payload_printer.cc"
     27  COPTS
     28    ${ABSL_DEFAULT_COPTS}
     29  DEFINES
     30    "$<$<PLATFORM_ID:AIX>:_LINUX_SOURCE_COMPAT>"
     31  DEPS
     32    absl::atomic_hook
     33    absl::config
     34    absl::cord
     35    absl::core_headers
     36    absl::function_ref
     37    absl::inlined_vector
     38    absl::leak_check
     39    absl::memory
     40    absl::no_destructor
     41    absl::nullability
     42    absl::optional
     43    absl::raw_logging_internal
     44    absl::span
     45    absl::stacktrace
     46    absl::str_format
     47    absl::strerror
     48    absl::strings
     49    absl::symbolize
     50  PUBLIC
     51 )
     52 
     53 absl_cc_test(
     54  NAME
     55    status_test
     56  SRCS
     57   "status_test.cc"
     58  COPTS
     59    ${ABSL_TEST_COPTS}
     60  DEPS
     61    absl::status
     62    absl::str_format
     63    absl::strings
     64    GTest::gmock_main
     65 )
     66 
     67 absl_cc_library(
     68  NAME
     69    statusor
     70  HDRS
     71    "statusor.h"
     72  SRCS
     73    "statusor.cc"
     74    "internal/statusor_internal.h"
     75  COPTS
     76    ${ABSL_DEFAULT_COPTS}
     77  DEPS
     78    absl::base
     79    absl::config
     80    absl::core_headers
     81    absl::has_ostream_operator
     82    absl::nullability
     83    absl::raw_logging_internal
     84    absl::status
     85    absl::str_format
     86    absl::strings
     87    absl::type_traits
     88    absl::utility
     89    absl::variant
     90  PUBLIC
     91 )
     92 
     93 absl_cc_test(
     94  NAME
     95    statusor_test
     96  SRCS
     97   "statusor_test.cc"
     98  COPTS
     99    ${ABSL_TEST_COPTS}
    100  DEPS
    101    absl::status
    102    absl::status_matchers
    103    absl::statusor
    104    absl::strings
    105    GTest::gmock_main
    106 )
    107 
    108 absl_cc_library(
    109  NAME
    110    status_matchers
    111  HDRS
    112    "status_matchers.h"
    113  SRCS
    114    "internal/status_matchers.h"
    115    "internal/status_matchers.cc"
    116  COPTS
    117    ${ABSL_DEFAULT_COPTS}
    118  LINKOPTS
    119    ${ABSL_DEFAULT_LINKOPTS}
    120  DEPS
    121    absl::base
    122    absl::status
    123    absl::statusor
    124    absl::strings
    125    GTest::gmock
    126    GTest::gtest
    127  PUBLIC
    128  TESTONLY
    129 )
    130 
    131 absl_cc_test(
    132  NAME
    133    status_matchers_test
    134  SRCS
    135   "status_matchers_test.cc"
    136  COPTS
    137    ${ABSL_TEST_COPTS}
    138  DEPS
    139    absl::status
    140    absl::statusor
    141    absl::status_matchers
    142    GTest::gmock_main
    143 )