diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-12 21:12:38 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-12 21:12:38 +0000 |
commit | dee25119008a39e2ee360c5c46d9ba18d7a340b8 (patch) | |
tree | 472e0fba786ff56ef5e2722c77014479adce2326 /core/fxcrt/css | |
parent | e421d384ca88046c989991581d9abb044cddd009 (diff) | |
download | pdfium-dee25119008a39e2ee360c5c46d9ba18d7a340b8.tar.xz |
Make core/fxcrt pass gn check.
Split some XFA-only code into their own targets to avoid circular
dependencies. Make CFX_SeekableMultiStream XFA-only.
Change-Id: I88f49556623d52dddd4d0013cc3308b694c01d42
Reviewed-on: https://pdfium-review.googlesource.com/c/43973
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcrt/css')
-rw-r--r-- | core/fxcrt/css/BUILD.gn | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/core/fxcrt/css/BUILD.gn b/core/fxcrt/css/BUILD.gn new file mode 100644 index 0000000000..99b7853751 --- /dev/null +++ b/core/fxcrt/css/BUILD.gn @@ -0,0 +1,60 @@ +# 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("css") { + sources = [ + "cfx_css.h", + "cfx_csscolorvalue.cpp", + "cfx_csscolorvalue.h", + "cfx_csscomputedstyle.cpp", + "cfx_csscomputedstyle.h", + "cfx_csscustomproperty.cpp", + "cfx_csscustomproperty.h", + "cfx_cssdata.cpp", + "cfx_cssdata.h", + "cfx_cssdeclaration.cpp", + "cfx_cssdeclaration.h", + "cfx_cssenumvalue.cpp", + "cfx_cssenumvalue.h", + "cfx_cssexttextbuf.cpp", + "cfx_cssexttextbuf.h", + "cfx_cssnumbervalue.cpp", + "cfx_cssnumbervalue.h", + "cfx_csspropertyholder.cpp", + "cfx_csspropertyholder.h", + "cfx_cssrulecollection.cpp", + "cfx_cssrulecollection.h", + "cfx_cssselector.cpp", + "cfx_cssselector.h", + "cfx_cssstringvalue.cpp", + "cfx_cssstringvalue.h", + "cfx_cssstylerule.cpp", + "cfx_cssstylerule.h", + "cfx_cssstyleselector.cpp", + "cfx_cssstyleselector.h", + "cfx_cssstylesheet.cpp", + "cfx_cssstylesheet.h", + "cfx_csssyntaxparser.cpp", + "cfx_csssyntaxparser.h", + "cfx_csstextbuf.cpp", + "cfx_csstextbuf.h", + "cfx_cssvalue.cpp", + "cfx_cssvalue.h", + "cfx_cssvaluelist.cpp", + "cfx_cssvaluelist.h", + "cfx_cssvaluelistparser.cpp", + "cfx_cssvaluelistparser.h", + ] + deps = [ + "../", + "../../fxge", + ] + configs += [ "../../../:pdfium_core_config" ] + visibility = [ "../../../*" ] +} |