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 } |
(...skipping 20 matching lines...) Expand all Loading... |
31 deps = content_components | 31 deps = content_components |
32 } | 32 } |
33 } else { | 33 } else { |
34 group("content") { | 34 group("content") { |
35 deps = content_components | 35 deps = content_components |
36 } | 36 } |
37 } | 37 } |
38 | 38 |
39 grit("resources") { | 39 grit("resources") { |
40 source = "content_resources.grd" | 40 source = "content_resources.grd" |
| 41 outputs = [ |
| 42 "grit/content_resources.h", |
| 43 "content_resources.pak", |
| 44 "content_resources.rc", |
| 45 ] |
41 } | 46 } |
42 | 47 |
43 # This target exists to "hold" the content_export header so we can do proper | 48 # This target exists to "hold" the content_export header so we can do proper |
44 # inclusion testing of it. | 49 # inclusion testing of it. |
45 source_set("export") { | 50 source_set("export") { |
46 visibility = "//content/*" | 51 visibility = "//content/*" |
47 sources = [ | 52 sources = [ |
48 "content/common/content_export.h" | 53 "content/common/content_export.h" |
49 ] | 54 ] |
50 } | 55 } |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 import("//build/config/crypto.gni") | 121 import("//build/config/crypto.gni") |
117 if (use_openssl) { | 122 if (use_openssl) { |
118 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ] | 123 defines += [ "WEBRTC_ANDROID_OPENSLEQS" ] |
119 } | 124 } |
120 } | 125 } |
121 | 126 |
122 if (is_posix) { | 127 if (is_posix) { |
123 defines += [ "WEBRTC_POSIX" ] | 128 defines += [ "WEBRTC_POSIX" ] |
124 } | 129 } |
125 } | 130 } |
OLD | NEW |