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

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

Issue 554393009: Make chrome GN build work in component mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo gyp changes Created 6 years, 3 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 | « content/public/renderer/BUILD.gn ('k') | content/renderer/BUILD.gn » ('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 source_set("utility") { 5 # See //content/BUILD.gn for how this works.
6 group("utility") {
7 if (is_component_build) {
8 deps = [ "//content" ]
9 } else {
10 deps = [ ":utility_sources" ]
11 }
12 forward_dependent_configs_from = deps
13 }
14
15 source_set("utility_sources") {
16 visibility = [ "//content/*" ]
17
6 sources = [ 18 sources = [
7 "content_utility_client.cc", 19 "content_utility_client.cc",
8 "content_utility_client.h", 20 "content_utility_client.h",
9 "utility_thread.cc", 21 "utility_thread.cc",
10 "utility_thread.h", 22 "utility_thread.h",
11 ] 23 ]
12 24
13 configs += [ "//content:content_implementation" ] 25 configs += [ "//content:content_implementation" ]
14 26
15 deps = [ 27 deps = [
16 "//base", 28 "//base",
17 "//content:export", 29 "//content:export",
18 "//content/public/common", 30 "//content/public/common:common_sources",
19 "//content/utility", 31 "//content/utility",
20 "//ipc", 32 "//ipc",
21 ] 33 ]
22 34
23 allow_circular_includes_from = [ 35 allow_circular_includes_from = [
24 # This target is a pair with content/browser. They always go together and 36 # This target is a pair with content/browser. They always go together and
25 # include headers from each other. 37 # include headers from each other.
26 "//content/utility", 38 # TODO(brettw) enable this when this permits non-dependent targets.
39 #"//content/utility",
27 ] 40 ]
28 } 41 }
29 42
OLDNEW
« no previous file with comments | « content/public/renderer/BUILD.gn ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698