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

Side by Side Diff: ui/file_manager/BUILD.gn

Issue 2811183006: Revert of Build ZIP archiver in ui/file_manager. (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/file_manager/file_manager_resources.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 grit("resources") { 7 grit("resources") {
8 source = "file_manager_resources.grd" 8 source = "file_manager_resources.grd"
9 outputs = [ 9 outputs = [
10 "grit/file_manager_resources.h", 10 "grit/file_manager_resources.h",
11 "grit/file_manager_resources_map.cc", 11 "grit/file_manager_resources_map.cc",
12 "grit/file_manager_resources_map.h", 12 "grit/file_manager_resources_map.h",
13 "file_manager_resources.pak", 13 "file_manager_resources.pak",
14 "file_manager_resources.rc", 14 "file_manager_resources.rc",
15 ] 15 ]
16 if (enable_nacl) {
17 zip_archiver_pexe = "$root_gen_dir/ui/file_manager/zip_archiver_pnacl.pexe.j s"
18 grit_flags = [
19 "-E",
20 "zip_archiver_pexe=" + rebase_path(zip_archiver_pexe, root_build_dir),
21 "-D",
22 "enable_nacl",
23 ]
24 deps = [
25 "//ui/file_manager/zip_archiver/:zip_archiver",
26 ]
27 }
28 } 16 }
29 17
30 component("file_manager") { 18 component("file_manager") {
31 sources = [ 19 sources = [
32 "file_manager_export.h", 20 "file_manager_export.h",
33 "file_manager_resource_util.cc", 21 "file_manager_resource_util.cc",
34 "file_manager_resource_util.h", 22 "file_manager_resource_util.h",
35 ] 23 ]
36 public_deps = [ 24 public_deps = [
37 ":resources", 25 ":resources",
38 "//base", 26 "//base",
39 ] 27 ]
40 defines = [ "FILE_MANAGER_IMPLEMENTATION" ] 28 defines = [ "FILE_MANAGER_IMPLEMENTATION" ]
41 } 29 }
OLDNEW
« no previous file with comments | « no previous file | ui/file_manager/file_manager_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698