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

Side by Side Diff: content/child/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/browser/BUILD.gn ('k') | content/common/BUILD.gn » ('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/child/child.gni") 7 import("//content/child/child.gni")
8 8
9 source_set("child") { 9 source_set("child") {
10 # Only the public target should depend on this. All other targets (even 10 # Only the public target should depend on this. All other targets (even
11 # internal content ones) should depend on the public one. 11 # internal content ones) should depend on the public one.
12 visibility = [ "//content/public/child:child_sources" ] 12 visibility = [ "//content/public/child:child_sources" ]
13 13
14 sources = rebase_path(content_child_gypi_values.private_child_sources, 14 sources = rebase_path(content_child_gypi_values.private_child_sources,
15 ".", 15 ".",
16 "//content") 16 "//content")
17 17
18 configs += [ 18 configs += [
19 "//build/config:precompiled_headers", 19 "//build/config:precompiled_headers",
20 "//content/public/common:mojo_shell_client", 20 "//content/public/common:mojo_shell_client",
21 ] 21 ]
22 22
23 public_deps = [ 23 public_deps = [
24 "//mojo/edk/system", 24 "//mojo/edk/system",
25 ] 25 ]
26 26
27 deps = [ 27 deps = [
28 "//base", 28 "//base",
29 "//components/mime_util", 29 "//components/mime_util",
30 "//components/scheduler:scheduler",
30 "//components/tracing", 31 "//components/tracing",
31 "//components/tracing:startup_tracing", 32 "//components/tracing:startup_tracing",
32 "//components/webcrypto", 33 "//components/webcrypto",
34 "//content/app/resources",
35 "//content/app/strings",
33 "//content/common:mojo_bindings", 36 "//content/common:mojo_bindings",
37 "//crypto:platform",
34 "//mojo/common", 38 "//mojo/common",
35 "//mojo/message_pump", 39 "//mojo/message_pump",
36 "//mojo/shell/public/interfaces", 40 "//mojo/shell/public/interfaces",
37 "//mojo/shell/runner/common", 41 "//mojo/shell/runner/common",
38 "//net", 42 "//net",
39 "//skia", 43 "//skia",
44 "//storage/common",
45 "//third_party/WebKit/public:blink_headers",
46 "//third_party/WebKit/public:image_resources",
47 "//third_party/WebKit/public:resources",
40 "//third_party/icu", 48 "//third_party/icu",
49 "//third_party/npapi",
41 "//ui/base", 50 "//ui/base",
42 "//ui/events/gestures/blink", 51 "//ui/events/gestures/blink",
43 "//ui/gfx", 52 "//ui/gfx",
44 "//ui/gfx/geometry", 53 "//ui/gfx/geometry",
45 "//ui/native_theme", 54 "//ui/native_theme",
46 "//url", 55 "//url",
47 ] 56 ]
48 57
49 if (!use_default_render_theme) { 58 if (!use_default_render_theme) {
50 sources -= [ 59 sources -= [
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 if (use_aura) { 104 if (use_aura) {
96 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] 105 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ]
97 } 106 }
98 } 107 }
99 108
100 configs += [ 109 configs += [
101 "//content:content_implementation", 110 "//content:content_implementation",
102 "//build/config/compiler:no_size_t_to_int_warning", 111 "//build/config/compiler:no_size_t_to_int_warning",
103 ] 112 ]
104 113
105 if (is_ios) {
106 # iOS only needs a small portion of content; exclude all the
107 # implementation, and re-include what is used.
108 sources = []
109 } else {
110 deps += [
111 "//components/scheduler:scheduler",
112 "//content/app/resources",
113 "//content/app/strings",
114 "//crypto:platform",
115 "//storage/common",
116 "//third_party/WebKit/public:blink_headers",
117 "//third_party/WebKit/public:image_resources",
118 "//third_party/WebKit/public:resources",
119 "//third_party/npapi",
120 ]
121 }
122
123 if (use_aura && is_mac) { 114 if (use_aura && is_mac) {
124 # This file is already excluded on non-Mac. 115 # This file is already excluded on non-Mac.
125 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] 116 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ]
126 } 117 }
127 118
128 if (is_win || !use_aura) { 119 if (is_win || !use_aura) {
129 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] 120 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ]
130 } 121 }
131 } 122 }
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698