summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-11-23 14:20:19 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-23 14:20:19 -0800
commit81b224669647c9dd3c5ea2e013ee3cc109744bb8 (patch)
treeeb3d718b2be01b04fab9586c0b9f94035d1077d6 /BUILD.gn
parent9067fd683ebf8d6467f8cc5aa7daf5e1f950f846 (diff)
downloadpdfium-81b224669647c9dd3c5ea2e013ee3cc109744bb8.tar.xz
Add CFX_MaybeOwned<> template.
This will allow us to get rid of more .release()s of unique_ptrs, as shown by the changed cpdf_colorspace usage. Review-Url: https://codereview.chromium.org/2526903002
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 29572e72c5..37ae9e0580 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -703,6 +703,7 @@ config("fxge_warnings") {
static_library("fxcrt") {
sources = [
+ "core/fxcrt/cfx_maybe_owned.h",
"core/fxcrt/cfx_observable.h",
"core/fxcrt/cfx_retain_ptr.h",
"core/fxcrt/cfx_shared_copy_on_write.h",
@@ -1734,6 +1735,7 @@ test("pdfium_unittests") {
"core/fpdftext/fpdf_text_int_unittest.cpp",
"core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
"core/fxcodec/jbig2/JBig2_Image_unittest.cpp",
+ "core/fxcrt/cfx_maybe_owned_unittest.cpp",
"core/fxcrt/cfx_observable_unittest.cpp",
"core/fxcrt/cfx_retain_ptr_unittest.cpp",
"core/fxcrt/cfx_shared_copy_on_write_unittest.cpp",