Chromium Code Reviews| 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..b890f9ab984facac4050faff962c9d12dd1980e5 |
| --- /dev/null |
| +++ b/ui/file_manager/zip_archiver/BUILD.gn |
| @@ -0,0 +1,25 @@ |
| +# 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") |
| + |
| +if (enable_nacl) { |
| + 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 = [ |
| + "$pexe_dir/../gen/ui/file_manager/{{source_file_part}}.js", |
|
hashimoto
2017/04/12 07:59:43
1. Why do we need to copy this file once, instead
takise
2017/04/12 09:30:00
This is actually a really tricky workaround which
|
| + ] |
| + |
| + deps = [ |
| + "//ui/file_manager/zip_archiver/cpp:zip_archiver_pnacl", |
| + ] |
| + } |
| +} |