xref: /aosp_15_r20/external/pdfium/xfa/BUILD.gn (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1# Copyright 2018 The PDFium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("../pdfium.gni")
6
7assert(pdf_enable_xfa)
8
9config("xfa_warnings") {
10  visibility = [ "./*" ]
11  if (is_posix && !is_clang) {  # When GCC.
12    cflags = [ "-Wno-strict-overflow" ]
13  }
14}
15