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

Unified Diff: build/symlink.gni

Issue 2485383006: [android] Tweak data deps to include two chromium tool binaries. (RELAND) (Closed)
Patch Set: fixed? Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/android/rules.gni ('k') | tools/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/symlink.gni
diff --git a/build/symlink.gni b/build/symlink.gni
index 95a498de1b48e0123435e649124f33668d066a7e..4da5a57e43530743270c68f477dfb964c5805994 100644
--- a/build/symlink.gni
+++ b/build/symlink.gni
@@ -10,6 +10,7 @@ template("symlink") {
action(target_name) {
forward_variables_from(invoker,
[
+ "data_deps",
"deps",
"testonly",
"visibility",
@@ -60,6 +61,12 @@ template("binary_symlink") {
deps = [
invoker.binary_label,
]
+ data_deps = [
+ invoker.binary_label,
+ ]
+ if (defined(invoker.data_deps)) {
+ data_deps += invoker.data_deps
+ }
_out_dir = get_label_info(invoker.binary_label, "root_out_dir")
if (defined(invoker.binary_output_name)) {
« no previous file with comments | « build/config/android/rules.gni ('k') | tools/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698