summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2015-11-02 16:26:55 -0500
committerDan Sinclair <dsinclair@chromium.org>2015-11-02 16:26:55 -0500
commitbd55239e7825b8d10255093d8c3fa03b43620a98 (patch)
tree2b0418c045a753a3a7d8745695ae7eba8ef3aeb3 /BUILD.gn
parent4d6f03a5aa4053640066e829a7450c3177cb2770 (diff)
downloadpdfium-bd55239e7825b8d10255093d8c3fa03b43620a98.tar.xz
Merge to XFA: Add tests for CMap_GetCode and CMap_GetCodeRange.
This CL adds tests for the CMap_GetCode and CMap_GetCodeRange methods. To do so, it moves the methods to be static private members of CPDF_CMapParser and makes the test class a friend. TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1414013005 . (cherry picked from commit afca65ac019d2ad4cb8ac8f585809cc1a519ac2b) Review URL: https://codereview.chromium.org/1429943002 .
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 2168a8246c..b4a738995b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1473,6 +1473,7 @@ static_library("xfa") {
test("pdfium_unittests") {
sources = [
+ "core/src/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp",
"core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp",
"core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp",
"core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp",