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

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

Issue 1848713002: 🍮 GN: Allow android lint to fail builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/zip.gni") 7 import("//build/config/zip.gni")
8 import("//third_party/ijar/ijar.gni") 8 import("//third_party/ijar/ijar.gni")
9 9
10 assert(is_android) 10 assert(is_android)
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 "--silent", 80 "--silent",
81 ] 81 ]
82 } else { 82 } else {
83 inputs += [ invoker.jar_path ] + invoker.java_files 83 inputs += [ invoker.jar_path ] + invoker.java_files
84 deps += [ "//build/android:prepare_android_lint_cache" ] 84 deps += [ "//build/android:prepare_android_lint_cache" ]
85 _rebased_java_files = rebase_path(invoker.java_files, root_build_dir) 85 _rebased_java_files = rebase_path(invoker.java_files, root_build_dir)
86 args += [ 86 args += [
87 "--jar-path", 87 "--jar-path",
88 rebase_path(invoker.jar_path, root_build_dir), 88 rebase_path(invoker.jar_path, root_build_dir),
89 "--java-files=$_rebased_java_files", 89 "--java-files=$_rebased_java_files",
90 "--can-fail-build",
90 ] 91 ]
91 } 92 }
92 } 93 }
93 } 94 }
94 95
95 template("proguard") { 96 template("proguard") {
96 action(target_name) { 97 action(target_name) {
97 set_sources_assignment_filter([]) 98 set_sources_assignment_filter([])
98 forward_variables_from(invoker, 99 forward_variables_from(invoker,
99 [ 100 [
(...skipping 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after
2175 ] 2176 ]
2176 args = [ 2177 args = [
2177 "--depfile", 2178 "--depfile",
2178 rebase_path(depfile, root_build_dir), 2179 rebase_path(depfile, root_build_dir),
2179 "--script-output-path", 2180 "--script-output-path",
2180 rebase_path(generated_script, root_build_dir), 2181 rebase_path(generated_script, root_build_dir),
2181 ] 2182 ]
2182 args += test_runner_args 2183 args += test_runner_args
2183 } 2184 }
2184 } 2185 }
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