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

Side by Side Diff: chrome/common/BUILD.gn

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge Created 4 years, 1 month 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 | « chrome/chrome_repack_locales.gni ('k') | chrome/common/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/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("//mojo/public/tools/bindings/mojom.gni") 10 import("//mojo/public/tools/bindings/mojom.gni")
10 import("//tools/grit/grit_rule.gni") 11 import("//tools/grit/grit_rule.gni")
11 12
12 grit("resources") { 13 grit("resources") {
13 source = "common_resources.grd" 14 source = "common_resources.grd"
14 use_qualified_include = true 15 use_qualified_include = true
15 defines = chrome_grit_defines 16 defines = chrome_grit_defines
16 output_dir = "$root_gen_dir/chrome" 17 output_dir = "$root_gen_dir/chrome"
17 output_name = "common_resources" 18 output_name = "common_resources"
18 outputs = [ 19 outputs = [
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 "//components/strings", 203 "//components/strings",
203 "//components/translate/content/common", 204 "//components/translate/content/common",
204 "//components/translate/core/common", 205 "//components/translate/core/common",
205 "//components/url_formatter", 206 "//components/url_formatter",
206 "//components/variations", 207 "//components/variations",
207 "//components/version_info", 208 "//components/version_info",
208 "//components/visitedlink/common", 209 "//components/visitedlink/common",
209 "//content/public/common", 210 "//content/public/common",
210 "//crypto", 211 "//crypto",
211 "//extensions/common:common_constants", 212 "//extensions/common:common_constants",
213 "//extensions/features",
212 "//gin", 214 "//gin",
213 "//google_apis", 215 "//google_apis",
214 "//gpu/command_buffer/service", 216 "//gpu/command_buffer/service",
215 "//gpu/config", 217 "//gpu/config",
216 "//ipc", 218 "//ipc",
217 "//media", 219 "//media",
218 "//mojo/edk/system", 220 "//mojo/edk/system",
219 "//mojo/public/cpp/bindings", 221 "//mojo/public/cpp/bindings",
220 "//net", 222 "//net",
221 "//ppapi/features", 223 "//ppapi/features",
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 "env_vars.h", 563 "env_vars.h",
562 "pref_font_script_names-inl.h", 564 "pref_font_script_names-inl.h",
563 "pref_font_webkit_names.h", 565 "pref_font_webkit_names.h",
564 "pref_names.cc", 566 "pref_names.cc",
565 "pref_names.h", 567 "pref_names.h",
566 ] 568 ]
567 569
568 public_deps = [ 570 public_deps = [
569 ":features", 571 ":features",
570 "//content/public/common:result_codes", 572 "//content/public/common:result_codes",
573 "//extensions/features",
571 "//printing/features", 574 "//printing/features",
572 ] 575 ]
573 deps = [ 576 deps = [
574 ":version_header", 577 ":version_header",
575 "//base", 578 "//base",
576 "//base/third_party/dynamic_annotations", 579 "//base/third_party/dynamic_annotations",
577 "//components/bookmarks/common", 580 "//components/bookmarks/common",
578 "//components/nacl/common:switches", 581 "//components/nacl/common:switches",
579 "//media:cdm_paths", # Needed by chrome_paths.cc. 582 "//media:cdm_paths", # Needed by chrome_paths.cc.
580 "//ppapi/features", 583 "//ppapi/features",
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 sources = [ 667 sources = [
665 "network_diagnostics.mojom", 668 "network_diagnostics.mojom",
666 "resource_usage_reporter.mojom", 669 "resource_usage_reporter.mojom",
667 "shell_handler_win.mojom", 670 "shell_handler_win.mojom",
668 ] 671 ]
669 672
670 public_deps = [ 673 public_deps = [
671 "//url/mojo:url_mojom_gurl", 674 "//url/mojo:url_mojom_gurl",
672 ] 675 ]
673 } 676 }
OLDNEW
« no previous file with comments | « chrome/chrome_repack_locales.gni ('k') | chrome/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698