| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 source_set("static_switches") { | 68 source_set("static_switches") { |
| 69 public = [ | 69 public = [ |
| 70 "content_switches.h", | 70 "content_switches.h", |
| 71 ] | 71 ] |
| 72 sources = [ | 72 sources = [ |
| 73 "//content/common/content_export.h", | 73 "//content/common/content_export.h", |
| 74 "content_switches.cc", | 74 "content_switches.cc", |
| 75 ] | 75 ] |
| 76 | 76 |
| 77 public_configs = [ ":static_switches_defines" ] | 77 public_configs = [ ":static_switches_defines" ] |
| 78 } | |
| 79 | |
| 80 # This target allows you to use the content_features constants and statically | |
| 81 # link to it, without depending on the rest of content. This is only for use | |
| 82 # without content, or you will get multiply defined symbols. | |
| 83 source_set("static_features") { | |
| 84 public = [ | |
| 85 "content_features.h", | |
| 86 ] | |
| 87 sources = [ | |
| 88 "//content/common/content_export.h", | |
| 89 "content_features.cc", | |
| 90 ] | |
| 91 public_deps = [ | |
| 92 "//base", | |
| 93 ] | |
| 94 | |
| 95 public_configs = [ ":static_switches_defines" ] | |
| 96 } | 78 } |
| 97 | 79 |
| 98 source_set("common_sources") { | 80 source_set("common_sources") { |
| 99 # External code should depend on via ":common" above. | 81 # External code should depend on via ":common" above. |
| 100 visibility = [ "//content/*" ] | 82 visibility = [ "//content/*" ] |
| 101 | 83 |
| 102 sources = rebase_path(content_common_gypi_values.public_common_sources, | 84 sources = rebase_path(content_common_gypi_values.public_common_sources, |
| 103 ".", | 85 ".", |
| 104 "//content") | 86 "//content") |
| 105 | 87 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 source_set("feature_h264_with_openh264_ffmpeg") { | 147 source_set("feature_h264_with_openh264_ffmpeg") { |
| 166 deps = [ | 148 deps = [ |
| 167 ":features", | 149 ":features", |
| 168 "//base", | 150 "//base", |
| 169 ] | 151 ] |
| 170 sources = [ | 152 sources = [ |
| 171 "feature_h264_with_openh264_ffmpeg.cc", | 153 "feature_h264_with_openh264_ffmpeg.cc", |
| 172 "feature_h264_with_openh264_ffmpeg.h", | 154 "feature_h264_with_openh264_ffmpeg.h", |
| 173 ] | 155 ] |
| 174 } | 156 } |
| OLD | NEW |