| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 config("static_switches_defines") { | 52 config("static_switches_defines") { |
| 53 defines = [ "COMPILE_CONTENT_STATICALLY" ] | 53 defines = [ "COMPILE_CONTENT_STATICALLY" ] |
| 54 } | 54 } |
| 55 | 55 |
| 56 # This target allows you to use the content_switches constants and statically | 56 # This target allows you to use the content_switches constants and statically |
| 57 # link to it, without depending on the rest of content. This is only for use | 57 # link to it, without depending on the rest of content. This is only for use |
| 58 # without content, or you will get multiply defined symbols. | 58 # without content, or you will get multiply defined symbols. |
| 59 source_set("static_switches") { | 59 source_set("static_switches") { |
| 60 public = [ | 60 public = [ |
| 61 "content_switches.h", | 61 "content_switches.h", |
| 62 "mojo_channel_switches.h", |
| 62 ] | 63 ] |
| 63 sources = [ | 64 sources = [ |
| 64 "//content/common/content_export.h", | 65 "//content/common/content_export.h", |
| 65 "content_switches.cc", | 66 "content_switches.cc", |
| 67 "mojo_channel_switches.cc", |
| 66 ] | 68 ] |
| 67 | 69 |
| 68 public_configs = [ ":static_switches_defines" ] | 70 public_configs = [ ":static_switches_defines" ] |
| 69 } | 71 } |
| 70 | 72 |
| 71 # This target allows you to use the content_features constants and statically | 73 # 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 | 74 # 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. | 75 # without content, or you will get multiply defined symbols. |
| 74 source_set("static_features") { | 76 source_set("static_features") { |
| 75 public = [ | 77 public = [ |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 source_set("feature_h264_with_openh264_ffmpeg") { | 165 source_set("feature_h264_with_openh264_ffmpeg") { |
| 164 deps = [ | 166 deps = [ |
| 165 ":features", | 167 ":features", |
| 166 "//base", | 168 "//base", |
| 167 ] | 169 ] |
| 168 sources = [ | 170 sources = [ |
| 169 "feature_h264_with_openh264_ffmpeg.cc", | 171 "feature_h264_with_openh264_ffmpeg.cc", |
| 170 "feature_h264_with_openh264_ffmpeg.h", | 172 "feature_h264_with_openh264_ffmpeg.h", |
| 171 ] | 173 ] |
| 172 } | 174 } |
| OLD | NEW |