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

Side by Side Diff: content/content_shell.gypi

Issue 20210002: [Android] Sets up a coverage system for java using EMMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes dex/obfuscate actions slightly Created 7 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
« build/common.gypi ('K') | « content/content.gyp ('k') | no next file » | 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.
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 'target_name': 'content_shell_java', 687 'target_name': 'content_shell_java',
688 'type': 'none', 688 'type': 'none',
689 'dependencies': [ 689 'dependencies': [
690 'content_java', 690 'content_java',
691 ], 691 ],
692 'variables': { 692 'variables': {
693 'java_in_dir': '../content/shell/android/java', 693 'java_in_dir': '../content/shell/android/java',
694 'has_java_resources': 1, 694 'has_java_resources': 1,
695 'R_package': 'org.chromium.content_shell', 695 'R_package': 'org.chromium.content_shell',
696 'R_package_relpath': 'org/chromium/content_shell', 696 'R_package_relpath': 'org/chromium/content_shell',
697 'emma_instrument': '<(coverage)',
697 }, 698 },
698 'includes': [ '../build/java.gypi' ], 699 'includes': [ '../build/java.gypi' ],
699 }, 700 },
700 { 701 {
701 # content_shell_apk creates a .jar as a side effect. Any java targets 702 # content_shell_apk creates a .jar as a side effect. Any java targets
702 # that need that .jar in their classpath should depend on this target, 703 # that need that .jar in their classpath should depend on this target,
703 # content_shell_apk_java. Dependents of content_shell_apk receive its 704 # content_shell_apk_java. Dependents of content_shell_apk receive its
704 # jar path in the variable 'apk_output_jar_path'. This target should 705 # jar path in the variable 'apk_output_jar_path'. This target should
705 # only be used by targets which instrument content_shell_apk. 706 # only be used by targets which instrument content_shell_apk.
706 'target_name': 'content_shell_apk_java', 707 'target_name': 'content_shell_apk_java',
(...skipping 17 matching lines...) Expand all
724 '../ui/ui.gyp:ui_java', 725 '../ui/ui.gyp:ui_java',
725 ], 726 ],
726 'variables': { 727 'variables': {
727 'apk_name': 'ContentShell', 728 'apk_name': 'ContentShell',
728 'manifest_package_name': 'org.chromium.content_shell_apk', 729 'manifest_package_name': 'org.chromium.content_shell_apk',
729 'java_in_dir': 'shell/android/shell_apk', 730 'java_in_dir': 'shell/android/shell_apk',
730 'resource_dir': 'shell/android/shell_apk/res', 731 'resource_dir': 'shell/android/shell_apk/res',
731 'native_lib_target': 'libcontent_shell_content_view', 732 'native_lib_target': 'libcontent_shell_content_view',
732 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], 733 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
733 'asset_location': '<(ant_build_out)/content_shell/assets', 734 'asset_location': '<(ant_build_out)/content_shell/assets',
735 'emma_instrument': '<(coverage)',
734 }, 736 },
735 'conditions': [ 737 'conditions': [
736 ['android_webview_build==0', { 738 ['android_webview_build==0', {
737 'dependencies': [ 739 'dependencies': [
738 '../tools/imagediff/image_diff.gyp:image_diff#host', 740 '../tools/imagediff/image_diff.gyp:image_diff#host',
739 ], 741 ],
740 }], 742 }],
741 ], 743 ],
742 'includes': [ '../build/java_apk.gypi' ], 744 'includes': [ '../build/java_apk.gypi' ],
743 }, 745 },
744 ], 746 ],
745 }], # OS=="android" 747 }], # OS=="android"
746 ] 748 ]
747 } 749 }
OLDNEW
« build/common.gypi ('K') | « content/content.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698