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

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

Issue 2942643002: Break up the chrome/common:common target (Closed)
Patch Set: fix analyze issue Created 3 years, 6 months 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_watcher/BUILD.gn ('k') | no next file » | 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("//extensions/features/features.gni")
10 import("//mojo/public/tools/bindings/mojom.gni") 10 import("//mojo/public/tools/bindings/mojom.gni")
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 sources = [ 567 sources = [
568 "//build/util/LASTCHANGE", 568 "//build/util/LASTCHANGE",
569 "//chrome/VERSION", 569 "//chrome/VERSION",
570 branding_file_path, 570 branding_file_path,
571 ] 571 ]
572 template_file = "chrome_version.h.in" 572 template_file = "chrome_version.h.in"
573 573
574 output = "$target_gen_dir/chrome_version.h" 574 output = "$target_gen_dir/chrome_version.h"
575 } 575 }
576 576
577 # This target allows using logging_chrome without depending on the rest of
578 # chrome/common.
579 static_library("logging") {
agrieve 2017/06/14 15:45:48 Would this make more sense as a source_set? gn he
580 sources = [
581 "logging_chrome.cc",
582 "logging_chrome.h",
583 ]
584 deps = [
585 ":constants",
586 "//base",
587 "//content/public/common",
588 "//ipc",
589 ]
590 if (is_win) {
591 deps += [ "//chrome/install_static:install_static_util" ]
592 }
593 }
594
577 static_library("constants") { 595 static_library("constants") {
578 sources = [ 596 sources = [
579 "chrome_constants.cc", 597 "chrome_constants.cc",
580 "chrome_constants.h", 598 "chrome_constants.h",
581 "chrome_features.cc", 599 "chrome_features.cc",
582 "chrome_features.h", 600 "chrome_features.h",
583 "chrome_icon_resources_win.h", 601 "chrome_icon_resources_win.h",
584 "chrome_paths.cc", 602 "chrome_paths.cc",
585 "chrome_paths.h", 603 "chrome_paths.h",
586 "chrome_paths_android.cc", 604 "chrome_paths_android.cc",
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 788
771 mojom("page_load_metrics_mojom") { 789 mojom("page_load_metrics_mojom") {
772 sources = [ 790 sources = [
773 "page_load_metrics/page_load_metrics.mojom", 791 "page_load_metrics/page_load_metrics.mojom",
774 ] 792 ]
775 793
776 public_deps = [ 794 public_deps = [
777 "//mojo/common:common_custom_types", 795 "//mojo/common:common_custom_types",
778 ] 796 ]
779 } 797 }
OLDNEW
« no previous file with comments | « chrome/chrome_watcher/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698