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

Side by Side Diff: build/java.gypi

Issue 12524008: Android: factor out use of SDK jar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove input_jar_file altogether. Created 7 years, 9 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/jar_file_jni_generator.gypi ('k') | content/content.gyp » ('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 in a consistent manner. 6 # to build Java 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_java', 10 # 'target_name': 'my-package_java',
(...skipping 29 matching lines...) Expand all
40 # integer IDs) should be generated, e.g. org.chromium.content. 40 # integer IDs) should be generated, e.g. org.chromium.content.
41 # R_package_relpath - Same as R_package, but replace each '.' with '/'. 41 # R_package_relpath - Same as R_package, but replace each '.' with '/'.
42 # java_strings_grd - The name of the grd file from which to generate localized 42 # java_strings_grd - The name of the grd file from which to generate localized
43 # strings.xml files, if any. 43 # strings.xml files, if any.
44 44
45 { 45 {
46 'dependencies': [ 46 'dependencies': [
47 '<(DEPTH)/build/build_output_dirs_android.gyp:build_output_dirs' 47 '<(DEPTH)/build/build_output_dirs_android.gyp:build_output_dirs'
48 ], 48 ],
49 'variables': { 49 'variables': {
50 'android_jar': '<(android_sdk)/android.jar', 50 'input_jars_paths': [ '<(android_sdk_jar)' ],
51 'input_jars_paths': [ '<(android_jar)' ],
52 'additional_src_dirs': [], 51 'additional_src_dirs': [],
53 'javac_includes': [], 52 'javac_includes': [],
54 'jar_name': '<(_target_name).jar', 53 'jar_name': '<(_target_name).jar',
55 'jar_path': '<(PRODUCT_DIR)/lib.java/<(jar_name)', 54 'jar_path': '<(PRODUCT_DIR)/lib.java/<(jar_name)',
56 'excluded_classes': [ '*/R.class', '*/R##*.class' ], 55 'excluded_classes': [ '*/R.class', '*/R##*.class' ],
57 'additional_input_paths': ['>@(additional_R_files)'], 56 'additional_input_paths': ['>@(additional_R_files)'],
58 'generated_src_dirs': ['>@(generated_R_dirs)'], 57 'generated_src_dirs': ['>@(generated_R_dirs)'],
59 'generated_R_dirs': [], 58 'generated_R_dirs': [],
60 'additional_R_files': [], 59 'additional_R_files': [],
61 'has_java_resources%': 0, 60 'has_java_resources%': 0,
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 '--classes-dir=<(classes_dir)', 201 '--classes-dir=<(classes_dir)',
203 '--jar-path=<(jar_path)', 202 '--jar-path=<(jar_path)',
204 '--excluded-classes=<(excluded_classes)', 203 '--excluded-classes=<(excluded_classes)',
205 204
206 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja . 205 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja .
207 '--ignore=>!(echo >(_inputs) | md5sum)', 206 '--ignore=>!(echo >(_inputs) | md5sum)',
208 ] 207 ]
209 }, 208 },
210 ], 209 ],
211 } 210 }
OLDNEW
« no previous file with comments | « build/jar_file_jni_generator.gypi ('k') | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698