Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1469)

Unified Diff: pdf/BUILD.gn

Issue 2455403002: Reland of Improve linearized pdf load/show time. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pdf/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/BUILD.gn
diff --git a/pdf/BUILD.gn b/pdf/BUILD.gn
index 4e4d94655484680ba9b56b98c959e4fd31fc66d2..c5556563ba2df0ce71463f4c58042015817ec3aa 100644
--- a/pdf/BUILD.gn
+++ b/pdf/BUILD.gn
@@ -18,10 +18,10 @@ static_library("pdf") {
"//ppapi/cpp:objects",
"//ppapi/cpp/private:internal_module",
"//ui/base",
+ "//ui/gfx/range",
]
sources = [
- "chunk_stream.cc",
"chunk_stream.h",
"document_loader.cc",
"document_loader.h",
@@ -38,8 +38,18 @@ static_library("pdf") {
"pdf_engine.h",
"preview_mode_client.cc",
"preview_mode_client.h",
+ "range_set.cc",
+ "range_set.h",
+ "timer.cc",
+ "timer.h",
+ "url_loader_wrapper.h",
+ "url_loader_wrapper_impl.cc",
+ "url_loader_wrapper_impl.h",
]
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
Lei Zhang 2016/10/31 18:52:34 I removed this in https://crrev.com/427947 - let's
snake 2016/10/31 19:08:28 Done.
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
if (pdf_engine == 0) {
deps += [
"//pdf/pdfium/fuzzers",
@@ -72,6 +82,8 @@ static_library("pdf") {
test("pdf_unittests") {
sources = [
"chunk_stream_unittest.cc",
+ "document_loader_unittest.cc",
+ "range_set_unittest.cc",
"run_all_unittests.cc",
]
@@ -83,5 +95,6 @@ test("pdf_unittests") {
"//ppapi/cpp",
"//testing/gmock",
"//testing/gtest",
+ "//ui/gfx/range",
]
}
« no previous file with comments | « no previous file | pdf/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698