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

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: Gets code coverage for non-apk java working 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/java_apk.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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 'target_name': 'content_shell_java', 688 'target_name': 'content_shell_java',
689 'type': 'none', 689 'type': 'none',
690 'dependencies': [ 690 'dependencies': [
691 'content_java', 691 'content_java',
692 ], 692 ],
693 'variables': { 693 'variables': {
694 'java_in_dir': '../content/shell/android/java', 694 'java_in_dir': '../content/shell/android/java',
695 'has_java_resources': 1, 695 'has_java_resources': 1,
696 'R_package': 'org.chromium.content_shell', 696 'R_package': 'org.chromium.content_shell',
697 'R_package_relpath': 'org/chromium/content_shell', 697 'R_package_relpath': 'org/chromium/content_shell',
698 'emma_instrument': '<(coverage)',
698 }, 699 },
699 'includes': [ '../build/java.gypi' ], 700 'includes': [ '../build/java.gypi' ],
700 }, 701 },
701 { 702 {
702 # content_shell_apk creates a .jar as a side effect. Any java targets 703 # content_shell_apk creates a .jar as a side effect. Any java targets
703 # that need that .jar in their classpath should depend on this target, 704 # that need that .jar in their classpath should depend on this target,
704 # content_shell_apk_java. Dependents of content_shell_apk receive its 705 # content_shell_apk_java. Dependents of content_shell_apk receive its
705 # jar path in the variable 'apk_output_jar_path'. This target should 706 # jar path in the variable 'apk_output_jar_path'. This target should
706 # only be used by targets which instrument content_shell_apk. 707 # only be used by targets which instrument content_shell_apk.
707 'target_name': 'content_shell_apk_java', 708 'target_name': 'content_shell_apk_java',
(...skipping 17 matching lines...) Expand all
725 '../ui/ui.gyp:ui_java', 726 '../ui/ui.gyp:ui_java',
726 ], 727 ],
727 'variables': { 728 'variables': {
728 'apk_name': 'ContentShell', 729 'apk_name': 'ContentShell',
729 'manifest_package_name': 'org.chromium.content_shell_apk', 730 'manifest_package_name': 'org.chromium.content_shell_apk',
730 'java_in_dir': 'shell/android/shell_apk', 731 'java_in_dir': 'shell/android/shell_apk',
731 'resource_dir': 'shell/android/shell_apk/res', 732 'resource_dir': 'shell/android/shell_apk/res',
732 'native_lib_target': 'libcontent_shell_content_view', 733 'native_lib_target': 'libcontent_shell_content_view',
733 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], 734 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
734 'asset_location': '<(ant_build_out)/content_shell/assets', 735 'asset_location': '<(ant_build_out)/content_shell/assets',
736 'emma_instrument': '<(coverage)',
735 }, 737 },
736 'includes': [ '../build/java_apk.gypi' ], 738 'includes': [ '../build/java_apk.gypi' ],
737 }, 739 },
738 ], 740 ],
739 }], # OS=="android" 741 }], # OS=="android"
740 ] 742 ]
741 } 743 }
OLDNEW
« build/java_apk.gypi ('K') | « content/content.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698