Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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': { | |
| 7 # Cross-platform user_manager sources. | |
| 8 'user_manager_shared_sources': [ | |
| 9 'user_manager/user_info.h', | |
| 10 ], | |
| 11 # Chrome OS user_manager sources. | |
| 12 'user_manager_chromeos_sources': [ | |
| 13 'user_manager/user_type.h', | |
| 14 'user_manager/user_manager_export.h', | |
|
blundell
2014/07/09 12:23:49
this should be under shared sources, no?
Nikita (slow)
2014/07/09 12:40:16
Done.
| |
| 15 ], | |
| 16 }, | |
| 6 'targets': [{ | 17 'targets': [{ |
| 7 'target_name': 'user_manager', | 18 'target_name': 'user_manager', |
| 8 'type': '<(component)', | 19 'type': '<(component)', |
| 9 'dependencies': [ | 20 'dependencies': [ |
| 10 '../base/base.gyp:base', | 21 '../base/base.gyp:base', |
| 11 ], | 22 ], |
| 12 'defines': [ | 23 'defines': [ |
| 13 'USER_MANAGER_IMPLEMENTATION', | 24 'USER_MANAGER_IMPLEMENTATION', |
| 14 ], | 25 ], |
| 15 'include_dirs': [ | 26 'include_dirs': [ |
| 16 '..', | 27 '..', |
| 17 ], | 28 ], |
| 18 'sources': [ | 29 'conditions': [ |
| 19 'user_manager/user_type.h', | 30 ['use_ash==1', { |
|
blundell
2014/07/09 12:23:49
is this condition necessary when the gypi is only
Nikita (slow)
2014/07/09 12:40:15
I was not sure where to leave this use_ash conditi
| |
| 20 'user_manager/user_manager_export.h', | 31 'sources': [ '<@(user_manager_shared_sources)' ], |
| 32 'conditions': [ | |
| 33 ['chromeos == 1', { | |
| 34 'sources': [ '<@(user_manager_chromeos_sources)' ], | |
| 35 }], | |
| 36 ], | |
| 37 }], | |
| 21 ], | 38 ], |
| 22 }], | 39 }], |
| 23 } | 40 } |
| OLD | NEW |