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

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

Issue 951353003: Allow to exlude jar in android_standalone_library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase path before passing it to external command. Created 5 years, 10 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') | 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 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("//base/android/linker/config.gni") 5 import("//base/android/linker/config.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/internal_rules.gni") 7 import("//build/config/android/internal_rules.gni")
8 import("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
9 import("//tools/relocation_packer/config.gni") 9 import("//tools/relocation_packer/config.gni")
10 10
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 # 1025 #
1026 # Variables 1026 # Variables
1027 # deps: specifies the dependencies of this target. Android libraries in deps 1027 # deps: specifies the dependencies of this target. Android libraries in deps
1028 # will be packaged into the resulting .dex.jar file. 1028 # will be packaged into the resulting .dex.jar file.
1029 # dex_path: location at which the output file will be put 1029 # dex_path: location at which the output file will be put
1030 template("android_standalone_library") { 1030 template("android_standalone_library") {
1031 set_sources_assignment_filter([]) 1031 set_sources_assignment_filter([])
1032 deps_dex(target_name) { 1032 deps_dex(target_name) {
1033 deps = invoker.deps 1033 deps = invoker.deps
1034 dex_path = invoker.dex_path 1034 dex_path = invoker.dex_path
1035 if (defined(invoker.excluded_jars)) {
1036 excluded_jars = invoker.excluded_jars
1037 }
1035 } 1038 }
1036 } 1039 }
1037 1040
1038 # Declare an Android library target for a prebuilt jar 1041 # Declare an Android library target for a prebuilt jar
1039 # 1042 #
1040 # This target creates an Android library containing java code and Android 1043 # This target creates an Android library containing java code and Android
1041 # resources. 1044 # resources.
1042 # 1045 #
1043 # Variables 1046 # Variables
1044 # deps: Specifies the dependencies of this target. Java targets in this list 1047 # deps: Specifies the dependencies of this target. Java targets in this list
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
1733 template("uiautomator_test") { 1736 template("uiautomator_test") {
1734 set_sources_assignment_filter([]) 1737 set_sources_assignment_filter([])
1735 if (defined(invoker.testonly)) { 1738 if (defined(invoker.testonly)) {
1736 testonly = invoker.testonly 1739 testonly = invoker.testonly
1737 } 1740 }
1738 assert(target_name != "") 1741 assert(target_name != "")
1739 assert(invoker.deps != [] || true) 1742 assert(invoker.deps != [] || true)
1740 group(target_name) { 1743 group(target_name) {
1741 } 1744 }
1742 } 1745 }
OLDNEW
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698