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/profile_serivce:lib | |
15 'target_name': 'profile_service_lib', | |
16 'type': 'static_library', | |
17 'include_dirs': [ | |
18 '../..', | |
19 ], | |
20 'sources': [ | |
21 'profile_app.cc', | |
22 'profile_app.h', | |
23 'profile_service_impl.cc', | |
24 'profile_service_impl.h', | |
25 'user_id_map.cc', | |
26 'user_id_map.h', | |
27 ], | |
28 'dependencies': [ | |
29 'profile_app_manifest', | |
30 'profile_service_bindings', | |
31 '../../base/base.gyp:base', | |
32 '../../components/filesystem/filesystem.gyp:filesystem_lib', | |
33 '../../components/leveldb/leveldb.gyp:leveldb_lib', | |
34 '../../services/shell/shell.gyp:shell_public', | |
35 '../../services/tracing/tracing.gyp:tracing_lib', | |
36 '../../mojo/mojo_edk.gyp:mojo_system_impl', | |
37 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
38 '../../mojo/mojo_platform_handle.gyp:platform_handle', | |
39 '../../url/url.gyp:url_lib', | |
40 ], | |
41 'export_dependent_settings': [ | |
42 'profile_service_bindings', | |
43 ], | |
44 }, | |
45 { | |
46 # GN version: //components/profile_service/public/interfaces | |
47 'target_name': 'profile_service_bindings', | |
48 'type': 'static_library', | |
49 'dependencies': [ | |
50 'profile_service_bindings_mojom', | |
51 ], | |
52 }, | |
53 { | |
54 'target_name': 'profile_service_bindings_mojom', | |
55 'type': 'none', | |
56 'variables': { | |
57 'mojom_files': [ | |
58 'public/interfaces/profile.mojom', | |
59 ], | |
60 }, | |
61 'dependencies': [ | |
62 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom', | |
63 '../../components/leveldb/leveldb.gyp:leveldb_bindings_mojom', | |
64 ], | |
65 'includes': [ | |
66 '../../mojo/mojom_bindings_generator_explicit.gypi', | |
67 ], | |
68 }, | |
69 { | |
70 'target_name': 'profile_service_public_lib', | |
71 'type': 'static_library', | |
72 'sources': [ | |
73 'public/cpp/constants.cc', | |
74 'public/cpp/constants.h', | |
75 ], | |
76 'include_dirs': [ | |
77 '../..', | |
78 ], | |
79 }, | |
80 { | |
81 # GN version: //components/profile_service:manifest | |
82 'target_name': 'profile_app_manifest', | |
83 'type': 'none', | |
84 'variables': { | |
85 'application_type': 'mojo', | |
86 'application_name': 'profile', | |
87 'source_manifest': '<(DEPTH)/components/profile_service/manifest.json', | |
88 }, | |
89 'includes': [ | |
90 '../../mojo/public/mojo_application_manifest.gypi', | |
91 ], | |
92 'hard_dependency': 1, | |
93 }, | |
94 ], | |
95 } | |
OLD | NEW |