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

Side by Side Diff: content/content_shell.gypi

Issue 486573002: Move webkit resources over to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm the build files from webkit/glue/resources 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
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 'content_shell_product_name': 'Content Shell', 7 'content_shell_product_name': 'Content Shell',
8 # The "19" is so that sites that sniff for version think that this is 8 # The "19" is so that sites that sniff for version think that this is
9 # something reasonably current; the "77.34.5" is a hint that this isn't a 9 # something reasonably current; the "77.34.5" is a hint that this isn't a
10 # standard Chrome. 10 # standard Chrome.
11 'content_shell_version': '19.77.34.5', 11 'content_shell_version': '19.77.34.5',
12 'conditions': [ 12 'conditions': [
13 ['OS=="linux"', { 13 ['OS=="linux"', {
14 'use_custom_freetype%': 1, 14 'use_custom_freetype%': 1,
15 }, { 15 }, {
16 'use_custom_freetype%': 0, 16 'use_custom_freetype%': 0,
17 }], 17 }],
18 ], 18 ],
19 }, 19 },
20 'targets': [ 20 'targets': [
21 { 21 {
22 # GN version: //content/shell:content_shell_lib 22 # GN version: //content/shell:content_shell_lib
23 'target_name': 'content_shell_lib', 23 'target_name': 'content_shell_lib',
24 'type': 'static_library', 24 'type': 'static_library',
25 'defines': ['CONTENT_SHELL_VERSION="<(content_shell_version)"'], 25 'defines': ['CONTENT_SHELL_VERSION="<(content_shell_version)"'],
26 'variables': { 26 'variables': {
27 'chromium_code': 1, 27 'chromium_code': 1,
28 }, 28 },
29 'dependencies': [ 29 'dependencies': [
30 'app/resources/content_resources.gyp:content_resources',
30 'app/strings/content_strings.gyp:content_strings', 31 'app/strings/content_strings.gyp:content_strings',
31 'content.gyp:content_app_both', 32 'content.gyp:content_app_both',
32 'content.gyp:content_browser', 33 'content.gyp:content_browser',
33 'content.gyp:content_common', 34 'content.gyp:content_common',
34 'content.gyp:content_gpu', 35 'content.gyp:content_gpu',
35 'content.gyp:content_plugin', 36 'content.gyp:content_plugin',
36 'content.gyp:content_ppapi_plugin', 37 'content.gyp:content_ppapi_plugin',
37 'content.gyp:content_renderer', 38 'content.gyp:content_renderer',
38 'content.gyp:content_utility', 39 'content.gyp:content_utility',
39 'content_resources.gyp:content_resources', 40 'content_resources.gyp:content_resources',
(...skipping 16 matching lines...) Expand all
56 '../third_party/WebKit/public/blink.gyp:blink_test_support', 57 '../third_party/WebKit/public/blink.gyp:blink_test_support',
57 '../ui/base/ui_base.gyp:ui_base', 58 '../ui/base/ui_base.gyp:ui_base',
58 '../ui/events/events.gyp:events_base', 59 '../ui/events/events.gyp:events_base',
59 '../ui/gfx/gfx.gyp:gfx', 60 '../ui/gfx/gfx.gyp:gfx',
60 '../ui/gfx/gfx.gyp:gfx_geometry', 61 '../ui/gfx/gfx.gyp:gfx_geometry',
61 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', 62 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
62 '../ui/gl/gl.gyp:gl', 63 '../ui/gl/gl.gyp:gl',
63 '../url/url.gyp:url_lib', 64 '../url/url.gyp:url_lib',
64 '../v8/tools/gyp/v8.gyp:v8', 65 '../v8/tools/gyp/v8.gyp:v8',
65 '../webkit/storage_browser.gyp:webkit_storage_browser', 66 '../webkit/storage_browser.gyp:webkit_storage_browser',
66 '../webkit/glue/resources/webkit_resources.gyp:webkit_resources',
67 ], 67 ],
68 'include_dirs': [ 68 'include_dirs': [
69 '..', 69 '..',
70 ], 70 ],
71 'sources': [ 71 'sources': [
72 # Note: sources list duplicated in GN build. 72 # Note: sources list duplicated in GN build.
73 'shell/android/shell_jni_registrar.cc', 73 'shell/android/shell_jni_registrar.cc',
74 'shell/android/shell_jni_registrar.h', 74 'shell/android/shell_jni_registrar.h',
75 'shell/android/shell_manager.cc', 75 'shell/android/shell_manager.cc',
76 'shell/android/shell_manager.h', 76 'shell/android/shell_manager.h',
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 }], 424 }],
425 ], 425 ],
426 }, 426 },
427 { 427 {
428 # We build a minimal set of resources so WebKit in content_shell has 428 # We build a minimal set of resources so WebKit in content_shell has
429 # access to necessary resources. 429 # access to necessary resources.
430 # GN version: //content/shell:pak 430 # GN version: //content/shell:pak
431 'target_name': 'content_shell_pak', 431 'target_name': 'content_shell_pak',
432 'type': 'none', 432 'type': 'none',
433 'dependencies': [ 433 'dependencies': [
434 'app/resources/content_resources.gyp:content_resources',
434 'app/strings/content_strings.gyp:content_strings', 435 'app/strings/content_strings.gyp:content_strings',
435 'browser/tracing/tracing_resources.gyp:tracing_resources', 436 'browser/tracing/tracing_resources.gyp:tracing_resources',
436 'content_resources.gyp:content_resources', 437 'content_resources.gyp:content_resources',
437 'content_shell_resources', 438 'content_shell_resources',
438 '<(DEPTH)/net/net.gyp:net_resources', 439 '<(DEPTH)/net/net.gyp:net_resources',
439 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources' , 440 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources' ,
440 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', 441 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
441 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings', 442 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings',
442 '<(DEPTH)/webkit/glue/resources/webkit_resources.gyp:webkit_resources',
443 ], 443 ],
444 'conditions': [ 444 'conditions': [
445 ['OS!="android"', { 445 ['OS!="android"', {
446 'dependencies': [ 446 'dependencies': [
447 'browser/devtools/devtools_resources.gyp:devtools_resources', 447 'browser/devtools/devtools_resources.gyp:devtools_resources',
448 ], 448 ],
449 }], 449 }],
450 ], 450 ],
451 'actions': [ 451 'actions': [
452 { 452 {
453 'action_name': 'repack_content_shell_pack', 453 'action_name': 'repack_content_shell_pack',
454 'variables': { 454 'variables': {
455 'pak_inputs': [ 455 'pak_inputs': [
456 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources .pak', 456 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources .pak',
457 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource s_100_percent.pak',
457 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en -US.pak', 458 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en -US.pak',
458 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resour ces.pak', 459 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resour ces.pak',
459 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', 460 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
460 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', 461 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak',
461 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', 462 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
462 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent. pak', 463 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent. pak',
463 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak', 464 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
464 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p ak', 465 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p ak',
465 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', 466 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
466 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pa k',
467 ], 467 ],
468 'conditions': [ 468 'conditions': [
469 ['OS!="android"', { 469 ['OS!="android"', {
470 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resou rces.pak',], 470 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resou rces.pak',],
471 'pak_output': '<(PRODUCT_DIR)/content_shell.pak', 471 'pak_output': '<(PRODUCT_DIR)/content_shell.pak',
472 }, { 472 }, {
473 'pak_output': '<(PRODUCT_DIR)/content_shell/assets/content_shell .pak', 473 'pak_output': '<(PRODUCT_DIR)/content_shell/assets/content_shell .pak',
474 }], 474 }],
475 ], 475 ],
476 }, 476 },
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', 1095 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb',
1096 '--destination_dir', '<(dest_dir)', 1096 '--destination_dir', '<(dest_dir)',
1097 ], 1097 ],
1098 }, 1098 },
1099 ], 1099 ],
1100 }, 1100 },
1101 ], 1101 ],
1102 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" 1102 }], # OS=="win" and fastbuild==0 and target_arch=="ia32"
1103 ] 1103 ]
1104 } 1104 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698