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