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/util/process_version.gni") | 6 import("//build/util/process_version.gni") |
7 import("//chrome/common/features.gni") | 7 import("//chrome/common/features.gni") |
8 import("//chrome/process_version_rc_template.gni") # For branding_file_path. | 8 import("//chrome/process_version_rc_template.gni") # For branding_file_path. |
9 import("//extensions/features/features.gni") | 9 import("//extensions/features/features.gni") |
10 import("//mojo/public/tools/bindings/mojom.gni") | 10 import("//mojo/public/tools/bindings/mojom.gni") |
| 11 import("//pdf/features.gni") |
11 import("//ppapi/features/features.gni") | 12 import("//ppapi/features/features.gni") |
12 import("//tools/grit/grit_rule.gni") | 13 import("//tools/grit/grit_rule.gni") |
13 | 14 |
| 15 if (enable_pdf) { |
| 16 assert(enable_plugins, "PDF support requires plugins be enabled.") |
| 17 } |
| 18 |
14 grit("resources") { | 19 grit("resources") { |
15 source = "common_resources.grd" | 20 source = "common_resources.grd" |
16 use_qualified_include = true | 21 use_qualified_include = true |
17 defines = chrome_grit_defines | 22 defines = chrome_grit_defines |
18 output_dir = "$root_gen_dir/chrome" | 23 output_dir = "$root_gen_dir/chrome" |
19 output_name = "common_resources" | 24 output_name = "common_resources" |
20 outputs = [ | 25 outputs = [ |
21 "grit/common_resources.h", | 26 "grit/common_resources.h", |
22 "common_resources.pak", | 27 "common_resources.pak", |
23 ] | 28 ] |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 "//extensions/features", | 219 "//extensions/features", |
215 "//gin", | 220 "//gin", |
216 "//google_apis", | 221 "//google_apis", |
217 "//gpu/command_buffer/service", | 222 "//gpu/command_buffer/service", |
218 "//gpu/config", | 223 "//gpu/config", |
219 "//ipc", | 224 "//ipc", |
220 "//media", | 225 "//media", |
221 "//mojo/edk/system", | 226 "//mojo/edk/system", |
222 "//mojo/public/cpp/bindings", | 227 "//mojo/public/cpp/bindings", |
223 "//net", | 228 "//net", |
| 229 "//pdf:features", |
224 "//ppapi/features", | 230 "//ppapi/features", |
225 "//printing/features", | 231 "//printing/features", |
226 "//skia", | 232 "//skia", |
227 "//third_party/icu", | 233 "//third_party/icu", |
228 "//third_party/kasko:kasko_features", | 234 "//third_party/kasko:kasko_features", |
229 "//third_party/re2", | 235 "//third_party/re2", |
230 "//third_party/widevine/cdm:headers", | 236 "//third_party/widevine/cdm:headers", |
231 "//third_party/zlib:zip", | 237 "//third_party/zlib:zip", |
232 "//ui/accessibility", | 238 "//ui/accessibility", |
233 "//ui/base", | 239 "//ui/base", |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 "network_diagnostics.mojom", | 680 "network_diagnostics.mojom", |
675 "renderer_configuration.mojom", | 681 "renderer_configuration.mojom", |
676 "resource_usage_reporter.mojom", | 682 "resource_usage_reporter.mojom", |
677 "shell_handler_win.mojom", | 683 "shell_handler_win.mojom", |
678 ] | 684 ] |
679 | 685 |
680 public_deps = [ | 686 public_deps = [ |
681 "//url/mojo:url_mojom_gurl", | 687 "//url/mojo:url_mojom_gurl", |
682 ] | 688 ] |
683 } | 689 } |
OLD | NEW |