Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: content/common/BUILD.gn

Issue 1824653002: Remove iOS conditions in content/ build files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/child/BUILD.gn ('k') | content/content_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/common/common.gni") 7 import("//content/common/common.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//mojo/public/tools/bindings/mojom.gni") 9 import("//mojo/public/tools/bindings/mojom.gni")
10 if (is_mac) { 10 if (is_mac) {
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 ".", 134 ".",
135 "//content") 135 "//content")
136 136
137 configs += [ 137 configs += [
138 "//content:content_implementation", 138 "//content:content_implementation",
139 "//build/config:precompiled_headers", 139 "//build/config:precompiled_headers",
140 "//build/config/compiler:no_size_t_to_int_warning", 140 "//build/config/compiler:no_size_t_to_int_warning",
141 ] 141 ]
142 142
143 public_deps = [ 143 public_deps = [
144 ":mojo_bindings",
144 "//gpu/command_buffer/common", 145 "//gpu/command_buffer/common",
145 "//ipc", 146 "//ipc",
146 "//third_party/WebKit/public:blink_headers", 147 "//third_party/WebKit/public:blink_headers",
147 ] 148 ]
148 deps = [ 149 deps = [
149 "//base", 150 "//base",
150 "//build/util:webkit_version", 151 "//build/util:webkit_version",
152 "//cc",
151 "//components/mus/public/interfaces", 153 "//components/mus/public/interfaces",
152 "//components/tracing", 154 "//components/tracing",
153 "//components/tracing:startup_tracing", 155 "//components/tracing:startup_tracing",
156 "//device/bluetooth",
157
158 # TODO: the dependency on gl_in_process_context should be decoupled from
159 # content and moved to android_webview. See crbug.com/365797.
160 "//gpu/blink",
161 "//gpu/command_buffer/client:gl_in_process_context",
162 "//gpu/command_buffer/client:gles2_c_lib",
163 "//gpu/command_buffer/client:gles2_cmd_helper",
164 "//gpu/command_buffer/client:gles2_implementation",
154 "//gpu/command_buffer/client:gles2_interface", 165 "//gpu/command_buffer/client:gles2_interface",
155 "//gpu/command_buffer/common:gles2_utils", 166 "//gpu/command_buffer/common:gles2_utils",
167 "//gpu/command_buffer/service",
168 "//gpu/ipc/common",
169 "//gpu/skia_bindings",
170 "//ipc",
171 "//ipc/mojo",
172 "//media",
173 "//media:shared_memory_support",
174 "//media/midi",
175 "//mojo/common:common_base",
156 "//mojo/converters/network", 176 "//mojo/converters/network",
177 "//mojo/edk/system",
157 "//mojo/shell/public/cpp", 178 "//mojo/shell/public/cpp",
179 "//mojo/shell/public/interfaces",
158 "//mojo/shell/runner/common", 180 "//mojo/shell/runner/common",
159 "//net", 181 "//net",
182 "//sandbox",
160 "//skia", 183 "//skia",
184 "//storage/common",
161 "//third_party/WebKit/public:blink", 185 "//third_party/WebKit/public:blink",
186 "//third_party/boringssl",
162 "//third_party/icu", 187 "//third_party/icu",
163 "//third_party/libjingle", 188 "//third_party/libjingle",
164 "//ui/accessibility", 189 "//ui/accessibility",
165 "//ui/base", 190 "//ui/base",
166 "//ui/base/ime", 191 "//ui/base/ime",
167 "//ui/events/ipc:events_ipc", 192 "//ui/events/ipc:events_ipc",
168 "//ui/gfx", 193 "//ui/gfx",
169 "//ui/gfx/geometry", 194 "//ui/gfx/geometry",
170 "//ui/gfx/ipc", 195 "//ui/gfx/ipc",
196 "//ui/gl",
171 "//ui/shell_dialogs", 197 "//ui/shell_dialogs",
172 "//url", 198 "//url",
173 "//url/ipc:url_ipc", 199 "//url/ipc:url_ipc",
174 ] 200 ]
175 201
176 if (!is_ios) {
177 deps += [
178 "//cc",
179 "//device/bluetooth",
180 "//ipc",
181 "//ipc/mojo",
182
183 # TODO: the dependency on gl_in_process_context should be decoupled from
184 # content and moved to android_webview. See crbug.com/365797.
185 "//gpu/blink",
186 "//gpu/command_buffer/client:gl_in_process_context",
187 "//gpu/command_buffer/client:gles2_c_lib",
188 "//gpu/command_buffer/client:gles2_cmd_helper",
189 "//gpu/command_buffer/client:gles2_implementation",
190 "//gpu/command_buffer/service",
191 "//gpu/ipc/common",
192 "//gpu/skia_bindings",
193 "//media",
194 "//media:shared_memory_support",
195 "//media/midi",
196 "//mojo/common:common_base",
197 "//mojo/edk/system",
198 "//mojo/shell/public/interfaces",
199 "//sandbox",
200 "//storage/common",
201 "//third_party/boringssl",
202 "//ui/gl",
203 ]
204
205 public_deps += [ ":mojo_bindings" ]
206 }
207
208 defines = [] 202 defines = []
209 include_dirs = [] 203 include_dirs = []
210 libs = [] 204 libs = []
211 ldflags = [] 205 ldflags = []
212 206
213 if (is_android && use_seccomp_bpf) { 207 if (is_android && use_seccomp_bpf) {
214 set_sources_assignment_filter([]) 208 set_sources_assignment_filter([])
215 sources += [ 209 sources += [
216 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", 210 "sandbox_linux/sandbox_bpf_base_policy_linux.cc",
217 "sandbox_linux/sandbox_bpf_base_policy_linux.h", 211 "sandbox_linux/sandbox_bpf_base_policy_linux.h",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 libs += [ "android" ] 261 libs += [ "android" ]
268 } 262 }
269 263
270 if (is_debug && !is_component_build && enable_plugins) { 264 if (is_debug && !is_component_build && enable_plugins) {
271 # Content depends on the PPAPI message logging stuff; if this isn't here, 265 # Content depends on the PPAPI message logging stuff; if this isn't here,
272 # some unit test binaries won't compile. This only worked in release mode 266 # some unit test binaries won't compile. This only worked in release mode
273 # because logging is disabled there. 267 # because logging is disabled there.
274 deps += [ "//ppapi/proxy:ipc_sources" ] 268 deps += [ "//ppapi/proxy:ipc_sources" ]
275 } 269 }
276 270
277 if (is_ios) {
278 sources -= [ "user_agent.cc" ]
279 assert(false, "Need to add lots of conditions here")
280 }
281
282 if (use_ozone) { 271 if (use_ozone) {
283 configs += [ "//ui/ozone:vgem_map" ] 272 configs += [ "//ui/ozone:vgem_map" ]
284 273
285 deps += [ "//ui/ozone" ] 274 deps += [ "//ui/ozone" ]
286 } else { 275 } else {
287 sources -= [ 276 sources -= [
288 "cursors/webcursor_ozone.cc", 277 "cursors/webcursor_ozone.cc",
289 "font_list_ozone.cc", 278 "font_list_ozone.cc",
290 "gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc", 279 "gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc",
291 "gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h", 280 "gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h",
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 public_deps = [ 537 public_deps = [
549 "//components/leveldb/public/interfaces", 538 "//components/leveldb/public/interfaces",
550 "//components/mus/public/interfaces", 539 "//components/mus/public/interfaces",
551 "//content/public/common:mojo_bindings", 540 "//content/public/common:mojo_bindings",
552 "//mojo/shell/public/interfaces", 541 "//mojo/shell/public/interfaces",
553 "//skia/public/interfaces", 542 "//skia/public/interfaces",
554 "//third_party/WebKit/public:mojo_bindings", 543 "//third_party/WebKit/public:mojo_bindings",
555 "//ui/mojo/geometry:interfaces", 544 "//ui/mojo/geometry:interfaces",
556 ] 545 ]
557 } 546 }
OLDNEW
« no previous file with comments | « content/child/BUILD.gn ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698