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("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//content/common/common.gni") | 8 import("//content/common/common.gni") |
9 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
10 import("//third_party/webrtc/build/webrtc.gni") | 10 import("//third_party/webrtc/build/webrtc.gni") |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 "content_switches.h", | 61 "content_switches.h", |
62 ] | 62 ] |
63 sources = [ | 63 sources = [ |
64 "//content/common/content_export.h", | 64 "//content/common/content_export.h", |
65 "content_switches.cc", | 65 "content_switches.cc", |
66 ] | 66 ] |
67 | 67 |
68 public_configs = [ ":static_switches_defines" ] | 68 public_configs = [ ":static_switches_defines" ] |
69 } | 69 } |
70 | 70 |
| 71 # This target allows you to use the content_features constants and statically |
| 72 # link to it, without depending on the rest of content. This is only for use |
| 73 # without content, or you will get multiply defined symbols. |
| 74 source_set("static_features") { |
| 75 public = [ |
| 76 "content_features.h", |
| 77 ] |
| 78 sources = [ |
| 79 "//content/common/content_export.h", |
| 80 "content_features.cc", |
| 81 ] |
| 82 public_deps = [ |
| 83 "//base", |
| 84 ] |
| 85 |
| 86 public_configs = [ ":static_switches_defines" ] |
| 87 } |
| 88 |
71 source_set("common_sources") { | 89 source_set("common_sources") { |
72 # External code should depend on via ":common" above. | 90 # External code should depend on via ":common" above. |
73 visibility = [ "//content/*" ] | 91 visibility = [ "//content/*" ] |
74 | 92 |
75 sources = rebase_path(content_common_gypi_values.public_common_sources, | 93 sources = rebase_path(content_common_gypi_values.public_common_sources, |
76 ".", | 94 ".", |
77 "//content") | 95 "//content") |
78 | 96 |
79 configs += [ | 97 configs += [ |
80 "//build/config:precompiled_headers", | 98 "//build/config:precompiled_headers", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 source_set("feature_h264_with_openh264_ffmpeg") { | 156 source_set("feature_h264_with_openh264_ffmpeg") { |
139 deps = [ | 157 deps = [ |
140 ":features", | 158 ":features", |
141 "//base", | 159 "//base", |
142 ] | 160 ] |
143 sources = [ | 161 sources = [ |
144 "feature_h264_with_openh264_ffmpeg.cc", | 162 "feature_h264_with_openh264_ffmpeg.cc", |
145 "feature_h264_with_openh264_ffmpeg.h", | 163 "feature_h264_with_openh264_ffmpeg.h", |
146 ] | 164 ] |
147 } | 165 } |
OLD | NEW |