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

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

Issue 1694703002: Convert mojo_test_apk android_apk->instrumentation_test_apk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | mojo/android/BUILD.gn » ('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("//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/config/sanitizers/sanitizers.gni") 8 import("//build/config/sanitizers/sanitizers.gni")
9 import("//build/toolchain/toolchain.gni") 9 import("//build/toolchain/toolchain.gni")
10 import("//third_party/android_platform/config.gni") 10 import("//third_party/android_platform/config.gni")
(...skipping 1981 matching lines...) Expand 10 before | Expand all | Expand 10 after
1992 (defined(invoker.java_files) || defined(invoker.DEPRECATED_java_in_dir)) 1992 (defined(invoker.java_files) || defined(invoker.DEPRECATED_java_in_dir))
1993 } 1993 }
1994 1994
1995 group(target_name) { 1995 group(target_name) {
1996 public_deps = [ 1996 public_deps = [
1997 ":$_apk_target_name", 1997 ":$_apk_target_name",
1998 ":$_test_runner_target_name", 1998 ":$_test_runner_target_name",
1999 1999
2000 # Required by test runner to enumerate test list. 2000 # Required by test runner to enumerate test list.
2001 ":${_apk_target_name}_dist_ijar", 2001 ":${_apk_target_name}_dist_ijar",
2002 invoker.apk_under_test,
2003 ] 2002 ]
2003 if (defined(invoker.apk_under_test)) {
2004 public_deps += [ invoker.apk_under_test ]
2005 }
2004 } 2006 }
2005 group("${target_name}_incremental") { 2007 group("${target_name}_incremental") {
2006 public_deps = [ 2008 public_deps = [
2007 ":${_apk_target_name}_dist_ijar", 2009 ":${_apk_target_name}_dist_ijar",
2008 ":${_apk_target_name}_incremental", 2010 ":${_apk_target_name}_incremental",
2009 ":${_test_runner_target_name}_incremental", 2011 ":${_test_runner_target_name}_incremental",
2010 "${invoker.apk_under_test}_incremental",
2011 ] 2012 ]
2013 if (defined(invoker.apk_under_test)) {
2014 public_deps += [ "${invoker.apk_under_test}_incremental" ]
2015 }
2012 } 2016 }
2013 } 2017 }
2014 2018
2015 # Declare an Android gtest apk 2019 # Declare an Android gtest apk
2016 # 2020 #
2017 # This target creates an Android apk for running gtest-based unittests. 2021 # This target creates an Android apk for running gtest-based unittests.
2018 # 2022 #
2019 # Variables 2023 # Variables
2020 # deps: Specifies the dependencies of this target. These will be passed to 2024 # deps: Specifies the dependencies of this target. These will be passed to
2021 # the underlying android_apk invocation and should include the java and 2025 # the underlying android_apk invocation and should include the java and
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
2320 } 2324 }
2321 2325
2322 android_library(target_name) { 2326 android_library(target_name) {
2323 java_files = [] 2327 java_files = []
2324 srcjar_deps = [ ":${_template_name}__protoc_java" ] 2328 srcjar_deps = [ ":${_template_name}__protoc_java" ]
2325 deps = [ 2329 deps = [
2326 "//third_party/android_protobuf:protobuf_nano_javalib", 2330 "//third_party/android_protobuf:protobuf_nano_javalib",
2327 ] 2331 ]
2328 } 2332 }
2329 } 2333 }
OLDNEW
« no previous file with comments | « no previous file | mojo/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698