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

Side by Side Diff: build/java_apk.gypi

Issue 396823002: Fix emma (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | 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 # This file is meant to be included into a target to provide a rule 5 # This file is meant to be included into a target to provide a rule
6 # to build Android APKs in a consistent manner. 6 # to build Android APKs in a consistent manner.
7 # 7 #
8 # To use this, create a gyp target with the following form: 8 # To use this, create a gyp target with the following form:
9 # { 9 # {
10 # 'target_name': 'my_package_apk', 10 # 'target_name': 'my_package_apk',
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 'variables': { 764 'variables': {
765 'dex_input_paths': [ 765 'dex_input_paths': [
766 '>@(library_dexed_jars_paths)', 766 '>@(library_dexed_jars_paths)',
767 '<(jar_path)', 767 '<(jar_path)',
768 ], 768 ],
769 'output_path': '<(dex_path)', 769 'output_path': '<(dex_path)',
770 'proguard_enabled_input_path': '<(obfuscated_jar_path)', 770 'proguard_enabled_input_path': '<(obfuscated_jar_path)',
771 }, 771 },
772 'target_conditions': [ 772 'target_conditions': [
773 ['emma_instrument != 0', { 773 ['emma_instrument != 0', {
774 'dex_no_locals': 1, 774 'variables': {
775 'dex_input_paths': [ 775 'dex_no_locals': 1,
776 '<(emma_device_jar)' 776 'dex_input_paths': [
777 ], 777 '<(emma_device_jar)'
778 ],
779 },
778 }], 780 }],
779 ['is_test_apk == 1 and tested_apk_dex_path != "/"', { 781 ['is_test_apk == 1 and tested_apk_dex_path != "/"', {
780 'variables': { 782 'variables': {
781 'dex_additional_options': [ 783 'dex_additional_options': [
782 '--excluded-paths-file', '>(tested_apk_dex_path).inputs' 784 '--excluded-paths-file', '>(tested_apk_dex_path).inputs'
783 ], 785 ],
784 }, 786 },
785 'inputs': [ 787 'inputs': [
786 '>(tested_apk_dex_path).inputs', 788 '>(tested_apk_dex_path).inputs',
787 ], 789 ],
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 '-DEMMA_INSTRUMENT=<(emma_instrument)', 879 '-DEMMA_INSTRUMENT=<(emma_instrument)',
878 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', 880 '-DEMMA_DEVICE_JAR=<(emma_device_jar)',
879 881
880 '-Dbasedir=.', 882 '-Dbasedir=.',
881 '-buildfile', 883 '-buildfile',
882 '<(DEPTH)/build/android/ant/apk-package.xml', 884 '<(DEPTH)/build/android/ant/apk-package.xml',
883 ] 885 ]
884 }, 886 },
885 ], 887 ],
886 } 888 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698