Chromium Code Reviews| 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", |
| ] |
| } |