OLD | NEW |
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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//pdf/features.gni") | 7 import("//pdf/features.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 import("//third_party/pdfium/pdfium.gni") | 9 import("//third_party/pdfium/pdfium.gni") |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 "pdf.cc", | 43 "pdf.cc", |
44 "pdf.h", | 44 "pdf.h", |
45 "pdf_engine.h", | 45 "pdf_engine.h", |
46 "preview_mode_client.cc", | 46 "preview_mode_client.cc", |
47 "preview_mode_client.h", | 47 "preview_mode_client.h", |
48 ] | 48 ] |
49 | 49 |
50 if (pdf_engine == 0) { | 50 if (pdf_engine == 0) { |
51 deps += [ | 51 deps += [ |
52 "//pdf/pdfium/fuzzers", | 52 "//pdf/pdfium/fuzzers", |
| 53 "//printing", |
53 "//third_party/pdfium", | 54 "//third_party/pdfium", |
54 ] | 55 ] |
55 | 56 |
56 sources += [ | 57 sources += [ |
57 "pdfium/pdfium_api_string_buffer_adapter.cc", | 58 "pdfium/pdfium_api_string_buffer_adapter.cc", |
58 "pdfium/pdfium_api_string_buffer_adapter.h", | 59 "pdfium/pdfium_api_string_buffer_adapter.h", |
59 "pdfium/pdfium_assert_matching_enums.cc", | 60 "pdfium/pdfium_assert_matching_enums.cc", |
60 "pdfium/pdfium_engine.cc", | 61 "pdfium/pdfium_engine.cc", |
61 "pdfium/pdfium_engine.h", | 62 "pdfium/pdfium_engine.h", |
62 "pdfium/pdfium_mem_buffer_file_read.cc", | 63 "pdfium/pdfium_mem_buffer_file_read.cc", |
(...skipping 28 matching lines...) Expand all Loading... |
91 "//testing/gmock", | 92 "//testing/gmock", |
92 "//testing/gtest", | 93 "//testing/gtest", |
93 ] | 94 ] |
94 } | 95 } |
95 } else { | 96 } else { |
96 # Dummy group when PDF support is disabled so targets can unconditionally | 97 # Dummy group when PDF support is disabled so targets can unconditionally |
97 # depend on it. | 98 # depend on it. |
98 group("pdf") { | 99 group("pdf") { |
99 } | 100 } |
100 } | 101 } |
OLD | NEW |