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

Side by Side Diff: build/config/android/internal_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/android/gyp/dex.py ('k') | build/config/android/rules.gni » ('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 6
7 assert(is_android) 7 assert(is_android)
8 8
9 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) 9 rebased_android_sdk = rebase_path(android_sdk, root_build_dir)
10 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir) 10 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir)
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 } 1086 }
1087 1087
1088 rebased_build_config = rebase_path(build_config, root_build_dir) 1088 rebased_build_config = rebase_path(build_config, root_build_dir)
1089 dex(target_name) { 1089 dex(target_name) {
1090 inputs = [ 1090 inputs = [
1091 build_config, 1091 build_config,
1092 ] 1092 ]
1093 output = invoker.dex_path 1093 output = invoker.dex_path
1094 dex_arg_key = "${rebased_build_config}:final_dex:dependency_dex_files" 1094 dex_arg_key = "${rebased_build_config}:final_dex:dependency_dex_files"
1095 args = [ "--inputs=@FileArg($dex_arg_key)" ] 1095 args = [ "--inputs=@FileArg($dex_arg_key)" ]
1096 if (defined(invoker.excluded_jars)) {
1097 excluded_jars = rebase_path(invoker.excluded_jars, root_build_dir)
1098 args += [ "--excluded-paths=${excluded_jars}" ]
1099 }
1096 } 1100 }
1097 } 1101 }
OLDNEW
« no previous file with comments | « build/android/gyp/dex.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698