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

Side by Side Diff: content/content_shell.gyp

Issue 17366006: Factor out content shell and tests into a standalone gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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.gyp ('k') | content/content_shell.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.
jam 2013/06/20 15:41:29 please update the OWNERS file in this directory si
mnaganov (inactive) 2013/06/21 12:37:53 Thanks for pointing this out!
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 'target_name': 'content_shell_lib', 22 'target_name': 'content_shell_lib',
23 'type': 'static_library', 23 'type': 'static_library',
24 'defines!': ['CONTENT_IMPLEMENTATION'], 24 'defines!': ['CONTENT_IMPLEMENTATION'],
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 'content_app', 30 'content.gyp:content_app',
31 'content_browser', 31 'content.gyp:content_browser',
32 'content_common', 32 'content.gyp:content_common',
33 'content_gpu', 33 'content.gyp:content_gpu',
34 'content_plugin', 34 'content.gyp:content_plugin',
35 'content_ppapi_plugin', 35 'content.gyp:content_ppapi_plugin',
36 'content_renderer', 36 'content.gyp:content_renderer',
37 'content.gyp:content_utility',
38 'content.gyp:content_worker',
39 'content.gyp:test_support_content',
40 'content_resources.gyp:content_resources',
37 'content_shell_resources', 41 'content_shell_resources',
38 'content_utility',
39 'content_worker',
40 'test_support_content',
41 'content_resources.gyp:content_resources',
42 '../base/base.gyp:base', 42 '../base/base.gyp:base',
43 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 43 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
44 '../ipc/ipc.gyp:ipc', 44 '../ipc/ipc.gyp:ipc',
45 '../media/media.gyp:media', 45 '../media/media.gyp:media',
46 '../net/net.gyp:net', 46 '../net/net.gyp:net',
47 '../net/net.gyp:net_resources', 47 '../net/net.gyp:net_resources',
48 '../skia/skia.gyp:skia', 48 '../skia/skia.gyp:skia',
49 '../third_party/WebKit/public/blink.gyp:blink', 49 '../third_party/WebKit/public/blink.gyp:blink',
50 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit_test_sup port', 50 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit_test_sup port',
51 '../third_party/WebKit/Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRende rTree.gyp:TestRunner', 51 '../third_party/WebKit/Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRende rTree.gyp:TestRunner',
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 'ldflags': [ 652 'ldflags': [
653 '-lgabi++', # For rtti 653 '-lgabi++', # For rtti
654 ], 654 ],
655 }], 655 }],
656 ], 656 ],
657 }, 657 },
658 { 658 {
659 'target_name': 'content_shell_java', 659 'target_name': 'content_shell_java',
660 'type': 'none', 660 'type': 'none',
661 'dependencies': [ 661 'dependencies': [
662 'content_java', 662 'content.gyp:content_java',
663 ], 663 ],
664 'variables': { 664 'variables': {
665 'java_in_dir': '../content/shell/android/java', 665 'java_in_dir': '../content/shell/android/java',
666 'has_java_resources': 1, 666 'has_java_resources': 1,
667 'R_package': 'org.chromium.content_shell', 667 'R_package': 'org.chromium.content_shell',
668 'R_package_relpath': 'org/chromium/content_shell', 668 'R_package_relpath': 'org/chromium/content_shell',
669 }, 669 },
670 'includes': [ '../build/java.gypi' ], 670 'includes': [ '../build/java.gypi' ],
671 }, 671 },
672 { 672 {
673 # content_shell_apk creates a .jar as a side effect. Any java targets 673 # content_shell_apk creates a .jar as a side effect. Any java targets
674 # that need that .jar in their classpath should depend on this target, 674 # that need that .jar in their classpath should depend on this target,
675 # content_shell_apk_java. Dependents of content_shell_apk receive its 675 # content_shell_apk_java. Dependents of content_shell_apk receive its
676 # jar path in the variable 'apk_output_jar_path'. This target should 676 # jar path in the variable 'apk_output_jar_path'. This target should
677 # only be used by targets which instrument content_shell_apk. 677 # only be used by targets which instrument content_shell_apk.
678 'target_name': 'content_shell_apk_java', 678 'target_name': 'content_shell_apk_java',
679 'type': 'none', 679 'type': 'none',
680 'dependencies': [ 680 'dependencies': [
681 'content_shell_apk', 681 'content_shell_apk',
682 ], 682 ],
683 'includes': [ '../build/apk_fake_jar.gypi' ], 683 'includes': [ '../build/apk_fake_jar.gypi' ],
684 }, 684 },
685 { 685 {
686 'target_name': 'content_shell_apk', 686 'target_name': 'content_shell_apk',
687 'type': 'none', 687 'type': 'none',
688 'dependencies': [ 688 'dependencies': [
689 'content_java', 689 'content.gyp:content_java',
690 'content_java_test_support', 690 'content.gyp:content_java_test_support',
691 'content_shell_java', 691 'content_shell_java',
692 'libcontent_shell_content_view', 692 'libcontent_shell_content_view',
693 '../base/base.gyp:base_java', 693 '../base/base.gyp:base_java',
694 '../media/media.gyp:media_java', 694 '../media/media.gyp:media_java',
695 '../net/net.gyp:net_java', 695 '../net/net.gyp:net_java',
696 '../ui/ui.gyp:ui_java', 696 '../ui/ui.gyp:ui_java',
697 ], 697 ],
698 'variables': { 698 'variables': {
699 'apk_name': 'ContentShell', 699 'apk_name': 'ContentShell',
700 'manifest_package_name': 'org.chromium.content_shell_apk', 700 'manifest_package_name': 'org.chromium.content_shell_apk',
701 'java_in_dir': 'shell/android/shell_apk', 701 'java_in_dir': 'shell/android/shell_apk',
702 'resource_dir': 'shell/android/shell_apk/res', 702 'resource_dir': 'shell/android/shell_apk/res',
703 'native_lib_target': 'libcontent_shell_content_view', 703 'native_lib_target': 'libcontent_shell_content_view',
704 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], 704 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
705 'asset_location': '<(ant_build_out)/content_shell/assets', 705 'asset_location': '<(ant_build_out)/content_shell/assets',
706 }, 706 },
707 'includes': [ '../build/java_apk.gypi' ], 707 'includes': [ '../build/java_apk.gypi' ],
708 }, 708 },
709 ], 709 ],
710 }], # OS=="android" 710 }], # OS=="android"
711 ] 711 ]
712 } 712 }
OLDNEW
« no previous file with comments | « content/content.gyp ('k') | content/content_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698