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

Unified Diff: mojo/generate_mojo_shell_assets_list.gni

Issue 1130763004: Gets mandoline working on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get windows working Created 5 years, 7 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: mojo/generate_mojo_shell_assets_list.gni
diff --git a/mojo/generate_mojo_shell_assets_list.gni b/mojo/generate_mojo_shell_assets_list.gni
new file mode 100644
index 0000000000000000000000000000000000000000..a0f03df53e4b67068f6c55523d5ea32f14101764
--- /dev/null
+++ b/mojo/generate_mojo_shell_assets_list.gni
@@ -0,0 +1,22 @@
+# Copyright 2015 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.
+
+# Used to generate an assets_list file. To use supply the argument 'dir', which
+# is where the assets can be found.
+# TODO(sky): Perhaps combine this with the copy step?
+template("generate_mojo_shell_assets_list") {
+ action(target_name) {
+ script = "//mojo/tools/generate_mojo_shell_assets_list.py"
+ args = [
+ "--dir",
+ rebase_path(invoker.dir, root_build_dir),
+ ]
+ outputs = [
+ invoker.dir + "/assets_list",
+ ]
+ if (defined(invoker.deps)) {
+ deps = invoker.deps
+ }
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698