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

Side by Side Diff: pdf/BUILD.gn

Issue 2558573002: Revert "reland of Improve linearized pdf load/show time." (Closed)
Patch Set: Changes to make tests pass ... Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | pdf/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//third_party/pdfium/pdfium.gni") 7 import("//third_party/pdfium/pdfium.gni")
8 8
9 assert(enable_pdf) 9 assert(enable_pdf)
10 10
11 pdf_engine = 0 # 0 PDFium 11 pdf_engine = 0 # 0 PDFium
12 12
13 static_library("pdf") { 13 static_library("pdf") {
14 deps = [ 14 deps = [
15 "//base", 15 "//base",
16 "//gin", 16 "//gin",
17 "//net", 17 "//net",
18 "//ppapi/cpp:objects", 18 "//ppapi/cpp:objects",
19 "//ppapi/cpp/private:internal_module", 19 "//ppapi/cpp/private:internal_module",
20 "//ui/base", 20 "//ui/base",
21 "//ui/gfx/range",
22 ] 21 ]
23 22
24 sources = [ 23 sources = [
24 "chunk_stream.cc",
25 "chunk_stream.h", 25 "chunk_stream.h",
26 "document_loader.cc", 26 "document_loader.cc",
27 "document_loader.h", 27 "document_loader.h",
28 "draw_utils.cc", 28 "draw_utils.cc",
29 "draw_utils.h", 29 "draw_utils.h",
30 "out_of_process_instance.cc", 30 "out_of_process_instance.cc",
31 "out_of_process_instance.h", 31 "out_of_process_instance.h",
32 "paint_aggregator.cc", 32 "paint_aggregator.cc",
33 "paint_aggregator.h", 33 "paint_aggregator.h",
34 "paint_manager.cc", 34 "paint_manager.cc",
35 "paint_manager.h", 35 "paint_manager.h",
36 "pdf.cc", 36 "pdf.cc",
37 "pdf.h", 37 "pdf.h",
38 "pdf_engine.h", 38 "pdf_engine.h",
39 "preview_mode_client.cc", 39 "preview_mode_client.cc",
40 "preview_mode_client.h", 40 "preview_mode_client.h",
41 "range_set.cc",
42 "range_set.h",
43 "timer.cc",
44 "timer.h",
45 "url_loader_wrapper.h",
46 "url_loader_wrapper_impl.cc",
47 "url_loader_wrapper_impl.h",
48 ] 41 ]
49 42
50 if (pdf_engine == 0) { 43 if (pdf_engine == 0) {
51 deps += [ 44 deps += [
52 "//pdf/pdfium/fuzzers", 45 "//pdf/pdfium/fuzzers",
53 "//third_party/pdfium", 46 "//third_party/pdfium",
54 ] 47 ]
55 48
56 sources += [ 49 sources += [
57 "pdfium/pdfium_api_string_buffer_adapter.cc", 50 "pdfium/pdfium_api_string_buffer_adapter.cc",
(...skipping 14 matching lines...) Expand all
72 65
73 defines = [ "PDFIUM_PRINT_TEXT_WITH_GDI" ] 66 defines = [ "PDFIUM_PRINT_TEXT_WITH_GDI" ]
74 if (pdf_enable_xfa) { 67 if (pdf_enable_xfa) {
75 defines += [ "PDF_ENABLE_XFA" ] 68 defines += [ "PDF_ENABLE_XFA" ]
76 } 69 }
77 } 70 }
78 71
79 test("pdf_unittests") { 72 test("pdf_unittests") {
80 sources = [ 73 sources = [
81 "chunk_stream_unittest.cc", 74 "chunk_stream_unittest.cc",
82 "document_loader_unittest.cc",
83 "range_set_unittest.cc",
84 "run_all_unittests.cc", 75 "run_all_unittests.cc",
85 ] 76 ]
86 77
87 deps = [ 78 deps = [
88 ":pdf", 79 ":pdf",
89 "//base", 80 "//base",
90 "//base/test:test_support", 81 "//base/test:test_support",
91 "//ppapi/c", 82 "//ppapi/c",
92 "//ppapi/cpp", 83 "//ppapi/cpp",
93 "//testing/gmock", 84 "//testing/gmock",
94 "//testing/gtest", 85 "//testing/gtest",
95 "//ui/gfx/range",
96 ] 86 ]
97 } 87 }
OLDNEW
« 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