OLD | NEW |
| (Empty) |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 # This turns on e.g. the filename-based detection of which | |
8 # platforms to include source files on (e.g. files ending in | |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | |
10 'chromium_code': 1, | |
11 }, | |
12 'targets': [ | |
13 { | |
14 # GN version: //components/filesystem:lib | |
15 'target_name': 'filesystem_lib', | |
16 'type': 'static_library', | |
17 'include_dirs': [ | |
18 '../..', | |
19 ], | |
20 'sources': [ | |
21 'directory_impl.cc', | |
22 'directory_impl.h', | |
23 'file_impl.cc', | |
24 'file_impl.h', | |
25 'file_system_impl.cc', | |
26 'file_system_impl.h', | |
27 'lock_table.cc', | |
28 'lock_table.h', | |
29 'shared_temp_dir.cc', | |
30 'shared_temp_dir.h', | |
31 'util.cc', | |
32 'util.h', | |
33 ], | |
34 'dependencies': [ | |
35 'filesystem_bindings', | |
36 '../../mojo/mojo_edk.gyp:mojo_system_impl', | |
37 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
38 '../../mojo/mojo_public.gyp:mojo_cpp_system', | |
39 '../../services/shell/shell_public.gyp:shell_public', | |
40 '../../url/url.gyp:url_lib', | |
41 ], | |
42 'export_dependent_settings': [ | |
43 'filesystem_bindings', | |
44 ], | |
45 }, | |
46 { | |
47 # GN version: //components/filesystem/public/interfaces | |
48 'target_name': 'filesystem_bindings', | |
49 'type': 'static_library', | |
50 'dependencies': [ | |
51 'filesystem_bindings_mojom', | |
52 ], | |
53 'hard_dependency': 1, | |
54 }, | |
55 { | |
56 'target_name': 'filesystem_bindings_mojom', | |
57 'type': 'none', | |
58 'variables': { | |
59 'mojom_files': [ | |
60 'public/interfaces/directory.mojom', | |
61 'public/interfaces/file.mojom', | |
62 'public/interfaces/file_system.mojom', | |
63 'public/interfaces/types.mojom', | |
64 ], | |
65 'use_new_wrapper_types': 'false', | |
66 }, | |
67 'includes': [ | |
68 '../../mojo/mojom_bindings_generator_explicit.gypi', | |
69 ], | |
70 } | |
71 ], | |
72 } | |
OLD | NEW |