OLD | NEW |
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("//build/toolchain/toolchain.gni") | 8 import("//build/toolchain/toolchain.gni") |
9 import("//third_party/android_platform/config.gni") | 9 import("//third_party/android_platform/config.gni") |
10 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
(...skipping 1867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1878 android_apk(_apk_target_name) { | 1878 android_apk(_apk_target_name) { |
1879 deps = [] | 1879 deps = [] |
1880 data_deps = [] | 1880 data_deps = [] |
1881 forward_variables_from(invoker, "*") | 1881 forward_variables_from(invoker, "*") |
1882 deps += [ "//testing/android/broker:broker_java" ] | 1882 deps += [ "//testing/android/broker:broker_java" ] |
1883 data_deps += [ | 1883 data_deps += [ |
1884 "//testing/android/driver:driver_apk", | 1884 "//testing/android/driver:driver_apk", |
1885 "//tools/android/forwarder2", | 1885 "//tools/android/forwarder2", |
1886 "//tools/android/md5sum", | 1886 "//tools/android/md5sum", |
1887 ] | 1887 ] |
1888 run_findbugs = false | 1888 |
| 1889 run_findbugs = |
| 1890 defined(invoker.run_findbugs) && invoker.run_findbugs && |
| 1891 (defined(invoker.java_files) || defined(invoker.DEPRECATED_java_in_dir)) |
1889 } | 1892 } |
1890 | 1893 |
1891 group(target_name) { | 1894 group(target_name) { |
1892 public_deps = [ | 1895 public_deps = [ |
1893 ":$_apk_target_name", | 1896 ":$_apk_target_name", |
1894 ":$_test_runner_target_name", | 1897 ":$_test_runner_target_name", |
1895 ] | 1898 ] |
1896 } | 1899 } |
1897 } | 1900 } |
1898 | 1901 |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2202 } | 2205 } |
2203 | 2206 |
2204 android_library(target_name) { | 2207 android_library(target_name) { |
2205 java_files = [] | 2208 java_files = [] |
2206 srcjar_deps = [ ":${_template_name}__protoc_java" ] | 2209 srcjar_deps = [ ":${_template_name}__protoc_java" ] |
2207 deps = [ | 2210 deps = [ |
2208 "//third_party/android_protobuf:protobuf_nano_javalib", | 2211 "//third_party/android_protobuf:protobuf_nano_javalib", |
2209 ] | 2212 ] |
2210 } | 2213 } |
2211 } | 2214 } |
OLD | NEW |