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

Side by Side Diff: content/BUILD.gn

Issue 462983002: GN: Make content_shell and webkit_unit_tests work in component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
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", 16 "//content/public/app",
17 "//content/public/browser", 17 "//content/public/browser:sources",
18 "//content/public/child", 18 "//content/public/child",
19 "//content/public/common", 19 "//content/public/common",
20 "//content/public/plugin", 20 "//content/public/plugin",
21 "//content/public/renderer", 21 "//content/public/renderer",
22 "//content/renderer", 22 "//content/renderer",
23 "//content/utility", 23 "//content/utility",
24 ] 24 ]
25 25
26 if (is_component_build) { 26 if (is_component_build) {
27 shared_library("content") { 27 shared_library("content") {
28 deps = content_shared_components + [ 28 deps = content_shared_components + [
29 "//content/app", 29 "//content/app",
30 ] 30 ]
31 forward_dependent_configs_from = deps
31 } 32 }
32 } else { 33 } else {
33 group("content") { 34 group("content") {
34 deps = content_shared_components 35 deps = content_shared_components
35 } 36 }
36 } 37 }
37 38
38 grit("resources") { 39 grit("resources") {
39 source = "content_resources.grd" 40 source = "content_resources.grd"
40 outputs = [ 41 outputs = [
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 import("//build/config/crypto.gni") 122 import("//build/config/crypto.gni")
122 if (use_openssl) { 123 if (use_openssl) {
123 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ] 124 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ]
124 } 125 }
125 } 126 }
126 127
127 if (is_posix) { 128 if (is_posix) {
128 defines += [ "WEBRTC_POSIX" ] 129 defines += [ "WEBRTC_POSIX" ]
129 } 130 }
130 } 131 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698