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

Unified Diff: ui/file_manager/zip_archiver/BUILD.gn

Issue 2808993003: Build ZIP archiver in ui/file_manager. (Closed)
Patch Set: Temporally disabled zip packing from the context menu. Created 3 years, 8 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
« no previous file with comments | « ui/file_manager/file_manager_resources.grd ('k') | ui/file_manager/zip_archiver/cpp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/zip_archiver/BUILD.gn
diff --git a/ui/file_manager/zip_archiver/BUILD.gn b/ui/file_manager/zip_archiver/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..a0bc6de454167861642708af4323cad417fae106
--- /dev/null
+++ b/ui/file_manager/zip_archiver/BUILD.gn
@@ -0,0 +1,23 @@
+# Copyright 2017 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("//build/config/features.gni")
+
+copy("zip_archiver") {
+ pexe_dir = get_label_info(
+ "//ui/file_manager/zip_archiver/zip_archiver/cpp:zip_archiver_pnacl(//build/toolchain/nacl:newlib_pnacl)",
+ "root_out_dir")
+
+ sources = [
+ "$pexe_dir/zip_archiver_pnacl.pexe",
+ ]
+
+ outputs = [
+ "$root_gen_dir/ui/file_manager/{{source_file_part}}.js",
+ ]
+
+ deps = [
+ "//ui/file_manager/zip_archiver/cpp:zip_archiver_pnacl(//build/toolchain/nacl:newlib_pnacl)",
+ ]
+}
« no previous file with comments | « ui/file_manager/file_manager_resources.grd ('k') | ui/file_manager/zip_archiver/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698