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

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

Issue 2188243002: Add jar_excluded_patterns support in android_aar_prebuilt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « 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 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/toolchain/toolchain.gni") 7 import("//build/toolchain/toolchain.gni")
8 8
9 assert(is_android) 9 assert(is_android)
10 10
(...skipping 2614 matching lines...) Expand 10 before | Expand all | Expand 10 after
2625 _counter = 0 2625 _counter = 0
2626 foreach(jar, _scanned_files.jars) { 2626 foreach(jar, _scanned_files.jars) {
2627 _counter += 1 2627 _counter += 1
2628 _current_target = "${target_name}__jar_$_counter" 2628 _current_target = "${target_name}__jar_$_counter"
2629 _sub_target_names += [ ":$_current_target" ] 2629 _sub_target_names += [ ":$_current_target" ]
2630 java_prebuilt(_current_target) { 2630 java_prebuilt(_current_target) {
2631 forward_variables_from(invoker, 2631 forward_variables_from(invoker,
2632 [ 2632 [
2633 "deps", 2633 "deps",
2634 "requires_android", 2634 "requires_android",
2635 "jar_excluded_patterns",
2635 ]) 2636 ])
2636 if (!defined(deps)) { 2637 if (!defined(deps)) {
2637 deps = [] 2638 deps = []
2638 } 2639 }
2639 deps += [ ":$_unpack_target_name" ] 2640 deps += [ ":$_unpack_target_name" ]
2640 if (!defined(requires_android)) { 2641 if (!defined(requires_android)) {
2641 requires_android = true 2642 requires_android = true
2642 } 2643 }
2643 supports_android = true 2644 supports_android = true
2644 jar_path = "${_output_path}/$jar" 2645 jar_path = "${_output_path}/$jar"
(...skipping 18 matching lines...) Expand all
2663 android_manifest = "${_output_path}/AndroidManifest.xml" 2664 android_manifest = "${_output_path}/AndroidManifest.xml"
2664 v14_skip = true 2665 v14_skip = true
2665 } 2666 }
2666 } 2667 }
2667 2668
2668 java_group(target_name) { 2669 java_group(target_name) {
2669 deps = _sub_target_names 2670 deps = _sub_target_names
2670 } 2671 }
2671 } 2672 }
2672 } 2673 }
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