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

import("//build/config/gclient_args.gni")

config("llvm-libc-config") {
  visibility = [ ":*" ]
  include_dirs = [ "src" ]
  defines = [ "LIBC_NAMESPACE=__llvm_libc_cr" ]
}

group("llvm-libc-shared") {
  # llvm-libc is only used as a dependency of libc++.
  visibility = [ "//buildtools/third_party/libc++:libc++" ]

  public_configs = [ ":llvm-libc-config" ]
}
