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

Side by Side Diff: build/android/BUILD.gn

Issue 2971063003: Handle Java assert using a customized function in base (Closed)
Patch Set: fix tests Created 3 years, 5 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
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/rules.gni") 6 import("//build/config/android/rules.gni")
7 7
8 if (enable_java_templates) { 8 if (enable_java_templates) {
9 android_library("build_hooks_java") {
10 java_files = [
11 "buildhooks/java/org/chromium/buildhooks/BuildHooks.java",
12 "buildhooks/java/org/chromium/buildhooks/Callback.java",
13 ]
14 no_build_hooks = true
15 }
16
9 import("//third_party/ijar/ijar.gni") 17 import("//third_party/ijar/ijar.gni")
10 18
11 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" 19 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar"
12 20
13 # Create or update the API versions cache if necessary by running a 21 # Create or update the API versions cache if necessary by running a
14 # functionally empty lint task. This prevents racy creation of the 22 # functionally empty lint task. This prevents racy creation of the
15 # cache while linting java targets in android_lint. 23 # cache while linting java targets in android_lint.
16 android_lint("prepare_android_lint_cache") { 24 android_lint("prepare_android_lint_cache") {
17 android_manifest = "//build/android/AndroidManifest.xml" 25 android_manifest = "//build/android/AndroidManifest.xml"
18 create_cache = true 26 create_cache = true
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 _target_name = get_path_info(script, "name") + "_wrapper" 166 _target_name = get_path_info(script, "name") + "_wrapper"
159 _wrapper_targets += [ ":$_target_name" ] 167 _wrapper_targets += [ ":$_target_name" ]
160 wrapper_script(_target_name) { 168 wrapper_script(_target_name) {
161 target = script 169 target = script
162 } 170 }
163 } 171 }
164 172
165 group("wrapper_scripts") { 173 group("wrapper_scripts") {
166 deps = _wrapper_targets 174 deps = _wrapper_targets
167 } 175 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698