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

Side by Side Diff: content/content.gyp

Issue 419913003: Make content_shell link in the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Android spelling Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « content/app/BUILD.gn ('k') | content/renderer/pepper/video_decoder_shim.cc » ('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 22 matching lines...) Expand all
33 # targets in order to prevent dependencies from getting introduced 33 # targets in order to prevent dependencies from getting introduced
34 # upstream unnecessarily (e.g., content_renderer depends on allocator 34 # upstream unnecessarily (e.g., content_renderer depends on allocator
35 # and chrome_exe depends on content_common but we don't want 35 # and chrome_exe depends on content_common but we don't want
36 # chrome_exe to have to depend on allocator). 36 # chrome_exe to have to depend on allocator).
37 ['component=="static_library"', { 37 ['component=="static_library"', {
38 'target_defines': [ 38 'target_defines': [
39 'COMPILE_CONTENT_STATICALLY', 39 'COMPILE_CONTENT_STATICALLY',
40 ], 40 ],
41 'targets': [ 41 'targets': [
42 { 42 {
43 # GN version: //content
43 'target_name': 'content', 44 'target_name': 'content',
44 'type': 'none', 45 'type': 'none',
45 'dependencies': [ 46 'dependencies': [
46 'content_browser', 47 'content_browser',
47 'content_common', 48 'content_common',
48 ], 49 ],
49 'export_dependent_settings': [ 50 'export_dependent_settings': [
50 'content_common', 51 'content_common',
51 ], 52 ],
52 'conditions': [ 53 'conditions': [
53 ['OS != "ios"', { 54 ['OS != "ios"', {
54 'dependencies': [ 55 'dependencies': [
55 'content_child', 56 'content_child',
56 'content_gpu', 57 'content_gpu',
57 'content_plugin', 58 'content_plugin',
58 'content_ppapi_plugin', 59 'content_ppapi_plugin',
59 'content_renderer', 60 'content_renderer',
60 'content_utility', 61 'content_utility',
61 ], 62 ],
62 }], 63 }],
63 ], 64 ],
64 }, 65 },
65 { 66 {
67 # GN version: //content/app:browser
66 'target_name': 'content_app_browser', 68 'target_name': 'content_app_browser',
67 'type': 'static_library', 69 'type': 'static_library',
68 'variables': { 'enable_wexit_time_destructors': 1, }, 70 'variables': { 'enable_wexit_time_destructors': 1, },
69 'includes': [ 71 'includes': [
70 'content_app.gypi', 72 'content_app.gypi',
71 ], 73 ],
72 'dependencies': [ 74 'dependencies': [
73 'content_common', 75 'content_common',
74 ], 76 ],
75 'export_dependent_settings': [ 77 'export_dependent_settings': [
76 'content_common', 78 'content_common',
77 ], 79 ],
78 'conditions': [ 80 'conditions': [
79 ['chrome_multiple_dll', { 81 ['chrome_multiple_dll', {
80 'defines': [ 82 'defines': [
81 'CHROME_MULTIPLE_DLL_BROWSER', 83 'CHROME_MULTIPLE_DLL_BROWSER',
82 ], 84 ],
83 }], 85 }],
84 ], 86 ],
85 }, 87 },
86 { 88 {
89 # GN version: //content/app:child
87 'target_name': 'content_app_child', 90 'target_name': 'content_app_child',
88 'type': 'static_library', 91 'type': 'static_library',
89 'variables': { 'enable_wexit_time_destructors': 1, }, 92 'variables': { 'enable_wexit_time_destructors': 1, },
90 'includes': [ 93 'includes': [
91 'content_app.gypi', 94 'content_app.gypi',
92 ], 95 ],
93 'dependencies': [ 96 'dependencies': [
94 'content_common', 97 'content_common',
95 ], 98 ],
96 'export_dependent_settings': [ 99 'export_dependent_settings': [
97 'content_common', 100 'content_common',
98 ], 101 ],
99 'conditions': [ 102 'conditions': [
100 ['chrome_multiple_dll', { 103 ['chrome_multiple_dll', {
101 'defines': [ 104 'defines': [
102 'CHROME_MULTIPLE_DLL_CHILD', 105 'CHROME_MULTIPLE_DLL_CHILD',
103 ], 106 ],
104 }], 107 }],
105 ], 108 ],
106 }, 109 },
107 { 110 {
111 # GN version: //content/app:both
108 'target_name': 'content_app_both', 112 'target_name': 'content_app_both',
109 'type': 'static_library', 113 'type': 'static_library',
110 'variables': { 'enable_wexit_time_destructors': 1, }, 114 'variables': { 'enable_wexit_time_destructors': 1, },
111 'includes': [ 115 'includes': [
112 'content_app.gypi', 116 'content_app.gypi',
113 ], 117 ],
114 'dependencies': [ 118 'dependencies': [
115 'content_common', 119 'content_common',
116 ], 120 ],
117 'export_dependent_settings': [ 121 'export_dependent_settings': [
118 'content_common', 122 'content_common',
119 ], 123 ],
120 }, 124 },
121 { 125 {
126 # GN version: //content/browser and //content/public/browser
122 'target_name': 'content_browser', 127 'target_name': 'content_browser',
123 'type': 'static_library', 128 'type': 'static_library',
124 'variables': { 'enable_wexit_time_destructors': 1, }, 129 'variables': { 'enable_wexit_time_destructors': 1, },
125 'includes': [ 130 'includes': [
126 'content_browser.gypi', 131 'content_browser.gypi',
127 ], 132 ],
128 'dependencies': [ 133 'dependencies': [
129 'content_common', 134 'content_common',
130 'content_resources.gyp:content_resources', 135 'content_resources.gyp:content_resources',
131 ], 136 ],
132 'export_dependent_settings': [ 137 'export_dependent_settings': [
133 'content_common', 138 'content_common',
134 ], 139 ],
135 'conditions': [ 140 'conditions': [
136 ['java_bridge==1', { 141 ['java_bridge==1', {
137 'dependencies': [ 142 'dependencies': [
138 'content_child', 143 'content_child',
139 ] 144 ]
140 }], 145 }],
141 ['OS=="android"', { 146 ['OS=="android"', {
142 'dependencies': [ 147 'dependencies': [
143 'content_gpu', 148 'content_gpu',
144 'content_utility', 149 'content_utility',
145 ], 150 ],
146 }], 151 }],
147 ], 152 ],
148 }, 153 },
149 { 154 {
155 # GN version: //content/common and //content/public/common
150 'target_name': 'content_common', 156 'target_name': 'content_common',
151 'type': 'static_library', 157 'type': 'static_library',
152 'variables': { 'enable_wexit_time_destructors': 1, }, 158 'variables': { 'enable_wexit_time_destructors': 1, },
153 'includes': [ 159 'includes': [
154 'content_common.gypi', 160 'content_common.gypi',
155 ], 161 ],
156 'conditions': [ 162 'conditions': [
157 ['OS != "ios"', { 163 ['OS != "ios"', {
158 'dependencies': [ 164 'dependencies': [
159 'content_resources.gyp:content_resources', 165 'content_resources.gyp:content_resources',
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 'content_common', 258 'content_common',
253 ], 259 ],
254 }, 260 },
255 ], 261 ],
256 }], 262 }],
257 ], 263 ],
258 }, 264 },
259 { # component != static_library 265 { # component != static_library
260 'targets': [ 266 'targets': [
261 { 267 {
268 # GN version: //content
262 'target_name': 'content', 269 'target_name': 'content',
263 'type': 'shared_library', 270 'type': 'shared_library',
264 'variables': { 'enable_wexit_time_destructors': 1, }, 271 'variables': { 'enable_wexit_time_destructors': 1, },
265 'dependencies': [ 272 'dependencies': [
266 'content_resources.gyp:content_resources', 273 'content_resources.gyp:content_resources',
267 ], 274 ],
268 'conditions': [ 275 'conditions': [
269 ['chromium_enable_vtune_jit_for_v8==1', { 276 ['chromium_enable_vtune_jit_for_v8==1', {
270 'dependencies': [ 277 'dependencies': [
271 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', 278 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune',
(...skipping 15 matching lines...) Expand all
287 'VCLinkerTool': { 294 'VCLinkerTool': {
288 'conditions': [ 295 'conditions': [
289 ['incremental_chrome_dll==1', { 296 ['incremental_chrome_dll==1', {
290 'UseLibraryDependencyInputs': "true", 297 'UseLibraryDependencyInputs': "true",
291 }], 298 }],
292 ], 299 ],
293 }, 300 },
294 }, 301 },
295 }, 302 },
296 { 303 {
304 # GN version: //content/app:browser
297 'target_name': 'content_app_browser', 305 'target_name': 'content_app_browser',
298 'type': 'none', 306 'type': 'none',
299 'dependencies': ['content', 'content_browser'], 307 'dependencies': ['content', 'content_browser'],
300 }, 308 },
301 { 309 {
310 # GN version: //content/app:child
302 'target_name': 'content_app_child', 311 'target_name': 'content_app_child',
303 'type': 'none', 312 'type': 'none',
304 'dependencies': ['content', 'content_child'], 313 'dependencies': ['content', 'content_child'],
305 }, 314 },
306 { 315 {
316 # GN version: //content/app:both
307 'target_name': 'content_app_both', 317 'target_name': 'content_app_both',
308 'type': 'none', 318 'type': 'none',
309 'dependencies': ['content'], 319 'dependencies': ['content'],
310 'export_dependent_settings': ['content'], 320 'export_dependent_settings': ['content'],
311 }, 321 },
312 { 322 {
323 # GN version: //content/browser and //content/public/browser
313 'target_name': 'content_browser', 324 'target_name': 'content_browser',
314 'type': 'none', 325 'type': 'none',
315 'dependencies': ['content'], 326 'dependencies': ['content'],
316 'export_dependent_settings': ['content'], 327 'export_dependent_settings': ['content'],
317 }, 328 },
318 { 329 {
330 # GN version: //content/common and //content/public/common
319 'target_name': 'content_common', 331 'target_name': 'content_common',
320 'type': 'none', 332 'type': 'none',
321 'dependencies': ['content', 'content_resources.gyp:content_resources'] , 333 'dependencies': ['content', 'content_resources.gyp:content_resources'] ,
322 # Disable c4267 warnings until we fix size_t to int truncations. 334 # Disable c4267 warnings until we fix size_t to int truncations.
323 'msvs_disabled_warnings': [ 4267, ], 335 'msvs_disabled_warnings': [ 4267, ],
324 'export_dependent_settings': ['content'], 336 'export_dependent_settings': ['content'],
325 }, 337 },
326 { 338 {
339 # GN Version: //content/child
327 'target_name': 'content_child', 340 'target_name': 'content_child',
328 'type': 'none', 341 'type': 'none',
329 'dependencies': ['content'], 342 'dependencies': ['content'],
330 }, 343 },
331 { 344 {
345 # GN version: //content/gpu
332 'target_name': 'content_gpu', 346 'target_name': 'content_gpu',
333 'type': 'none', 347 'type': 'none',
334 'dependencies': ['content'], 348 'dependencies': ['content'],
335 }, 349 },
336 { 350 {
351 # GN version: //content/plugin
337 'target_name': 'content_plugin', 352 'target_name': 'content_plugin',
338 'type': 'none', 353 'type': 'none',
339 'dependencies': ['content'], 354 'dependencies': ['content'],
340 }, 355 },
341 { 356 {
357 # GN version: //content/ppapi_plugin
342 'target_name': 'content_ppapi_plugin', 358 'target_name': 'content_ppapi_plugin',
343 'type': 'none', 359 'type': 'none',
344 'dependencies': ['content'], 360 'dependencies': ['content'],
345 # Disable c4267 warnings until we fix size_t to int truncations. 361 # Disable c4267 warnings until we fix size_t to int truncations.
346 'msvs_disabled_warnings': [ 4267, ], 362 'msvs_disabled_warnings': [ 4267, ],
347 }, 363 },
348 { 364 {
365 # GN version: //content/renderer and //content/public/renderer
349 'target_name': 'content_renderer', 366 'target_name': 'content_renderer',
350 'type': 'none', 367 'type': 'none',
351 'dependencies': ['content'], 368 'dependencies': ['content'],
352 }, 369 },
353 { 370 {
371 # GN version: //content/utility
354 'target_name': 'content_utility', 372 'target_name': 'content_utility',
355 'type': 'none', 373 'type': 'none',
356 'dependencies': ['content'], 374 'dependencies': ['content'],
357 'export_dependent_settings': ['content'], 375 'export_dependent_settings': ['content'],
358 }, 376 },
359 ], 377 ],
360 }], 378 }],
361 ['OS == "android"', { 379 ['OS == "android"', {
362 'targets': [ 380 'targets': [
363 { 381 {
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 'browser/gamepad/canonical_axis_index_list.h', 592 'browser/gamepad/canonical_axis_index_list.h',
575 'browser/gamepad/canonical_button_index_list.h', 593 'browser/gamepad/canonical_button_index_list.h',
576 ], 594 ],
577 }, 595 },
578 'includes': [ '../build/android/java_cpp_template.gypi' ], 596 'includes': [ '../build/android/java_cpp_template.gypi' ],
579 }, 597 },
580 ], 598 ],
581 }], # OS == "android" 599 }], # OS == "android"
582 ], 600 ],
583 } 601 }
OLDNEW
« no previous file with comments | « content/app/BUILD.gn ('k') | content/renderer/pepper/video_decoder_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698