OLD | NEW |
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_components = [ | 12 content_shared_components = [ |
13 "//content/app", | |
14 "//content/browser", | |
15 "//content/child", | |
16 "//content/gpu", | 13 "//content/gpu", |
17 "//content/plugin", | 14 "//content/plugin", |
18 "//content/ppapi_plugin", | 15 "//content/ppapi_plugin", |
19 "//content/public/app", | 16 "//content/public/app", |
20 "//content/public/browser", | 17 "//content/public/browser", |
21 "//content/public/child", | 18 "//content/public/child", |
| 19 "//content/public/common", |
22 "//content/public/plugin", | 20 "//content/public/plugin", |
23 "//content/public/renderer", | 21 "//content/public/renderer", |
24 "//content/renderer", | 22 "//content/renderer", |
25 "//content/utility", | 23 "//content/utility", |
26 ] | 24 ] |
27 | 25 |
28 if (is_component_build) { | 26 if (is_component_build) { |
29 shared_library("content") { | 27 shared_library("content") { |
30 deps = content_components | 28 deps = content_shared_components + [ |
| 29 "//content/app", |
| 30 ] |
31 } | 31 } |
32 } else { | 32 } else { |
33 group("content") { | 33 group("content") { |
34 deps = content_components | 34 deps = content_shared_components |
35 } | 35 } |
36 } | 36 } |
37 | 37 |
38 grit("resources") { | 38 grit("resources") { |
39 source = "content_resources.grd" | 39 source = "content_resources.grd" |
40 outputs = [ | 40 outputs = [ |
41 "grit/content_resources.h", | 41 "grit/content_resources.h", |
42 "content_resources.pak", | 42 "content_resources.pak", |
43 "content_resources.rc", | 43 "content_resources.rc", |
44 ] | 44 ] |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 import("//build/config/crypto.gni") | 120 import("//build/config/crypto.gni") |
121 if (use_openssl) { | 121 if (use_openssl) { |
122 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ] | 122 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ] |
123 } | 123 } |
124 } | 124 } |
125 | 125 |
126 if (is_posix) { | 126 if (is_posix) { |
127 defines += [ "WEBRTC_POSIX" ] | 127 defines += [ "WEBRTC_POSIX" ] |
128 } | 128 } |
129 } | 129 } |
OLD | NEW |