| # Copyright 2018 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # Please do not add more entries to this list. We plan to remove |
| # abseil-cpp from the Fuchsia platform source tree once cobalt |
| # moves out-of-tree. |
| visibility = [ |
| "//src/ledger/*", |
| "//third_party/abseil-cpp/*", |
| "$cobalt_root/*", |
| "//third_party/tink/*", |
| ] |
| |
| static_library("abseil-cpp") { |
| public_deps = [ |
| "//third_party/abseil-cpp/absl", |
| ] |
| } |
| |
| config("abseil_config") { |
| include_dirs = [ "//third_party/abseil-cpp" ] |
| |
| cflags = [ |
| # Google style does not use unsigned integers, though STL containers |
| # have unsigned types. |
| "-Wno-sign-compare", |
| "-Wno-missing-field-initializers", |
| |
| # TODO: disable -Wimplicit-int-float-conversion which has been introduced |
| # in https://reviews.llvm.org/D64666 and is failing in duration.cc:190:12 |
| "-Wno-unknown-warning-option", |
| "-Wno-implicit-int-float-conversion", |
| |
| "-Wno-conversion", |
| ] |
| } |