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

Side by Side Diff: content/content.gyp

Issue 1710043002: Start to unwind references to iOS in //content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android fix Created 4 years, 10 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/content_browser.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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, # Use higher warning level. 7 'chromium_code': 1, # Use higher warning level.
8 'chromium_enable_vtune_jit_for_v8%': 0, # enable the vtune support for V8 e ngine. 8 'chromium_enable_vtune_jit_for_v8%': 0, # enable the vtune support for V8 e ngine.
9 'directxsdk_exists': '<!pymod_do_main(dir_exists ../third_party/directxsdk)' , 9 'directxsdk_exists': '<!pymod_do_main(dir_exists ../third_party/directxsdk)' ,
10 }, 10 },
(...skipping 28 matching lines...) Expand all
39 'variables': { 39 'variables': {
40 'buildflag_header_path': 'content/renderer/renderer_features.h', 40 'buildflag_header_path': 'content/renderer/renderer_features.h',
41 'buildflag_flags': [ 41 'buildflag_flags': [
42 'RTC_USE_H264=<(rtc_use_h264)', 42 'RTC_USE_H264=<(rtc_use_h264)',
43 ], 43 ],
44 }, 44 },
45 }], 45 }],
46 ], 46 ],
47 }, 47 },
48 ], 48 ],
49 'includes': [
50 '../build/win_precompile.gypi',
51 'content_resources.gypi',
52 ],
49 'conditions': [ 53 'conditions': [
50 ['OS != "ios"', {
51 'includes': [
52 '../build/win_precompile.gypi',
53 'content_resources.gypi',
54 ],
55 }],
56 ['OS == "win"', { 54 ['OS == "win"', {
57 'targets': [ 55 'targets': [
58 { 56 {
59 # GN: //content:sandbox_helper_win 57 # GN: //content:sandbox_helper_win
60 'target_name': 'sandbox_helper_win', 58 'target_name': 'sandbox_helper_win',
61 'type': 'static_library', 59 'type': 'static_library',
62 'include_dirs': [ 60 'include_dirs': [
63 '..', 61 '..',
64 ], 62 ],
65 'dependencies': [ 63 'dependencies': [
(...skipping 16 matching lines...) Expand all
82 'target_defines': [ 80 'target_defines': [
83 'COMPILE_CONTENT_STATICALLY', 81 'COMPILE_CONTENT_STATICALLY',
84 ], 82 ],
85 'targets': [ 83 'targets': [
86 { 84 {
87 # GN version: //content 85 # GN version: //content
88 'target_name': 'content', 86 'target_name': 'content',
89 'type': 'none', 87 'type': 'none',
90 'dependencies': [ 88 'dependencies': [
91 'content_browser', 89 'content_browser',
90 'content_child',
92 'content_common', 91 'content_common',
92 'content_gpu',
93 'content_plugin',
94 'content_ppapi_plugin',
95 'content_renderer',
96 'content_utility',
93 ], 97 ],
94 'export_dependent_settings': [ 98 'export_dependent_settings': [
95 'content_common', 99 'content_common',
96 ], 100 ],
97 'conditions': [
98 ['OS != "ios"', {
99 'dependencies': [
100 'content_child',
101 'content_gpu',
102 'content_plugin',
103 'content_ppapi_plugin',
104 'content_renderer',
105 'content_utility',
106 ],
107 }],
108 ],
109 }, 101 },
110 { 102 {
111 # GN version: //content/app:browser 103 # GN version: //content/app:browser
112 'target_name': 'content_app_browser', 104 'target_name': 'content_app_browser',
113 'type': 'static_library', 105 'type': 'static_library',
114 'variables': { 'enable_wexit_time_destructors': 1, }, 106 'variables': { 'enable_wexit_time_destructors': 1, },
115 'includes': [ 107 'includes': [
116 'content_app.gypi', 108 'content_app.gypi',
117 ], 109 ],
118 'dependencies': [ 110 'dependencies': [
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 'type': 'static_library', 164 'type': 'static_library',
173 'variables': { 'enable_wexit_time_destructors': 1, }, 165 'variables': { 'enable_wexit_time_destructors': 1, },
174 'includes': [ 166 'includes': [
175 'content_browser.gypi', 167 'content_browser.gypi',
176 # Disable LTO due to ELF section name out of range 168 # Disable LTO due to ELF section name out of range
177 # crbug.com/422251 169 # crbug.com/422251
178 '../build/android/disable_gcc_lto.gypi', 170 '../build/android/disable_gcc_lto.gypi',
179 ], 171 ],
180 'dependencies': [ 172 'dependencies': [
181 'content_common', 173 'content_common',
174 'content_resources',
182 ], 175 ],
183 'export_dependent_settings': [ 176 'export_dependent_settings': [
184 'content_common', 177 'content_common',
185 ], 178 ],
186 'conditions': [ 179 'conditions': [
187 ['java_bridge==1', { 180 ['java_bridge==1', {
188 'dependencies': [ 181 'dependencies': [
189 'content_child', 182 'content_child',
190 ] 183 ]
191 }], 184 }],
192 ['OS=="android"', { 185 ['OS=="android"', {
193 'dependencies': [ 186 'dependencies': [
194 'content_gpu', 187 'content_gpu',
195 'content_utility', 188 'content_utility',
196 ], 189 ],
197 }], 190 }],
198 ['OS != "ios"', {
199 'dependencies': [
200 'content_resources',
201 ],
202 }],
203 ], 191 ],
204 }, 192 },
205 { 193 {
206 # GN version: //content/common and //content/public/common 194 # GN version: //content/common and //content/public/common
207 'target_name': 'content_common', 195 'target_name': 'content_common',
208 'type': 'static_library', 196 'type': 'static_library',
209 'variables': { 'enable_wexit_time_destructors': 1, }, 197 'variables': { 'enable_wexit_time_destructors': 1, },
198 'dependencies': [
199 'content_resources',
200 ],
210 'includes': [ 201 'includes': [
211 'content_common.gypi', 202 'content_common.gypi',
212 ], 203 ],
213 'conditions': [
214 ['OS != "ios"', {
215 'dependencies': [
216 'content_resources',
217 ],
218 }],
219 ],
220 # Disable c4267 warnings until we fix size_t to int truncations. 204 # Disable c4267 warnings until we fix size_t to int truncations.
221 'msvs_disabled_warnings': [ 4267, ], 205 'msvs_disabled_warnings': [ 4267, ],
222 }, 206 },
223 ], 207 {
224 'conditions': [
225 ['OS != "ios"', {
226 'targets': [
227 {
228 # GN version: //content/child and //content/public/child 208 # GN version: //content/child and //content/public/child
229 'target_name': 'content_child', 209 'target_name': 'content_child',
230 'type': 'static_library', 210 'type': 'static_library',
231 'variables': { 'enable_wexit_time_destructors': 1, }, 211 'variables': { 'enable_wexit_time_destructors': 1, },
232 'includes': [ 212 'includes': [
233 'content_child.gypi', 213 'content_child.gypi',
214 ],
215 'dependencies': [
216 'content_resources',
217 ],
218 # Disable c4267 warnings until we fix size_t to int truncations.
219 'msvs_disabled_warnings': [ 4267, ],
220 },
221 {
222 # GN version: //content/gpu
223 'target_name': 'content_gpu',
224 'type': 'static_library',
225 'variables': { 'enable_wexit_time_destructors': 1, },
226 'includes': [
227 'content_gpu.gypi',
228 ],
229 'dependencies': [
230 'content_child',
231 'content_common',
232 ],
233 },
234 {
235 # GN version: //content/plugin and //content/public/plugin
236 'target_name': 'content_plugin',
237 'type': 'static_library',
238 'variables': { 'enable_wexit_time_destructors': 1, },
239 'includes': [
240 'content_plugin.gypi',
241 ],
242 'dependencies': [
243 'content_child',
244 'content_common',
245 ],
246 },
247 {
248 # GN version: //content/ppapi_plugin
249 'target_name': 'content_ppapi_plugin',
250 'type': 'static_library',
251 'variables': { 'enable_wexit_time_destructors': 1, },
252 'includes': [
253 'content_ppapi_plugin.gypi',
254 ],
255 # Disable c4267 warnings until we fix size_t to int truncations.
256 'msvs_disabled_warnings': [ 4267, ],
257 },
258 {
259 # GN version: //content/renderer and //content/public/renderer
260 'target_name': 'content_renderer',
261 'type': 'static_library',
262 'variables': { 'enable_wexit_time_destructors': 1, },
263 'includes': [
264 'content_renderer.gypi',
265 ],
266 'dependencies': [
267 '../third_party/webrtc/modules/modules.gyp:webrtc_h264',
268 'content_child',
269 'content_common',
270 'content_resources',
271 'renderer_features',
272 ],
273 'export_dependent_settings': [
274 'content_common',
275 ],
276 'conditions': [
277 ['chromium_enable_vtune_jit_for_v8==1', {
278 'dependencies': [
279 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune',
234 ], 280 ],
235 'dependencies': [ 281 }],
236 'content_resources',
237 ],
238 # Disable c4267 warnings until we fix size_t to int truncations.
239 'msvs_disabled_warnings': [ 4267, ],
240 },
241 {
242 # GN version: //content/gpu
243 'target_name': 'content_gpu',
244 'type': 'static_library',
245 'variables': { 'enable_wexit_time_destructors': 1, },
246 'includes': [
247 'content_gpu.gypi',
248 ],
249 'dependencies': [
250 'content_child',
251 'content_common',
252 ],
253 },
254 {
255 # GN version: //content/plugin and //content/public/plugin
256 'target_name': 'content_plugin',
257 'type': 'static_library',
258 'variables': { 'enable_wexit_time_destructors': 1, },
259 'includes': [
260 'content_plugin.gypi',
261 ],
262 'dependencies': [
263 'content_child',
264 'content_common',
265 ],
266 },
267 {
268 # GN version: //content/ppapi_plugin
269 'target_name': 'content_ppapi_plugin',
270 'type': 'static_library',
271 'variables': { 'enable_wexit_time_destructors': 1, },
272 'includes': [
273 'content_ppapi_plugin.gypi',
274 ],
275 # Disable c4267 warnings until we fix size_t to int truncations.
276 'msvs_disabled_warnings': [ 4267, ],
277 },
278 {
279 # GN version: //content/renderer and //content/public/renderer
280 'target_name': 'content_renderer',
281 'type': 'static_library',
282 'variables': { 'enable_wexit_time_destructors': 1, },
283 'includes': [
284 'content_renderer.gypi',
285 ],
286 'dependencies': [
287 '../third_party/webrtc/modules/modules.gyp:webrtc_h264',
288 'content_child',
289 'content_common',
290 'content_resources',
291 'renderer_features',
292 ],
293 'export_dependent_settings': [
294 'content_common',
295 ],
296 'conditions': [
297 ['chromium_enable_vtune_jit_for_v8==1', {
298 'dependencies': [
299 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune',
300 ],
301 }],
302 ],
303 },
304 {
305 # GN version: //content/utility and //content/public/utility
306 'target_name': 'content_utility',
307 'type': 'static_library',
308 'variables': { 'enable_wexit_time_destructors': 1, },
309 'includes': [
310 'content_utility.gypi',
311 ],
312 'dependencies': [
313 'content_child',
314 'content_common',
315 'content_common_mojo_bindings.gyp:content_common_mojo_bindings',
316 ],
317 },
318 ], 282 ],
319 }], 283 },
284 {
285 # GN version: //content/utility and //content/public/utility
286 'target_name': 'content_utility',
287 'type': 'static_library',
288 'variables': { 'enable_wexit_time_destructors': 1, },
289 'includes': [
290 'content_utility.gypi',
291 ],
292 'dependencies': [
293 'content_child',
294 'content_common',
295 'content_common_mojo_bindings.gyp:content_common_mojo_bindings',
296 ],
297 },
320 ], 298 ],
321 }, 299 },
322 { # component != static_library 300 { # component != static_library
323 'targets': [ 301 'targets': [
324 { 302 {
325 # GN version: //content 303 # GN version: //content
326 'target_name': 'content', 304 'target_name': 'content',
327 'type': 'shared_library', 305 'type': 'shared_library',
328 'variables': { 'enable_wexit_time_destructors': 1, }, 306 'variables': { 'enable_wexit_time_destructors': 1, },
329 'dependencies': [ 307 'dependencies': [
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 }, 655 },
678 'includes': [ 656 'includes': [
679 '../build/android/copy_ex.gypi', 657 '../build/android/copy_ex.gypi',
680 '../build/android/v8_external_startup_data_arch_suffix.gypi', 658 '../build/android/v8_external_startup_data_arch_suffix.gypi',
681 ], 659 ],
682 }, 660 },
683 ], 661 ],
684 }], # OS == "android" 662 }], # OS == "android"
685 ], 663 ],
686 } 664 }
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698