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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } | 78 } |
79 | 79 |
| 80 # This target allows you to use the crash_keys constants (and registration |
| 81 # function) without depending on the rest of content. |
| 82 source_set("crash_keys") { |
| 83 public = [ |
| 84 "crash_keys.h", |
| 85 ] |
| 86 sources = [ |
| 87 "//content/common/content_export.h", |
| 88 "crash_keys.cc", |
| 89 ] |
| 90 deps = [ |
| 91 "//base", |
| 92 "//components/crash/core/common", |
| 93 ] |
| 94 |
| 95 public_configs = [ "//content:content_implementation" ] |
| 96 } |
| 97 |
80 source_set("common_sources") { | 98 source_set("common_sources") { |
81 # External code should depend on via ":common" above. | 99 # External code should depend on via ":common" above. |
82 visibility = [ "//content/*" ] | 100 visibility = [ "//content/*" ] |
83 | 101 |
84 sources = rebase_path(content_common_gypi_values.public_common_sources, | 102 sources = rebase_path(content_common_gypi_values.public_common_sources, |
85 ".", | 103 ".", |
86 "//content") | 104 "//content") |
87 | 105 |
88 configs += [ | 106 configs += [ |
89 "//build/config:precompiled_headers", | 107 "//build/config:precompiled_headers", |
90 "//content:content_implementation", | 108 "//content:content_implementation", |
91 ] | 109 ] |
92 | 110 |
93 public_configs = [ "//v8:external_startup_data" ] | 111 public_configs = [ "//v8:external_startup_data" ] |
94 | 112 |
95 public_deps = [ | 113 public_deps = [ |
96 "//content/common", | 114 "//content/common", |
97 "//mojo/public/cpp/bindings", | 115 "//mojo/public/cpp/bindings", |
98 "//services/shell/public/interfaces", | 116 "//services/shell/public/interfaces", |
99 "//third_party/WebKit/public:blink_headers", | 117 "//third_party/WebKit/public:blink_headers", |
100 "//ui/accessibility", | 118 "//ui/accessibility", |
101 "//url/ipc:url_ipc", | 119 "//url/ipc:url_ipc", |
102 ] | 120 ] |
103 deps = [ | 121 deps = [ |
| 122 "//components/crash/core/common", |
104 "//ipc", | 123 "//ipc", |
105 "//media", | 124 "//media", |
106 "//mojo/common", | 125 "//mojo/common", |
107 "//net", | 126 "//net", |
108 "//ppapi/c", | 127 "//ppapi/c", |
109 "//services/shell/public/cpp", | 128 "//services/shell/public/cpp", |
110 "//skia", | 129 "//skia", |
111 "//storage/common", | 130 "//storage/common", |
112 "//third_party/icu", | 131 "//third_party/icu", |
113 "//ui/accessibility", | 132 "//ui/accessibility", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 source_set("feature_h264_with_openh264_ffmpeg") { | 165 source_set("feature_h264_with_openh264_ffmpeg") { |
147 deps = [ | 166 deps = [ |
148 ":features", | 167 ":features", |
149 "//base", | 168 "//base", |
150 ] | 169 ] |
151 sources = [ | 170 sources = [ |
152 "feature_h264_with_openh264_ffmpeg.cc", | 171 "feature_h264_with_openh264_ffmpeg.cc", |
153 "feature_h264_with_openh264_ffmpeg.h", | 172 "feature_h264_with_openh264_ffmpeg.h", |
154 ] | 173 ] |
155 } | 174 } |
OLD | NEW |