| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 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 # Cross-platform user_manager sources. | |
| 8 'user_manager_shared_sources': [ | |
| 9 'user_manager/empty_user_info.cc', | |
| 10 'user_manager/empty_user_info.h', | |
| 11 'user_manager/user_info.cc', | |
| 12 'user_manager/user_info.h', | |
| 13 'user_manager/user_info_impl.cc', | |
| 14 'user_manager/user_info_impl.h', | |
| 15 'user_manager/user_manager_export.h', | |
| 16 ], | |
| 17 # Chrome OS user_manager sources. | |
| 18 'user_manager_chromeos_sources': [ | |
| 19 'user_manager/known_user.cc', | |
| 20 'user_manager/known_user.h', | |
| 21 'user_manager/remove_user_delegate.h', | |
| 22 'user_manager/user.cc', | |
| 23 'user_manager/user.h', | |
| 24 'user_manager/user_image/user_image.cc', | |
| 25 'user_manager/user_image/user_image.h', | |
| 26 'user_manager/user_manager.cc', | |
| 27 'user_manager/user_manager.h', | |
| 28 'user_manager/user_manager_base.cc', | |
| 29 'user_manager/user_manager_base.h', | |
| 30 'user_manager/user_type.h', | |
| 31 ], | |
| 32 }, | |
| 33 'targets': [{ | |
| 34 'target_name': 'user_manager', | |
| 35 'type': '<(component)', | |
| 36 'dependencies': [ | |
| 37 '<(DEPTH)/base/base.gyp:base', | |
| 38 '<(DEPTH)/components/components.gyp:signin_core_account_id', | |
| 39 '<(DEPTH)/skia/skia.gyp:skia', | |
| 40 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | |
| 41 ], | |
| 42 'defines': [ | |
| 43 'USER_MANAGER_IMPLEMENTATION', | |
| 44 ], | |
| 45 'include_dirs': [ | |
| 46 '<(DEPTH)', | |
| 47 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources', | |
| 48 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings', | |
| 49 ], | |
| 50 'sources': [ '<@(user_manager_shared_sources)' ], | |
| 51 'conditions': [ | |
| 52 ['chromeos == 1', { | |
| 53 'dependencies': [ | |
| 54 '<(DEPTH)/components/components.gyp:session_manager_component', | |
| 55 '<(DEPTH)/components/prefs/prefs.gyp:prefs', | |
| 56 '<(DEPTH)/google_apis/google_apis.gyp:google_apis', | |
| 57 '<(DEPTH)/url/url.gyp:url_lib', | |
| 58 ], | |
| 59 'sources': [ '<@(user_manager_chromeos_sources)' ], | |
| 60 }], | |
| 61 ], | |
| 62 }, | |
| 63 { | |
| 64 # GN version: //components/user_manager:test_support | |
| 65 'target_name': 'user_manager_test_support', | |
| 66 'type': 'static_library', | |
| 67 'conditions': [ | |
| 68 ['chromeos == 1', { | |
| 69 'dependencies': [ | |
| 70 '<(DEPTH)/base/base.gyp:base', | |
| 71 '<(DEPTH)/base/base.gyp:test_support_base', | |
| 72 '<(DEPTH)/skia/skia.gyp:skia', | |
| 73 '<(DEPTH)/testing/gmock.gyp:gmock', | |
| 74 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 75 'user_manager', | |
| 76 ], | |
| 77 'sources': [ | |
| 78 'user_manager/fake_user_manager.cc', | |
| 79 'user_manager/fake_user_manager.h', | |
| 80 ], | |
| 81 }], | |
| 82 ] | |
| 83 },], | |
| 84 } | |
| OLD | NEW |