diff options
author | tsepez <tsepez@chromium.org> | 2016-03-29 15:04:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-29 15:04:21 -0700 |
commit | 602aebc11a615971800d38f8d427a4e4f95c1134 (patch) | |
tree | ec995b42d2811f00064195e5ffe4ebf4feb4af81 /pdfium.gyp | |
parent | bd56755ba86f2d87e24a3cee5cb92aa14a81bb27 (diff) | |
download | pdfium-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 'pdfium.gyp')
-rw-r--r-- | pdfium.gyp | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/pdfium.gyp b/pdfium.gyp index 0fb4c3eae5..e61237fafa 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -593,13 +593,6 @@ 'type': 'static_library', 'sources': [ 'core/fxcrt/extension.h', - 'core/fxcrt/fxcrt_platforms.cpp', - 'core/fxcrt/fxcrt_platforms.h', - 'core/fxcrt/fxcrt_posix.cpp', - 'core/fxcrt/fxcrt_posix.h', - 'core/fxcrt/fxcrt_stream.cpp', - 'core/fxcrt/fxcrt_windows.cpp', - 'core/fxcrt/fxcrt_windows.h', 'core/fxcrt/fx_basic_array.cpp', 'core/fxcrt/fx_basic_bstring.cpp', 'core/fxcrt/fx_basic_buffer.cpp', @@ -618,16 +611,25 @@ 'core/fxcrt/fx_unicode.cpp', 'core/fxcrt/fx_xml_composer.cpp', 'core/fxcrt/fx_xml_parser.cpp', - 'core/fxcrt/include/fx_basic.h', - 'core/fxcrt/include/fx_coordinates.h', - 'core/fxcrt/include/fx_ext.h', - 'core/fxcrt/include/fx_memory.h', - 'core/fxcrt/include/fx_safe_types.h', - 'core/fxcrt/include/fx_stream.h', - 'core/fxcrt/include/fx_string.h', - 'core/fxcrt/include/fx_system.h', - 'core/fxcrt/include/fx_ucd.h', - 'core/fxcrt/include/fx_xml.h', + 'core/fxcrt/fxcrt_platforms.cpp', + 'core/fxcrt/fxcrt_platforms.h', + 'core/fxcrt/fxcrt_posix.cpp', + 'core/fxcrt/fxcrt_posix.h', + 'core/fxcrt/fxcrt_stream.cpp', + 'core/fxcrt/fxcrt_windows.cpp', + 'core/fxcrt/fxcrt_windows.h', + 'core/fxcrt/include/cfx_retain_ptr.h', + 'core/include/fxcrt/fx_basic.h', + 'core/include/fxcrt/fx_bidi.h', + 'core/include/fxcrt/fx_coordinates.h', + 'core/include/fxcrt/fx_ext.h', + 'core/include/fxcrt/fx_memory.h', + 'core/include/fxcrt/fx_safe_types.h', + 'core/include/fxcrt/fx_stream.h', + 'core/include/fxcrt/fx_string.h', + 'core/include/fxcrt/fx_system.h', + 'core/include/fxcrt/fx_ucd.h', + 'core/include/fxcrt/fx_xml.h', 'core/fxcrt/plex.h', 'core/fxcrt/xml_int.h', ], @@ -895,6 +897,7 @@ 'test_support', ], 'sources': [ + 'core/fxcrt/cfx_retain_ptr_unittest.cpp', 'core/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp', 'core/fpdfapi/fpdf_font/fpdf_font_unittest.cpp', 'core/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp', |