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

Side by Side Diff: content/content.gyp

Issue 1828733004: Load application manifests from resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 'type': 'static_library', 51 'type': 'static_library',
52 'include_dirs': [ '<@(DEPTH)' ], 52 'include_dirs': [ '<@(DEPTH)' ],
53 'dependencies': [ 53 'dependencies': [
54 'common_features', 54 'common_features',
55 ], 55 ],
56 'sources': [ 56 'sources': [
57 'public/common/feature_h264_with_openh264_ffmpeg.cc', 57 'public/common/feature_h264_with_openh264_ffmpeg.cc',
58 'public/common/feature_h264_with_openh264_ffmpeg.h', 58 'public/common/feature_h264_with_openh264_ffmpeg.h',
59 ], 59 ],
60 }, 60 },
61 {
62 # GN version: //content/browser:chrome_manifest
63 'target_name': 'chrome_manifest',
64 'type': 'none',
65 'variables': {
66 'application_type': 'exe',
67 'application_name': 'chrome',
68 'source_manifest': '<(DEPTH)/content/browser/mojo/chrome_manifest.json',
69 },
70 'includes': [
71 '../mojo/public/mojo_application_manifest.gypi',
72 ],
73 },
74 {
75 # GN version: //content/browser:chrome_renderer_manifest
76 'target_name': 'chrome_renderer_manifest',
77 'type': 'none',
78 'variables': {
79 'application_type': 'exe',
80 'application_name': 'chrome_renderer',
81 'source_manifest':
82 '<(DEPTH)/content/browser/mojo/chrome_renderer_manifest.json',
83 },
84 'includes': [
85 '../mojo/public/mojo_application_manifest.gypi',
86 ],
87 },
88 ], 61 ],
89 'includes': [ 62 'includes': [
90 '../build/win_precompile.gypi', 63 '../build/win_precompile.gypi',
91 'content_resources.gypi', 64 'content_resources.gypi',
92 ], 65 ],
93 'conditions': [ 66 'conditions': [
94 ['OS == "win"', { 67 ['OS == "win"', {
95 'targets': [ 68 'targets': [
96 { 69 {
97 # GN: //content:sandbox_helper_win 70 # GN: //content:sandbox_helper_win
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 'target_name': 'content_browser', 176 'target_name': 'content_browser',
204 'type': 'static_library', 177 'type': 'static_library',
205 'variables': { 'enable_wexit_time_destructors': 1, }, 178 'variables': { 'enable_wexit_time_destructors': 1, },
206 'includes': [ 179 'includes': [
207 'content_browser.gypi', 180 'content_browser.gypi',
208 # Disable LTO due to ELF section name out of range 181 # Disable LTO due to ELF section name out of range
209 # crbug.com/422251 182 # crbug.com/422251
210 '../build/android/disable_gcc_lto.gypi', 183 '../build/android/disable_gcc_lto.gypi',
211 ], 184 ],
212 'dependencies': [ 185 'dependencies': [
213 'chrome_manifest',
214 'chrome_renderer_manifest',
215 'content_common', 186 'content_common',
216 'content_gpu', 187 'content_gpu',
217 'content_resources', 188 'content_resources',
218 ], 189 ],
219 'export_dependent_settings': [ 190 'export_dependent_settings': [
220 'content_common', 191 'content_common',
221 ], 192 ],
222 'conditions': [ 193 'conditions': [
223 ['java_bridge==1', { 194 ['java_bridge==1', {
224 'dependencies': [ 195 'dependencies': [
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 'dependencies': ['content', 'content_child'], 364 'dependencies': ['content', 'content_child'],
394 }, 365 },
395 { 366 {
396 # GN version: //content/app:both 367 # GN version: //content/app:both
397 'target_name': 'content_app_both', 368 'target_name': 'content_app_both',
398 'type': 'none', 369 'type': 'none',
399 'dependencies': ['content'], 370 'dependencies': ['content'],
400 'export_dependent_settings': ['content'], 371 'export_dependent_settings': ['content'],
401 }, 372 },
402 { 373 {
374 # GN version: //content/public/app:browser_manifest
375 'target_name': 'content_app_browser_manifest',
376 'type': 'none',
377 'variables': {
378 'application_type': 'exe',
379 'application_name': 'content_browser',
380 'source_manifest': '<(DEPTH)/content/public/app/mojo/content_browser _manifest.json',
381 },
382 'includes': [
383 '../mojo/public/mojo_application_manifest.gypi',
384 ],
385 'hard_dependency': 1,
386 },
387 {
388 # GN version: //content/public/app:renderer_manifest
389 'target_name': 'content_app_renderer_manifest',
390 'type': 'none',
391 'variables': {
392 'application_type': 'exe',
393 'application_name': 'content_renderer',
394 'source_manifest': '<(DEPTH)/content/public/app/mojo/content_rendere r_manifest.json',
395 },
396 'includes': [
397 '../mojo/public/mojo_application_manifest.gypi',
398 ],
399 'hard_dependency': 1,
400 },
401 {
403 # GN version: //content/browser and //content/public/browser 402 # GN version: //content/browser and //content/public/browser
404 'target_name': 'content_browser', 403 'target_name': 'content_browser',
405 'type': 'none', 404 'type': 'none',
406 'dependencies': ['content'], 405 'dependencies': ['content'],
407 'export_dependent_settings': ['content'], 406 'export_dependent_settings': ['content'],
408 }, 407 },
409 { 408 {
410 # GN version: //content/common and //content/public/common 409 # GN version: //content/common and //content/public/common
411 'target_name': 'content_common', 410 'target_name': 'content_common',
412 'type': 'none', 411 'type': 'none',
413 'dependencies': [ 412 'dependencies': [
414 'chrome_manifest',
415 'chrome_renderer_manifest',
416 'content', 413 'content',
417 'content_resources' 414 'content_resources'
418 ], 415 ],
419 # Disable c4267 warnings until we fix size_t to int truncations. 416 # Disable c4267 warnings until we fix size_t to int truncations.
420 'msvs_disabled_warnings': [ 4267, ], 417 'msvs_disabled_warnings': [ 4267, ],
421 'export_dependent_settings': ['content'], 418 'export_dependent_settings': ['content'],
422 }, 419 },
423 { 420 {
424 # GN Version: //content/child 421 # GN Version: //content/child
425 'target_name': 'content_child', 422 'target_name': 'content_child',
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 }, 700 },
704 'includes': [ 701 'includes': [
705 '../build/android/copy_ex.gypi', 702 '../build/android/copy_ex.gypi',
706 '../build/android/v8_external_startup_data_arch_suffix.gypi', 703 '../build/android/v8_external_startup_data_arch_suffix.gypi',
707 ], 704 ],
708 }, 705 },
709 ], 706 ],
710 }], # OS == "android" 707 }], # OS == "android"
711 ], 708 ],
712 } 709 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698