summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-03-29 15:04:21 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-29 15:04:21 -0700
commit602aebc11a615971800d38f8d427a4e4f95c1134 (patch)
treeec995b42d2811f00064195e5ffe4ebf4feb4af81 /BUILD.gn
parentbd56755ba86f2d87e24a3cee5cb92aa14a81bb27 (diff)
downloadpdfium-602aebc11a615971800d38f8d427a4e4f95c1134.tar.xz
Add a Retained Pointer smart class.
It's going to be hard to fix some XFA object leaks without this. Put this in fxcrt/ as we should be able to make the FX strings take advantage of this. BUG=pdfium:55 Review URL: https://codereview.chromium.org/1805683002
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index bc680b703c..f22a418b99 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -615,6 +615,7 @@ static_library("fxcrt") {
"core/fxcrt/fxcrt_stream.cpp",
"core/fxcrt/fxcrt_windows.cpp",
"core/fxcrt/fxcrt_windows.h",
+ "core/fxcrt/include/cfx_retain_ptr.h",
"core/fxcrt/include/fx_basic.h",
"core/fxcrt/include/fx_coordinates.h",
"core/fxcrt/include/fx_ext.h",
@@ -1594,6 +1595,7 @@ test("pdfium_unittests") {
"core/fpdfdoc/doc_basic_unittest.cpp",
"core/fpdftext/fpdf_text_int_unittest.cpp",
"core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
+ "core/fxcrt/cfx_retain_ptr_unittest.cpp",
"core/fxcrt/fx_basic_bstring_unittest.cpp",
"core/fxcrt/fx_basic_gcc_unittest.cpp",
"core/fxcrt/fx_basic_memmgr_unittest.cpp",