summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-09-28 14:49:01 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-28 14:49:01 -0700
commit4ba37c6f6964f6a24fc4b8b48bc82c02edb70370 (patch)
treea9b0787c38d9b7dbedcd19390144c6da1c222510 /BUILD.gn
parent7c292e0f67e0f0bf4062e0b2adf244e17d7dacb5 (diff)
downloadpdfium-4ba37c6f6964f6a24fc4b8b48bc82c02edb70370.tar.xz
Implement weak pointerschromium/2876chromium/2875
These will be a replacement for CFX_CountRef in future CLs, since CFX_CountRef is manually incremented and error-prone. Review-Url: https://codereview.chromium.org/2377143002
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 22f018eadd..778e03829c 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -710,6 +710,7 @@ static_library("fxcrt") {
"core/fxcrt/include/cfx_observable.h",
"core/fxcrt/include/cfx_retain_ptr.h",
"core/fxcrt/include/cfx_string_pool_template.h",
+ "core/fxcrt/include/cfx_weak_ptr.h",
"core/fxcrt/include/fx_basic.h",
"core/fxcrt/include/fx_coordinates.h",
"core/fxcrt/include/fx_ext.h",
@@ -1656,6 +1657,7 @@ test("pdfium_unittests") {
"core/fxcrt/cfx_observable_unittest.cpp",
"core/fxcrt/cfx_retain_ptr_unittest.cpp",
"core/fxcrt/cfx_string_pool_template_unittest.cpp",
+ "core/fxcrt/cfx_weak_ptr_unittest.cpp",
"core/fxcrt/fx_basic_bstring_unittest.cpp",
"core/fxcrt/fx_basic_gcc_unittest.cpp",
"core/fxcrt/fx_basic_memmgr_unittest.cpp",