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("//pdf/features.gni") |
12 import("//ppapi/features/features.gni") | 12 import("//ppapi/features/features.gni") |
13 import("//tools/grit/grit_rule.gni") | 13 import("//tools/grit/grit_rule.gni") |
14 | 14 |
15 if (enable_pdf) { | 15 if (enable_pdf) { |
16 assert(enable_plugins, "PDF support requires plugins be enabled.") | 16 assert(enable_plugins, "PDF support requires plugins be enabled.") |
17 } | 17 } |
18 | 18 |
19 grit("resources") { | 19 grit("resources") { |
20 source = "common_resources.grd" | 20 source = "common_resources.grd" |
21 use_qualified_include = true | |
22 defines = chrome_grit_defines | 21 defines = chrome_grit_defines |
23 output_dir = "$root_gen_dir/chrome" | 22 output_dir = "$root_gen_dir/chrome" |
24 output_name = "common_resources" | 23 output_name = "common_resources" |
25 outputs = [ | 24 outputs = [ |
26 "grit/common_resources.h", | 25 "grit/common_resources.h", |
27 "common_resources.pak", | 26 "common_resources.pak", |
28 ] | 27 ] |
29 } | 28 } |
30 | 29 |
31 buildflag_header("features") { | 30 buildflag_header("features") { |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 mojom("instant_mojom") { | 710 mojom("instant_mojom") { |
712 sources = [ | 711 sources = [ |
713 "instant.mojom", | 712 "instant.mojom", |
714 ] | 713 ] |
715 | 714 |
716 public_deps = [ | 715 public_deps = [ |
717 "//mojo/common:common_custom_types", | 716 "//mojo/common:common_custom_types", |
718 "//url/mojo:url_mojom_gurl", | 717 "//url/mojo:url_mojom_gurl", |
719 ] | 718 ] |
720 } | 719 } |
OLD | NEW |