OLD | NEW |
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 '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.gyp:content_app', | 30 'content_app', |
31 'content.gyp:content_browser', | 31 'content_browser', |
32 'content.gyp:content_common', | 32 'content_common', |
33 'content.gyp:content_gpu', | 33 'content_gpu', |
34 'content.gyp:content_plugin', | 34 'content_plugin', |
35 'content.gyp:content_ppapi_plugin', | 35 'content_ppapi_plugin', |
36 'content.gyp:content_renderer', | 36 'content_renderer', |
37 'content.gyp:content_utility', | 37 'content_shell_resources', |
38 'content.gyp:content_worker', | 38 'content_utility', |
| 39 'content_worker', |
| 40 'test_support_content', |
39 'content_resources.gyp:content_resources', | 41 'content_resources.gyp:content_resources', |
40 'content_shell_resources', | |
41 'test_support_content', | |
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/all.gyp:blink_testing', | 49 '../third_party/WebKit/public/all.gyp:blink_testing', |
50 '../ui/gl/gl.gyp:gl', | 50 '../ui/gl/gl.gyp:gl', |
51 '../ui/ui.gyp:ui', | 51 '../ui/ui.gyp:ui', |
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 'ldflags': [ | 657 'ldflags': [ |
658 '-lgabi++', # For rtti | 658 '-lgabi++', # For rtti |
659 ], | 659 ], |
660 }], | 660 }], |
661 ], | 661 ], |
662 }, | 662 }, |
663 { | 663 { |
664 'target_name': 'content_shell_java', | 664 'target_name': 'content_shell_java', |
665 'type': 'none', | 665 'type': 'none', |
666 'dependencies': [ | 666 'dependencies': [ |
667 'content.gyp:content_java', | 667 'content_java', |
668 ], | 668 ], |
669 'variables': { | 669 'variables': { |
670 'java_in_dir': '../content/shell/android/java', | 670 'java_in_dir': '../content/shell/android/java', |
671 'has_java_resources': 1, | 671 'has_java_resources': 1, |
672 'R_package': 'org.chromium.content_shell', | 672 'R_package': 'org.chromium.content_shell', |
673 'R_package_relpath': 'org/chromium/content_shell', | 673 'R_package_relpath': 'org/chromium/content_shell', |
674 }, | 674 }, |
675 'includes': [ '../build/java.gypi' ], | 675 'includes': [ '../build/java.gypi' ], |
676 }, | 676 }, |
677 { | 677 { |
678 # content_shell_apk creates a .jar as a side effect. Any java targets | 678 # content_shell_apk creates a .jar as a side effect. Any java targets |
679 # that need that .jar in their classpath should depend on this target, | 679 # that need that .jar in their classpath should depend on this target, |
680 # content_shell_apk_java. Dependents of content_shell_apk receive its | 680 # content_shell_apk_java. Dependents of content_shell_apk receive its |
681 # jar path in the variable 'apk_output_jar_path'. This target should | 681 # jar path in the variable 'apk_output_jar_path'. This target should |
682 # only be used by targets which instrument content_shell_apk. | 682 # only be used by targets which instrument content_shell_apk. |
683 'target_name': 'content_shell_apk_java', | 683 'target_name': 'content_shell_apk_java', |
684 'type': 'none', | 684 'type': 'none', |
685 'dependencies': [ | 685 'dependencies': [ |
686 'content_shell_apk', | 686 'content_shell_apk', |
687 ], | 687 ], |
688 'includes': [ '../build/apk_fake_jar.gypi' ], | 688 'includes': [ '../build/apk_fake_jar.gypi' ], |
689 }, | 689 }, |
690 { | 690 { |
691 'target_name': 'content_shell_apk', | 691 'target_name': 'content_shell_apk', |
692 'type': 'none', | 692 'type': 'none', |
693 'dependencies': [ | 693 'dependencies': [ |
694 'content.gyp:content_java', | 694 'content_java', |
695 'content_java_test_support', | 695 'content_java_test_support', |
696 'content_shell_java', | 696 'content_shell_java', |
697 'libcontent_shell_content_view', | 697 'libcontent_shell_content_view', |
698 '../base/base.gyp:base_java', | 698 '../base/base.gyp:base_java', |
699 '../media/media.gyp:media_java', | 699 '../media/media.gyp:media_java', |
700 '../net/net.gyp:net_java', | 700 '../net/net.gyp:net_java', |
701 '../ui/ui.gyp:ui_java', | 701 '../ui/ui.gyp:ui_java', |
702 ], | 702 ], |
703 'variables': { | 703 'variables': { |
704 'apk_name': 'ContentShell', | 704 'apk_name': 'ContentShell', |
705 'manifest_package_name': 'org.chromium.content_shell_apk', | 705 'manifest_package_name': 'org.chromium.content_shell_apk', |
706 'java_in_dir': 'shell/android/shell_apk', | 706 'java_in_dir': 'shell/android/shell_apk', |
707 'resource_dir': 'shell/android/shell_apk/res', | 707 'resource_dir': 'shell/android/shell_apk/res', |
708 'native_lib_target': 'libcontent_shell_content_view', | 708 'native_lib_target': 'libcontent_shell_content_view', |
709 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont
ent_shell.pak'], | 709 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont
ent_shell.pak'], |
710 'asset_location': '<(ant_build_out)/content_shell/assets', | 710 'asset_location': '<(ant_build_out)/content_shell/assets', |
711 }, | 711 }, |
712 'includes': [ '../build/java_apk.gypi' ], | 712 'includes': [ '../build/java_apk.gypi' ], |
713 }, | 713 }, |
714 ], | 714 ], |
715 }], # OS=="android" | 715 }], # OS=="android" |
716 ] | 716 ] |
717 } | 717 } |
OLD | NEW |