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