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("fpdftext") { 9 sources = [ 10 "cpdf_linkextract.cpp", 11 "cpdf_linkextract.h", 12 "cpdf_textpage.cpp", 13 "cpdf_textpage.h", 14 "cpdf_textpagefind.cpp", 15 "cpdf_textpagefind.h", 16 "unicodenormalizationdata.cpp", 17 "unicodenormalizationdata.h", 18 ] 19 configs += [ "../../:pdfium_core_config" ] 20 deps = [ 21 "../fpdfapi/font", 22 "../fpdfapi/page", 23 "../fpdfapi/parser", 24 "../fxcrt", 25 ] 26 visibility = [ "../../*" ] 27} 28 29pdfium_unittest_source_set("unittests") { 30 sources = [ "cpdf_linkextract_unittest.cpp" ] 31 deps = [ ":fpdftext" ] 32 pdfium_root_dir = "../../" 33} 34