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

Side by Side Diff: content/public/common/BUILD.gn

Issue 1148173002: Remove dependency on resources from installer_util (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ix non-Windows gn check Created 5 years, 7 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
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/config/features.gni") 5 import("//build/config/features.gni")
6 import("//content/common/common.gni") 6 import("//content/common/common.gni")
7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
8 8
9 # See //content/BUILD.gn for how this works. 9 # See //content/BUILD.gn for how this works.
10 group("common") { 10 group("common") {
11 if (is_component_build) { 11 if (is_component_build) {
12 public_deps = [ 12 public_deps = [
13 "//content", 13 "//content",
14 ] 14 ]
15 } else { 15 } else {
16 public_deps = [ 16 public_deps = [
17 ":common_sources", 17 ":common_sources",
18 ] 18 ]
19 } 19 }
20 } 20 }
21 21
22 # This target allows other targets to depend on result_codes.h which is a
23 # header-only dependency, without bringing in all of content.
24 source_set("result_codes") {
25 sources = [
26 "result_codes.h",
27 ]
28 }
29
22 source_set("common_sources") { 30 source_set("common_sources") {
23 visibility = [ "//content/*" ] 31 visibility = [ "//content/*" ]
24 32
25 sources = rebase_path(content_common_gypi_values.public_common_sources, 33 sources = rebase_path(content_common_gypi_values.public_common_sources,
26 ".", 34 ".",
27 "//content") 35 "//content")
28 36
29 configs += [ "//content:content_implementation" ] 37 configs += [ "//content:content_implementation" ]
30 38
31 public_deps = [ 39 public_deps = [
(...skipping 17 matching lines...) Expand all
49 } 57 }
50 } 58 }
51 59
52 mojom("mojo_bindings") { 60 mojom("mojo_bindings") {
53 sources = [ 61 sources = [
54 "background_sync.mojom", 62 "background_sync.mojom",
55 "mojo_geoposition.mojom", 63 "mojo_geoposition.mojom",
56 "permission_status.mojom", 64 "permission_status.mojom",
57 ] 65 ]
58 } 66 }
OLDNEW
« chrome/common/BUILD.gn ('K') | « chrome/installer/util/user_experiment.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698