1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39

base / third_party / double_conversion / BUILD.gn [blame]

# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

config("config") {
  visibility = [ ":double_conversion" ]

  cflags = [
    "-Wno-unused-const-variable",
    "-Wno-unused-function",
  ]
}

static_library("double_conversion") {
  sources = [
    "double-conversion/bignum-dtoa.cc",
    "double-conversion/bignum-dtoa.h",
    "double-conversion/bignum.cc",
    "double-conversion/bignum.h",
    "double-conversion/cached-powers.cc",
    "double-conversion/cached-powers.h",
    "double-conversion/diy-fp.h",
    "double-conversion/double-conversion.h",
    "double-conversion/double-to-string.cc",
    "double-conversion/double-to-string.h",
    "double-conversion/fast-dtoa.cc",
    "double-conversion/fast-dtoa.h",
    "double-conversion/fixed-dtoa.cc",
    "double-conversion/fixed-dtoa.h",
    "double-conversion/ieee.h",
    "double-conversion/string-to-double.cc",
    "double-conversion/string-to-double.h",
    "double-conversion/strtod.cc",
    "double-conversion/strtod.h",
    "double-conversion/utils.h",
  ]

  configs += [ ":config" ]
}