From faa5145146ad2bc95f19b520a83ace65a194e1e6 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 12 Oct 2018 18:33:51 +0000 Subject: Split xfa build rules into various BUILD.gn files in xfa/. Change-Id: I3e6624d0e7af6c4f7ec9674d5990ae25cc3954d0 Reviewed-on: https://pdfium-review.googlesource.com/c/43941 Commit-Queue: Lei Zhang Reviewed-by: Henrique Nakashima --- xfa/fgas/BUILD.gn | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 xfa/fgas/BUILD.gn (limited to 'xfa/fgas/BUILD.gn') diff --git a/xfa/fgas/BUILD.gn b/xfa/fgas/BUILD.gn new file mode 100644 index 0000000000..0cb74dab54 --- /dev/null +++ b/xfa/fgas/BUILD.gn @@ -0,0 +1,52 @@ +# Copyright 2018 The PDFium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import("//build/config/jumbo.gni") +import("../../pdfium.gni") + +assert(pdf_enable_xfa) + +jumbo_source_set("fgas") { + sources = [ + "crt/cfgas_formatstring.cpp", + "crt/cfgas_formatstring.h", + "font/cfgas_defaultfontmanager.cpp", + "font/cfgas_defaultfontmanager.h", + "font/cfgas_fontmgr.cpp", + "font/cfgas_fontmgr.h", + "font/cfgas_gefont.cpp", + "font/cfgas_gefont.h", + "font/cfgas_pdffontmgr.cpp", + "font/cfgas_pdffontmgr.h", + "font/fgas_fontutils.cpp", + "font/fgas_fontutils.h", + "layout/cfx_break.cpp", + "layout/cfx_break.h", + "layout/cfx_breakline.cpp", + "layout/cfx_breakline.h", + "layout/cfx_breakpiece.cpp", + "layout/cfx_breakpiece.h", + "layout/cfx_linebreak.cpp", + "layout/cfx_linebreak.h", + "layout/cfx_rtfbreak.cpp", + "layout/cfx_rtfbreak.h", + "layout/cfx_txtbreak.cpp", + "layout/cfx_txtbreak.h", + ] + deps = [ + "../../:fxcrt", + ] + configs += [ + "../../:pdfium_core_config", + "../:xfa_warnings", + ] + visibility = [ "../../*" ] + + if (!is_win) { + sources += [ + "font/cfx_fontsourceenum_file.cpp", + "font/cfx_fontsourceenum_file.h", + ] + } +} -- cgit v1.2.3