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 # 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 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 'variables': { | 804 'variables': { |
805 'dex_no_locals': 1, | 805 'dex_no_locals': 1, |
806 'dex_input_paths': [ | 806 'dex_input_paths': [ |
807 '<(emma_device_jar)' | 807 '<(emma_device_jar)' |
808 ], | 808 ], |
809 }, | 809 }, |
810 }], | 810 }], |
811 ['is_test_apk == 1 and tested_apk_dex_path != "/"', { | 811 ['is_test_apk == 1 and tested_apk_dex_path != "/"', { |
812 'variables': { | 812 'variables': { |
813 'dex_additional_options': [ | 813 'dex_additional_options': [ |
814 '--excluded-paths-file', '>(tested_apk_dex_path).inputs' | 814 '--excluded-paths', '@FileArg(>(tested_apk_dex_path).inputs)' |
815 ], | 815 ], |
816 }, | 816 }, |
817 'inputs': [ | 817 'inputs': [ |
818 '>(tested_apk_dex_path).inputs', | 818 '>(tested_apk_dex_path).inputs', |
819 ], | 819 ], |
820 }], | 820 }], |
821 ['proguard_enabled == "true"', { | 821 ['proguard_enabled == "true"', { |
822 'inputs': [ '<(obfuscate_stamp)' ] | 822 'inputs': [ '<(obfuscate_stamp)' ] |
823 }, { | 823 }, { |
824 'inputs': [ '<(instr_stamp)' ] | 824 'inputs': [ '<(instr_stamp)' ] |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 '-DEMMA_INSTRUMENT=<(emma_instrument)', | 926 '-DEMMA_INSTRUMENT=<(emma_instrument)', |
927 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', | 927 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', |
928 | 928 |
929 '-Dbasedir=.', | 929 '-Dbasedir=.', |
930 '-buildfile', | 930 '-buildfile', |
931 '<(DEPTH)/build/android/ant/apk-package.xml', | 931 '<(DEPTH)/build/android/ant/apk-package.xml', |
932 ] | 932 ] |
933 }, | 933 }, |
934 ], | 934 ], |
935 } | 935 } |
OLD | NEW |