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

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

Issue 1817903002: Make more of content pass "gn check" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 # App different than the regular content subcomponents (see comments in 5 # App different than the regular content subcomponents (see comments in
6 # //content/BUILD.gn) because it has to support the browser/child process split 6 # //content/BUILD.gn) because it has to support the browser/child process split
7 # (the "both" target include both browser and child process files and is used 7 # (the "both" target include both browser and child process files and is used
8 # for testing). 8 # for testing).
9 # 9 #
10 # In non-component mode, browser, child, and both all follow the same structure: 10 # In non-component mode, browser, child, and both all follow the same structure:
(...skipping 18 matching lines...) Expand all
29 "content_main_delegate.h", 29 "content_main_delegate.h",
30 "content_main_runner.h", 30 "content_main_runner.h",
31 "sandbox_helper_win.h", 31 "sandbox_helper_win.h",
32 ] 32 ]
33 33
34 public_app_shared_deps = [ 34 public_app_shared_deps = [
35 "//base", 35 "//base",
36 "//base:i18n", 36 "//base:i18n",
37 "//content:export", 37 "//content:export",
38 "//content/public/common:common_sources", 38 "//content/public/common:common_sources",
39 "//content/public/gpu:gpu_sources",
Dirk Pranke 2016/03/21 19:08:10 It seems a bit confusing to have a target called '
brettw 2016/03/21 20:44:27 No but this follows the content naming scheme wher
40 "//content/public/plugin:plugin_sources",
41 "//content/public/renderer:renderer_sources",
42 "//content/public/utility:utility_sources",
39 ] 43 ]
40 44
41 if (is_component_build) { 45 if (is_component_build) {
42 source_set("both_sources") { 46 source_set("both_sources") {
43 # Only the main content shared library can pull this in. 47 # Only the main content shared library can pull this in.
44 visibility = [ "//content:content" ] 48 visibility = [ "//content:content" ]
45 49
46 sources = public_app_shared_sources 50 sources = public_app_shared_sources
47 51
48 configs += [ "//content:content_implementation" ] 52 configs += [ "//content:content_implementation" ]
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 ":both", 134 ":both",
131 ] 135 ]
132 } 136 }
133 group("child") { 137 group("child") {
134 deps = [ 138 deps = [
135 ":both", 139 ":both",
136 ] 140 ]
137 } 141 }
138 } 142 }
139 } 143 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698