| 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. |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 # content_shell_apk creates a .jar as a side effect. Any java targets | 635 # content_shell_apk creates a .jar as a side effect. Any java targets |
| 636 # that need that .jar in their classpath should depend on this target, | 636 # that need that .jar in their classpath should depend on this target, |
| 637 # content_shell_apk_java. Dependents of content_shell_apk receive its | 637 # content_shell_apk_java. Dependents of content_shell_apk receive its |
| 638 # jar path in the variable 'apk_output_jar_path'. This target should | 638 # jar path in the variable 'apk_output_jar_path'. This target should |
| 639 # only be used by targets which instrument content_shell_apk. | 639 # only be used by targets which instrument content_shell_apk. |
| 640 'target_name': 'content_shell_apk_java', | 640 'target_name': 'content_shell_apk_java', |
| 641 'type': 'none', | 641 'type': 'none', |
| 642 'dependencies': [ | 642 'dependencies': [ |
| 643 'content_shell_apk', | 643 'content_shell_apk', |
| 644 ], | 644 ], |
| 645 # This all_dependent_settings is used for java targets only. This will | 645 'includes': [ '../build/apk_fake_jar.gypi' ], |
| 646 # add the content_shell jar to the classpath of dependent java | |
| 647 # targets. | |
| 648 'all_dependent_settings': { | |
| 649 'variables': { | |
| 650 'input_jars_paths': ['>(apk_output_jar_path)'], | |
| 651 }, | |
| 652 }, | |
| 653 # Add an action with the appropriate output. This allows the generated | |
| 654 # buildfiles to determine which target the output corresponds to. | |
| 655 'actions': [ | |
| 656 { | |
| 657 'action_name': 'fake_generate_jar', | |
| 658 'inputs': [], | |
| 659 'outputs': ['>(apk_output_jar_path)'], | |
| 660 'action': [], | |
| 661 }, | |
| 662 ], | |
| 663 }, | 646 }, |
| 664 { | 647 { |
| 665 'target_name': 'content_shell_apk', | 648 'target_name': 'content_shell_apk', |
| 666 'type': 'none', | 649 'type': 'none', |
| 667 'dependencies': [ | 650 'dependencies': [ |
| 668 'content_java', | 651 'content_java', |
| 669 'content_shell_java', | 652 'content_shell_java', |
| 670 'libcontent_shell_content_view', | 653 'libcontent_shell_content_view', |
| 671 '../base/base.gyp:base_java', | 654 '../base/base.gyp:base_java', |
| 672 '../media/media.gyp:media_java', | 655 '../media/media.gyp:media_java', |
| 673 '../net/net.gyp:net_java', | 656 '../net/net.gyp:net_java', |
| 674 '../ui/ui.gyp:ui_java', | 657 '../ui/ui.gyp:ui_java', |
| 675 ], | 658 ], |
| 676 'variables': { | 659 'variables': { |
| 677 'apk_name': 'ContentShell', | 660 'apk_name': 'ContentShell', |
| 678 'manifest_package_name': 'org.chromium.content_shell_apk', | 661 'manifest_package_name': 'org.chromium.content_shell_apk', |
| 679 'java_in_dir': 'shell/android/shell_apk', | 662 'java_in_dir': 'shell/android/shell_apk', |
| 680 'resource_dir': 'shell/android/shell_apk/res', | 663 'resource_dir': 'shell/android/shell_apk/res', |
| 681 'native_libs_paths': ['<(SHARED_LIB_DIR)/libcontent_shell_content_vi
ew.so'], | 664 'native_libs_paths': ['<(SHARED_LIB_DIR)/libcontent_shell_content_vi
ew.so'], |
| 682 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont
ent_shell.pak'], | 665 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont
ent_shell.pak'], |
| 683 'asset_location': '<(ant_build_out)/content_shell/assets', | 666 'asset_location': '<(ant_build_out)/content_shell/assets', |
| 684 }, | 667 }, |
| 685 'includes': [ '../build/java_apk.gypi' ], | 668 'includes': [ '../build/java_apk.gypi' ], |
| 686 }, | 669 }, |
| 687 ], | 670 ], |
| 688 }], # OS=="android" | 671 }], # OS=="android" |
| 689 ] | 672 ] |
| 690 } | 673 } |
| OLD | NEW |