| 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: //components/profile_serivce:lib |
| 15 'target_name': 'profile_service_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 'profile_app.cc', | 21 'profile_app.cc', |
| 22 'profile_app.h', | 22 'profile_app.h', |
| 23 'profile_service_impl.cc', | 23 'profile_service_impl.cc', |
| 24 'profile_service_impl.h', | 24 'profile_service_impl.h', |
| 25 'user_id_map.cc', | 25 'user_id_map.cc', |
| 26 'user_id_map.h', | 26 'user_id_map.h', |
| 27 ], | 27 ], |
| 28 'dependencies': [ | 28 'dependencies': [ |
| 29 'profile_app_manifest', |
| 29 'profile_service_bindings', | 30 'profile_service_bindings', |
| 30 '../../base/base.gyp:base', | 31 '../../base/base.gyp:base', |
| 31 '../../components/filesystem/filesystem.gyp:filesystem_lib', | 32 '../../components/filesystem/filesystem.gyp:filesystem_lib', |
| 32 '../../components/leveldb/leveldb.gyp:leveldb_lib', | 33 '../../components/leveldb/leveldb.gyp:leveldb_lib', |
| 33 '../../services/shell/shell.gyp:shell_public', | 34 '../../services/shell/shell.gyp:shell_public', |
| 34 '../../services/tracing/tracing.gyp:tracing_lib', | 35 '../../services/tracing/tracing.gyp:tracing_lib', |
| 35 '../../mojo/mojo_edk.gyp:mojo_system_impl', | 36 '../../mojo/mojo_edk.gyp:mojo_system_impl', |
| 36 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', | 37 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 37 '../../mojo/mojo_platform_handle.gyp:platform_handle', | 38 '../../mojo/mojo_platform_handle.gyp:platform_handle', |
| 38 '../../url/url.gyp:url_lib', | 39 '../../url/url.gyp:url_lib', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 57 'public/interfaces/profile.mojom', | 58 'public/interfaces/profile.mojom', |
| 58 ], | 59 ], |
| 59 }, | 60 }, |
| 60 'dependencies': [ | 61 'dependencies': [ |
| 61 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom', | 62 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom', |
| 62 '../../components/leveldb/leveldb.gyp:leveldb_bindings_mojom', | 63 '../../components/leveldb/leveldb.gyp:leveldb_bindings_mojom', |
| 63 ], | 64 ], |
| 64 'includes': [ | 65 'includes': [ |
| 65 '../../mojo/mojom_bindings_generator_explicit.gypi', | 66 '../../mojo/mojom_bindings_generator_explicit.gypi', |
| 66 ], | 67 ], |
| 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 }, |
| 68 ], | 94 ], |
| 69 } | 95 } |
| OLD | NEW |