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

Unified Diff: remoting/host/installer/BUILD.gn

Issue 2308813002: Moving CRD Windows targets to subdirectories. (Closed)
Patch Set: Correcting format. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/installer/BUILD.gn
diff --git a/remoting/host/installer/BUILD.gn b/remoting/host/installer/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..1004128f17fa2a26304da072cb82c839e0a54880
--- /dev/null
+++ b/remoting/host/installer/BUILD.gn
@@ -0,0 +1,32 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//remoting/build/config/remoting_build.gni")
+
+action("credits") {
+ # We put this in $root_build_dir/gen/remoting instead of
+ # $root_build_dir/gen/remoting/host (target_gen_dir) for
+ # compatibility w/ GYP, since the installer needs the file to
joedow 2016/09/12 18:58:43 Is this comment still valid? I'm not sure we need
nicholss 2016/09/12 19:56:32 Not sure.
+ # be at the same location.
+ about_credits_file = "$root_build_dir/gen/remoting/CREDITS.txt"
+ script = "//tools/licenses.py"
+
+ inputs = [
+ "credits.tmpl",
+ "credits_entry.tmpl",
+ ]
+
+ outputs = [
+ about_credits_file,
+ ]
+
+ args = [
+ "credits",
+ rebase_path(about_credits_file, root_build_dir),
+ "--file-template",
+ rebase_path("credits.tmpl", root_build_dir),
+ "--entry-template",
+ rebase_path("credits_entry.tmpl", root_build_dir),
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698