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

Side by Side Diff: content/public/child/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/browser/BUILD.gn ('k') | content/public/common/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 import("//content/child/child.gni") 5 import("//content/child/child.gni")
6 6
7 source_set("child") { 7 # See //content/BUILD.gn for how this works.
8 group("child") {
9 if (is_component_build) {
10 deps = [ "//content" ]
11 } else {
12 deps = [ ":child_sources" ]
13 }
14 forward_dependent_configs_from = deps
15 }
16
17 source_set("child_sources") {
18 visibility = [ "//content/*" ]
19
8 sources = rebase_path(content_child_gypi_values.public_child_sources, 20 sources = rebase_path(content_child_gypi_values.public_child_sources,
9 ".", "//content") 21 ".", "//content")
10 22
11 configs += [ 23 configs += [
12 "//content:content_implementation", 24 "//content:content_implementation",
13 ] 25 ]
14 26
15 deps = [ 27 deps = [
16 "//content/child", 28 "//content/child",
17 "//content/public/common", 29 "//content/public/common:common_sources",
18 ] 30 ]
19 } 31 }
OLDNEW
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698