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_components = [ |
13 "//content/app", | 13 "//content/app", |
14 "//content/browser", | 14 "//content/browser", |
15 "//content/child", | 15 "//content/child", |
16 "//content/gpu", | 16 "//content/gpu", |
17 "//content/plugin", | 17 "//content/plugin", |
18 "//content/ppapi_plugin", | 18 "//content/ppapi_plugin", |
19 "//content/public/app", | 19 "//content/public/app", |
20 "//content/public/browser", | 20 "//content/public/browser", |
21 "//content/public/child", | 21 "//content/public/child", |
22 "//content/public/plugin", | 22 "//content/public/plugin", |
23 "//content/public/renderer", | 23 "//content/public/renderer", |
24 "//content/renderer", | 24 "//content/renderer", |
25 "//content/utility", | 25 "//content/utility", |
26 "//content/worker", | |
27 ] | 26 ] |
28 | 27 |
29 if (is_component_build) { | 28 if (is_component_build) { |
30 shared_library("content") { | 29 shared_library("content") { |
31 deps = content_components | 30 deps = content_components |
32 } | 31 } |
33 } else { | 32 } else { |
34 group("content") { | 33 group("content") { |
35 deps = content_components | 34 deps = content_components |
36 } | 35 } |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 import("//build/config/crypto.gni") | 120 import("//build/config/crypto.gni") |
122 if (use_openssl) { | 121 if (use_openssl) { |
123 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ] | 122 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ] |
124 } | 123 } |
125 } | 124 } |
126 | 125 |
127 if (is_posix) { | 126 if (is_posix) { |
128 defines += [ "WEBRTC_POSIX" ] | 127 defines += [ "WEBRTC_POSIX" ] |
129 } | 128 } |
130 } | 129 } |
OLD | NEW |