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

Side by Side Diff: build/config/android/rules.gni

Issue 2248283006: Add additional_jar_files to inputs for java_library targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add additional_jar_files to inputs for java_library targets. Created 4 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
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | third_party/robolectric/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/internal_rules.gni") 6 import("//build/config/android/internal_rules.gni")
7 import("//build/config/dcheck_always_on.gni") 7 import("//build/config/dcheck_always_on.gni")
8 import("//build/toolchain/toolchain.gni") 8 import("//build/toolchain/toolchain.gni")
9 9
10 assert(is_android) 10 assert(is_android)
(...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 # be used to remove unwanted parts of the library. 1172 # be used to remove unwanted parts of the library.
1173 # proguard_config: Path to the proguard config for preprocessing. 1173 # proguard_config: Path to the proguard config for preprocessing.
1174 # 1174 #
1175 # supports_android: If true, Android targets (android_library, android_apk) 1175 # supports_android: If true, Android targets (android_library, android_apk)
1176 # may depend on this target. Note: if true, this target must only use the 1176 # may depend on this target. Note: if true, this target must only use the
1177 # subset of Java available on Android. 1177 # subset of Java available on Android.
1178 # bypass_platform_checks: Disables checks about cross-platform (Java/Android ) 1178 # bypass_platform_checks: Disables checks about cross-platform (Java/Android )
1179 # dependencies for this target. This will allow depending on an 1179 # dependencies for this target. This will allow depending on an
1180 # android_library target, for example. 1180 # android_library target, for example.
1181 # 1181 #
1182 # additional_jar_files: Use to package additional files into the output jar.
1183 # Pass a list of length-2 lists with format
1184 # [ [ path_to_file, path_to_put_in_jar ] ]
1185 #
1186 #
1182 # data_deps, testonly 1187 # data_deps, testonly
1183 # 1188 #
1184 # Example 1189 # Example
1185 # java_library("foo_java") { 1190 # java_library("foo_java") {
1186 # java_files = [ 1191 # java_files = [
1187 # "org/chromium/foo/Foo.java", 1192 # "org/chromium/foo/Foo.java",
1188 # "org/chromium/foo/FooInterface.java", 1193 # "org/chromium/foo/FooInterface.java",
1189 # "org/chromium/foo/FooService.java", 1194 # "org/chromium/foo/FooService.java",
1190 # ] 1195 # ]
1191 # deps = [ 1196 # deps = [
(...skipping 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after
2705 supports_android = true 2710 supports_android = true
2706 jar_path = "${_output_path}/$jar" 2711 jar_path = "${_output_path}/$jar"
2707 } 2712 }
2708 } 2713 }
2709 2714
2710 java_group(target_name) { 2715 java_group(target_name) {
2711 deps = _resource_targets + _jar_targets 2716 deps = _resource_targets + _jar_targets
2712 } 2717 }
2713 } 2718 }
2714 } 2719 }
OLDNEW
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | third_party/robolectric/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698