summaryrefslogtreecommitdiff
path: root/xfa/fde/BUILD.gn
blob: ff728a70009bc1baf1e945357660ae5f5c8b5846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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")
import("../../testing/test.gni")

assert(pdf_enable_xfa)

jumbo_source_set("fde") {
  sources = [
    "cfde_data.h",
    "cfde_texteditengine.cpp",
    "cfde_texteditengine.h",
    "cfde_textout.cpp",
    "cfde_textout.h",
    "cfde_wordbreak_data.cpp",
    "cfde_wordbreak_data.h",
  ]
  deps = [
    "../../core/fxcrt",
    "../../core/fxge",
  ]
  configs += [
    "../../:pdfium_core_config",
    "../:xfa_warnings",
  ]
  visibility = [ "../../*" ]
}

pdfium_unittest_source_set("unittests") {
  sources = [
    "cfde_texteditengine_unittest.cpp",
  ]
  deps = [
    ":fde",
    "../fgas",
  ]
  pdfium_root_dir = "../../"
}