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

Side by Side Diff: build/java_aidl.gypi

Issue 321883002: Make test apks only dex files not in tested apk (proguard version) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « build/android/gyp/util/build_utils.py ('k') | build/java_apk.gypi » ('j') | 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 Java aidl files in a consistent manner. 6 # to build Java aidl files 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': 'aidl_aidl-file-name', 10 # 'target_name': 'aidl_aidl-file-name',
(...skipping 28 matching lines...) Expand all
39 'aidl_import_include%': '', 39 'aidl_import_include%': '',
40 'additional_aidl_arguments': [], 40 'additional_aidl_arguments': [],
41 'additional_aidl_input_paths': [], 41 'additional_aidl_input_paths': [],
42 }, 42 },
43 'direct_dependent_settings': { 43 'direct_dependent_settings': {
44 'variables': { 44 'variables': {
45 'generated_src_dirs': ['<(intermediate_dir)/'], 45 'generated_src_dirs': ['<(intermediate_dir)/'],
46 }, 46 },
47 }, 47 },
48 'conditions': [ 48 'conditions': [
49 ['"<(aidl_import_include)"!=""', { 49 ['aidl_import_include != ""', {
50 'variables': { 50 'variables': {
51 'additional_aidl_arguments': [ '-I<(aidl_import_include)' ], 51 'additional_aidl_arguments': [ '-I<(aidl_import_include)' ],
52 'additional_aidl_input_paths': [ '<!@(find <(aidl_import_include) -name "*.java")', ] 52 'additional_aidl_input_paths': [ '<!@(find <(aidl_import_include) -name "*.java")', ]
53 } 53 }
54 }], 54 }],
55 ], 55 ],
56 'rules': [ 56 'rules': [
57 { 57 {
58 'rule_name': 'compile_aidl', 58 'rule_name': 'compile_aidl',
59 'extension': 'aidl', 59 'extension': 'aidl',
60 'inputs': [ 60 'inputs': [
61 '<(android_sdk)/framework.aidl', 61 '<(android_sdk)/framework.aidl',
62 '<(aidl_interface_file)', 62 '<(aidl_interface_file)',
63 '<@(additional_aidl_input_paths)', 63 '<@(additional_aidl_input_paths)',
64 ], 64 ],
65 'outputs': [ 65 'outputs': [
66 '<(intermediate_dir)/<(RULE_INPUT_ROOT).java', 66 '<(intermediate_dir)/<(RULE_INPUT_ROOT).java',
67 ], 67 ],
68 'action': [ 68 'action': [
69 '<(android_sdk_tools)/aidl', 69 '<(android_sdk_tools)/aidl',
70 '-p<(android_sdk)/framework.aidl', 70 '-p<(android_sdk)/framework.aidl',
71 '-p<(aidl_interface_file)', 71 '-p<(aidl_interface_file)',
72 '<@(additional_aidl_arguments)', 72 '<@(additional_aidl_arguments)',
73 '<(RULE_INPUT_PATH)', 73 '<(RULE_INPUT_PATH)',
74 '<(intermediate_dir)/<(RULE_INPUT_ROOT).java', 74 '<(intermediate_dir)/<(RULE_INPUT_ROOT).java',
75 ], 75 ],
76 }, 76 },
77 ], 77 ],
78 } 78 }
OLDNEW
« no previous file with comments | « build/android/gyp/util/build_utils.py ('k') | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698