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

Side by Side Diff: content/content_shell.gypi

Issue 423613003: Move strings from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort 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/content_child.gypi ('k') | content/content_tests.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 '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/strings/content_strings.gyp:content_strings',
30 'content.gyp:content_app_both', 31 'content.gyp:content_app_both',
31 'content.gyp:content_browser', 32 'content.gyp:content_browser',
32 'content.gyp:content_common', 33 'content.gyp:content_common',
33 'content.gyp:content_gpu', 34 'content.gyp:content_gpu',
34 'content.gyp:content_plugin', 35 'content.gyp:content_plugin',
35 'content.gyp:content_ppapi_plugin', 36 'content.gyp:content_ppapi_plugin',
36 'content.gyp:content_renderer', 37 'content.gyp:content_renderer',
37 'content.gyp:content_utility', 38 'content.gyp:content_utility',
38 'content_resources.gyp:content_resources', 39 'content_resources.gyp:content_resources',
39 'content_shell_resources', 40 'content_shell_resources',
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 }, 250 },
250 }, 251 },
251 'conditions': [ 252 'conditions': [
252 ['OS=="win" and win_use_allocator_shim==1', { 253 ['OS=="win" and win_use_allocator_shim==1', {
253 'dependencies': [ 254 'dependencies': [
254 '../base/allocator/allocator.gyp:allocator', 255 '../base/allocator/allocator.gyp:allocator',
255 ], 256 ],
256 }], 257 }],
257 ['OS=="win"', { 258 ['OS=="win"', {
258 'resource_include_dirs': [ 259 'resource_include_dirs': [
259 '<(SHARED_INTERMEDIATE_DIR)/webkit', 260 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings',
260 ], 261 ],
261 'dependencies': [ 262 'dependencies': [
262 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_strings', 263 '<(DEPTH)/content/app/strings/content_strings.gyp:content_strings',
263 ], 264 ],
264 'configurations': { 265 'configurations': {
265 'Debug_Base': { 266 'Debug_Base': {
266 'msvs_settings': { 267 'msvs_settings': {
267 'VCLinkerTool': { 268 'VCLinkerTool': {
268 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 269 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
269 }, 270 },
270 }, 271 },
271 }, 272 },
272 }, 273 },
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 }], 424 }],
424 ], 425 ],
425 }, 426 },
426 { 427 {
427 # 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
428 # access to necessary resources. 429 # access to necessary resources.
429 # GN version: //content/shell:pak 430 # GN version: //content/shell:pak
430 'target_name': 'content_shell_pak', 431 'target_name': 'content_shell_pak',
431 'type': 'none', 432 'type': 'none',
432 'dependencies': [ 433 'dependencies': [
434 'app/strings/content_strings.gyp:content_strings',
433 'browser/tracing/tracing_resources.gyp:tracing_resources', 435 'browser/tracing/tracing_resources.gyp:tracing_resources',
434 'content_resources.gyp:content_resources', 436 'content_resources.gyp:content_resources',
435 'content_shell_resources', 437 'content_shell_resources',
436 '<(DEPTH)/net/net.gyp:net_resources', 438 '<(DEPTH)/net/net.gyp:net_resources',
437 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources' , 439 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources' ,
438 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', 440 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
439 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings', 441 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings',
440 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources', 442 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources',
441 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_strings',
442 ], 443 ],
443 'conditions': [ 444 'conditions': [
444 ['OS!="android"', { 445 ['OS!="android"', {
445 'dependencies': [ 446 'dependencies': [
446 'browser/devtools/devtools_resources.gyp:devtools_resources', 447 'browser/devtools/devtools_resources.gyp:devtools_resources',
447 ], 448 ],
448 }], 449 }],
449 ], 450 ],
450 'actions': [ 451 'actions': [
451 { 452 {
452 'action_name': 'repack_content_shell_pack', 453 'action_name': 'repack_content_shell_pack',
453 'variables': { 454 'variables': {
454 'pak_inputs': [ 455 'pak_inputs': [
455 '<(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/strings/content_strings_en -US.pak',
456 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resour ces.pak', 458 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resour ces.pak',
457 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', 459 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
458 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', 460 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak',
459 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', 461 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
460 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent. pak', 462 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent. pak',
461 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak', 463 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
462 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p ak', 464 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p ak',
463 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', 465 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
464 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pa k', 466 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pa k',
465 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak',
466 ], 467 ],
467 'conditions': [ 468 'conditions': [
468 ['OS!="android"', { 469 ['OS!="android"', {
469 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resou rces.pak',], 470 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resou rces.pak',],
470 'pak_output': '<(PRODUCT_DIR)/content_shell.pak', 471 'pak_output': '<(PRODUCT_DIR)/content_shell.pak',
471 }, { 472 }, {
472 'pak_output': '<(PRODUCT_DIR)/content_shell/assets/content_shell .pak', 473 'pak_output': '<(PRODUCT_DIR)/content_shell/assets/content_shell .pak',
473 }], 474 }],
474 ], 475 ],
475 }, 476 },
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', 1095 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb',
1095 '--destination_dir', '<(dest_dir)', 1096 '--destination_dir', '<(dest_dir)',
1096 ], 1097 ],
1097 }, 1098 },
1098 ], 1099 ],
1099 }, 1100 },
1100 ], 1101 ],
1101 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" 1102 }], # OS=="win" and fastbuild==0 and target_arch=="ia32"
1102 ] 1103 ]
1103 } 1104 }
OLDNEW
« no previous file with comments | « content/content_child.gypi ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698