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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'session_manager_component', | 8 'target_name': 'session_manager_component', |
9 'type': '<(component)', | 9 'type': '<(component)', |
10 'dependencies': [ | 10 'dependencies': [ |
11 '../base/base.gyp:base', | 11 '../base/base.gyp:base', |
12 ], | 12 ], |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 '..', | 14 '..', |
15 ], | 15 ], |
16 'defines': [ | 16 'defines': [ |
17 'SESSION_IMPLEMENTATION', | 17 'SESSION_IMPLEMENTATION', |
18 ], | 18 ], |
19 'sources': [ | 19 'sources': [ |
20 'session_manager/core/session_manager.h', | 20 'session_manager/core/session_manager.h', |
21 'session_manager/core/session_manager.cc', | 21 'session_manager/core/session_manager.cc', |
22 'session_manager/session_manager_export.h', | 22 'session_manager/session_manager_export.h', |
23 ], | 23 ], |
| 24 'conditions': [ |
| 25 ['chromeos == 1', { |
| 26 'dependencies': [ |
| 27 '<(DEPTH)/chromeos/chromeos.gyp:chromeos', |
| 28 ], |
| 29 }], |
| 30 ], |
24 }, | 31 }, |
25 ], | 32 ], |
26 } | 33 } |
OLD | NEW |