OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
11 }, | 11 }, |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 # GN version: //components/filesystem:lib | 14 # GN version: //components/profile_serivce:lib |
15 'target_name': 'filesystem_lib', | 15 'target_name': 'profile_service_lib', |
16 'type': 'static_library', | 16 'type': 'static_library', |
17 'include_dirs': [ | 17 'include_dirs': [ |
18 '../..', | 18 '../..', |
19 ], | 19 ], |
20 'sources': [ | 20 'sources': [ |
21 'directory_impl.cc', | 21 'profile_app.cc', |
22 'directory_impl.h', | 22 'profile_app.h', |
23 'file_impl.cc', | 23 'profile_service_impl.cc', |
24 'file_impl.h', | 24 'profile_service_impl.h', |
25 'file_system_impl.cc', | |
26 'file_system_impl.h', | |
27 'lock_table.cc', | |
28 'lock_table.h', | |
29 'util.cc', | |
30 'util.h', | |
31 ], | 25 ], |
32 'dependencies': [ | 26 'dependencies': [ |
33 'filesystem_bindings', | 27 'profile_service_bindings', |
| 28 '../../base/base.gyp:base', |
| 29 '../../components/filesystem/filesystem.gyp:filesystem_lib', |
| 30 '../../components/leveldb/leveldb.gyp:leveldb_lib', |
34 '../../mojo/mojo_base.gyp:mojo_application_base', | 31 '../../mojo/mojo_base.gyp:mojo_application_base', |
| 32 '../../mojo/mojo_base.gyp:tracing_service', |
35 '../../mojo/mojo_edk.gyp:mojo_system_impl', | 33 '../../mojo/mojo_edk.gyp:mojo_system_impl', |
36 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', | 34 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
37 '../../mojo/mojo_platform_handle.gyp:platform_handle', | 35 '../../mojo/mojo_platform_handle.gyp:platform_handle', |
38 '../../url/url.gyp:url_lib', | 36 '../../url/url.gyp:url_lib', |
39 ], | 37 ], |
40 'export_dependent_settings': [ | 38 'export_dependent_settings': [ |
41 'filesystem_bindings', | 39 'profile_service_bindings', |
42 ], | 40 ], |
43 }, | 41 }, |
44 { | 42 { |
45 # GN version: //components/filesystem/public/interfaces | 43 # GN version: //components/profile_service/public/interfaces |
46 'target_name': 'filesystem_bindings', | 44 'target_name': 'profile_service_bindings', |
47 'type': 'static_library', | 45 'type': 'static_library', |
48 'dependencies': [ | 46 'dependencies': [ |
49 'filesystem_bindings_mojom', | 47 'profile_service_bindings_mojom', |
50 ], | 48 ], |
51 }, | 49 }, |
52 { | 50 { |
53 'target_name': 'filesystem_bindings_mojom', | 51 'target_name': 'profile_service_bindings_mojom', |
54 'type': 'none', | 52 'type': 'none', |
55 'variables': { | 53 'variables': { |
56 'mojom_files': [ | 54 'mojom_files': [ |
57 'public/interfaces/directory.mojom', | 55 'public/interfaces/profile.mojom', |
58 'public/interfaces/file.mojom', | |
59 'public/interfaces/file_system.mojom', | |
60 'public/interfaces/types.mojom', | |
61 ], | 56 ], |
62 }, | 57 }, |
| 58 'dependencies': [ |
| 59 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom', |
| 60 '../../components/leveldb/leveldb.gyp:leveldb_bindings_mojom', |
| 61 ], |
63 'includes': [ | 62 'includes': [ |
64 '../../mojo/mojom_bindings_generator_explicit.gypi', | 63 '../../mojo/mojom_bindings_generator_explicit.gypi', |
65 ], | 64 ], |
66 } | 65 } |
67 ], | 66 ], |
68 } | 67 } |
OLD | NEW |