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

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

Issue 1328693003: Build chromium_commands when building any _incremental apk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « build/android/pylib/device/commands/BUILD.gn ('k') | 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("//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 1601 matching lines...) Expand 10 before | Expand all | Expand 10 after
1612 if (_create_language_splits) { 1612 if (_create_language_splits) {
1613 args += [ "--split=${_rebased_apk_path_no_ext}-language-*.apk" ] 1613 args += [ "--split=${_rebased_apk_path_no_ext}-language-*.apk" ]
1614 } 1614 }
1615 } 1615 }
1616 1616
1617 group(target_name) { 1617 group(target_name) {
1618 forward_variables_from(invoker, [ "data_deps" ]) 1618 forward_variables_from(invoker, [ "data_deps" ])
1619 deps = _final_deps 1619 deps = _final_deps
1620 } 1620 }
1621 group("${target_name}_incremental") { 1621 group("${target_name}_incremental") {
1622 data_deps = []
1623 forward_variables_from(invoker, [ "data_deps" ])
1624 data_deps += [ "//build/android/pylib/device/commands" ]
1622 deps = _incremental_final_deps 1625 deps = _incremental_final_deps
1623 if (defined(invoker.data_deps)) {
1624 data_deps = invoker.data_deps
1625 }
1626 } 1626 }
1627 } 1627 }
1628 1628
1629 # Declare an Android instrumentation test apk 1629 # Declare an Android instrumentation test apk
1630 # 1630 #
1631 # This target creates an Android instrumentation test apk. 1631 # This target creates an Android instrumentation test apk.
1632 # 1632 #
1633 # Variables 1633 # Variables
1634 # android_manifest: Path to AndroidManifest.xml. 1634 # android_manifest: Path to AndroidManifest.xml.
1635 # data_deps: List of dependencies needed at runtime. These will be built but 1635 # data_deps: List of dependencies needed at runtime. These will be built but
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
2005 2005
2006 # TODO(GYP): implement this. 2006 # TODO(GYP): implement this.
2007 template("uiautomator_test") { 2007 template("uiautomator_test") {
2008 set_sources_assignment_filter([]) 2008 set_sources_assignment_filter([])
2009 forward_variables_from(invoker, [ "testonly" ]) 2009 forward_variables_from(invoker, [ "testonly" ])
2010 assert(target_name != "") 2010 assert(target_name != "")
2011 assert(invoker.deps != [] || true) 2011 assert(invoker.deps != [] || true)
2012 group(target_name) { 2012 group(target_name) {
2013 } 2013 }
2014 } 2014 }
OLDNEW
« no previous file with comments | « build/android/pylib/device/commands/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698