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

Side by Side Diff: content/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
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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 # Applied by targets internal to content. 7 # Applied by targets internal to content.
8 config("content_implementation") { 8 config("content_implementation") {
9 defines = [ "CONTENT_IMPLEMENTATION" ] 9 defines = [ "CONTENT_IMPLEMENTATION" ]
10 } 10 }
11 11
12 content_shared_components = [ 12 content_shared_components = [
13 "//content/gpu", 13 "//content/gpu",
14 "//content/plugin", 14 "//content/plugin",
15 "//content/ppapi_plugin", 15 "//content/ppapi_plugin",
16 "//content/public/app",
17 "//content/public/browser:sources", 16 "//content/public/browser:sources",
18 "//content/public/child", 17 "//content/public/child",
19 "//content/public/common", 18 "//content/public/common",
20 "//content/public/plugin", 19 "//content/public/plugin",
21 "//content/public/renderer", 20 "//content/public/renderer",
22 "//content/renderer", 21 "//content/renderer",
23 "//content/utility", 22 "//content/utility",
24 ] 23 ]
25 24
26 if (is_component_build) { 25 if (is_component_build) {
27 shared_library("content") { 26 shared_library("content") {
28 deps = content_shared_components + [ 27 deps = content_shared_components + [
29 "//content/app", 28 "//content/app",
29 "//content/public/app",
30 ] 30 ]
31 forward_dependent_configs_from = deps 31 forward_dependent_configs_from = deps
32 } 32 }
33 } else { 33 } else {
34 group("content") { 34 group("content") {
35 deps = content_shared_components 35 deps = content_shared_components
36 } 36 }
37 } 37 }
38 38
39 grit("resources") { 39 grit("resources") {
40 source = "content_resources.grd" 40 source = "content_resources.grd"
41 use_qualified_include = true 41 use_qualified_include = true
42 outputs = [ 42 outputs = [
43 "grit/content_resources.h", 43 "grit/content_resources.h",
44 "content_resources.pak", 44 "content_resources.pak",
45 "content_resources.rc", 45 "content_resources.rc",
46 ] 46 ]
47 } 47 }
48 48
49 # This target exists to "hold" the content_export header so we can do proper 49 # This target exists to "hold" the content_export header so we can do proper
50 # inclusion testing of it. 50 # inclusion testing of it.
51 source_set("export") { 51 source_set("export") {
52 visibility = "//content/*" 52 visibility = "//content/*"
53 sources = [ 53 sources = [
54 "content/common/content_export.h" 54 "content/common/content_export.h"
55 ] 55 ]
56 } 56 }
OLDNEW
« no previous file with comments | « chrome/BUILD.gn ('k') | content/public/app/BUILD.gn » ('j') | content/public/app/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698