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

static_library("libipp") {
  include_dirs = [ "." ]
  sources = [
    "libipp/attribute.h",
    "libipp/builder.cc",
    "libipp/builder.h",
    "libipp/colls_view.cc",
    "libipp/colls_view.h",
    "libipp/errors.cc",
    "libipp/errors.h",
    "libipp/frame.cc",
    "libipp/frame.h",
    "libipp/ipp_attribute.cc",
    "libipp/ipp_attribute.h",
    "libipp/ipp_encoding.h",
    "libipp/ipp_enums.cc",
    "libipp/ipp_enums.h",
    "libipp/ipp_export.h",
    "libipp/ipp_frame.h",
    "libipp/ipp_parser.cc",
    "libipp/ipp_parser.h",
    "libipp/parser.cc",
    "libipp/parser.h",
    "libipp/validator.cc",
    "libipp/validator.h",
  ]

  # TODO(crbug.com/40031409): Fix code that adds exit-time destructors and
  # enable the diagnostic by removing this line.
  configs += [ "//build/config/compiler:no_exit_time_destructors" ]
}
