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

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

Issue 2182303002: Merging under test java into instrumentation test java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@runtimelibrary
Patch Set: Addressing agrieve's comments 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
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 2271 matching lines...) Expand 10 before | Expand all | Expand 10 after
2282 deps += [ "//testing/android/broker:broker_java" ] 2282 deps += [ "//testing/android/broker:broker_java" ]
2283 data_deps += [ 2283 data_deps += [
2284 "//testing/android/driver:driver_apk", 2284 "//testing/android/driver:driver_apk",
2285 "//tools/android/forwarder2", 2285 "//tools/android/forwarder2",
2286 "//tools/android/md5sum", 2286 "//tools/android/md5sum",
2287 ] 2287 ]
2288 if (defined(invoker.additional_apks)) { 2288 if (defined(invoker.additional_apks)) {
2289 data_deps += invoker.additional_apks 2289 data_deps += invoker.additional_apks
2290 } 2290 }
2291 2291
2292 if (defined(invoker.proguard_enabled) && invoker.proguard_enabled) {
2293 # When ProGuard is on, we use ProGuard to combine the under test java
2294 # code and the test java code. This is to allow us to apply all ProGuard
2295 # optimizations that we ship with, but not have them break tests. The
2296 # apk under test will still have the same resources, assets, and
2297 # manifest, all of which are the ones used in the tests.
2298 proguard_configs = [ "//testing/android/proguard_for_test.flags" ]
2299 }
2300
2292 create_dist_ijar = true 2301 create_dist_ijar = true
2293 if (defined(invoker.run_findbugs_override)) { 2302 if (defined(invoker.run_findbugs_override)) {
2294 # Only allow findbugs when there are java files. 2303 # Only allow findbugs when there are java files.
2295 run_findbugs_override = 2304 run_findbugs_override =
2296 invoker.run_findbugs_override && defined(invoker.java_files) 2305 invoker.run_findbugs_override && defined(invoker.java_files)
2297 } 2306 }
2298 } 2307 }
2299 2308
2300 group(target_name) { 2309 group(target_name) {
2301 public_deps = [ 2310 public_deps = [
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
2663 android_manifest = "${_output_path}/AndroidManifest.xml" 2672 android_manifest = "${_output_path}/AndroidManifest.xml"
2664 v14_skip = true 2673 v14_skip = true
2665 } 2674 }
2666 } 2675 }
2667 2676
2668 java_group(target_name) { 2677 java_group(target_name) {
2669 deps = _sub_target_names 2678 deps = _sub_target_names
2670 } 2679 }
2671 } 2680 }
2672 } 2681 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698