forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
41 lines (38 loc) · 1.02 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 2014 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("//tools/grit/grit_rule.gni")
grit("resources") {
source = "file_manager_resources.grd"
outputs = [
"grit/file_manager_resources.h",
"grit/file_manager_resources_map.cc",
"grit/file_manager_resources_map.h",
"file_manager_resources.pak",
"file_manager_resources.rc",
]
if (enable_nacl) {
zip_archiver_pexe = "$root_gen_dir/ui/file_manager/zip_archiver_pnacl.pexe.js"
grit_flags = [
"-E",
"zip_archiver_pexe=" + rebase_path(zip_archiver_pexe, root_build_dir),
"-D",
"enable_nacl",
]
deps = [
"//ui/file_manager/zip_archiver/:zip_archiver",
]
}
}
component("file_manager") {
sources = [
"file_manager_export.h",
"file_manager_resource_util.cc",
"file_manager_resource_util.h",
]
public_deps = [
":resources",
"//base",
]
defines = [ "FILE_MANAGER_IMPLEMENTATION" ]
}