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

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

Issue 545313002: Make ui gn check pass. Misc GN build improvements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: link chrome 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/BUILD.gn ('k') | content/test/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("app") { 5 # Used internally to hold the sources shared between the various targets below.
jamesr 2014/09/05 23:26:05 add a visibility restriction?
6 source_set("app_sources") {
6 sources = [ 7 sources = [
7 "android_library_loader_hooks.h", 8 "android_library_loader_hooks.h",
8 "content_main.h", 9 "content_main.h",
9 "content_main_delegate.cc", 10 "content_main_delegate.cc",
10 "content_main_delegate.h", 11 "content_main_delegate.h",
11 "content_main_runner.h", 12 "content_main_runner.h",
12 "startup_helper_win.h", 13 "startup_helper_win.h",
13 ] 14 ]
14 15
15 configs += [ "//content:content_implementation" ] 16 configs += [ "//content:content_implementation" ]
16 17
17 deps = [ 18 deps = [
18 "//base", 19 "//base",
19 "//base:i18n", 20 "//base:i18n",
20 "//content:export", 21 "//content:export",
21 "//content/public/plugin", 22 "//content/public/plugin",
22 "//content/public/renderer", 23 "//content/public/renderer",
23 "//content/public/utility", 24 "//content/public/utility",
24 ] 25 ]
25 } 26 }
27
28 # The structure of this is like the private content/app implementation.
29 if (is_component_build) {
30
31 group("app") {
32 deps = [
33 ":app_sources",
34 "//content/app",
35 ]
36 }
37 group("browser") {
38 deps = [ "//content" ]
39 }
40 group("child") {
41 deps = [ "//content" ]
42 }
43 group("both") {
44 deps = [ "//content" ]
45 }
46
47 } else {
48
49 group("browser") {
50 deps = [
51 ":app_sources",
52 "//content/app:browser"
53 ]
54 }
55 group("child") {
56 deps = [
57 ":app_sources",
58 "//content/app:child"
59 ]
60 }
61 group("both") {
62 deps = [
63 ":app_sources",
64 "//content/app:both"
65 ]
66 }
67
68 }
OLDNEW
« no previous file with comments | « content/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698