• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 The PDFium Authors. All rights reserved.
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")
6import("../../../testing/test.gni")
7
8source_set("edit") {
9  sources = [
10    "cpdf_contentstream_write_utils.cpp",
11    "cpdf_contentstream_write_utils.h",
12    "cpdf_creator.cpp",
13    "cpdf_creator.h",
14    "cpdf_pagecontentgenerator.cpp",
15    "cpdf_pagecontentgenerator.h",
16    "cpdf_pagecontentmanager.cpp",
17    "cpdf_pagecontentmanager.h",
18    "cpdf_stringarchivestream.cpp",
19    "cpdf_stringarchivestream.h",
20  ]
21  configs += [ "../../../:pdfium_core_config" ]
22  deps = [
23    "../../../constants",
24    "../../../third_party:skia_shared",
25    "../../fxcrt",
26    "../font",
27    "../page",
28    "../parser",
29  ]
30  visibility = [ "../../../*" ]
31}
32
33pdfium_unittest_source_set("unittests") {
34  sources = [ "cpdf_pagecontentgenerator_unittest.cpp" ]
35  deps = [
36    ":edit",
37    "../../fxge",
38    "../font",
39    "../page",
40    "../parser",
41    "../render",
42  ]
43  pdfium_root_dir = "../../../"
44}
45
46pdfium_embeddertest_source_set("embeddertests") {
47  sources = [ "cpdf_creator_embeddertest.cpp" ]
48  pdfium_root_dir = "../../../"
49}
50