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 # GN version: //components/handoff | 8 # GN version: //components/handoff |
9 'target_name': 'handoff', | 9 'target_name': 'handoff', |
10 'type': 'static_library', | 10 'type': 'static_library', |
11 'include_dirs': [ | 11 'include_dirs': [ |
12 '..', | 12 '..', |
13 ], | 13 ], |
14 'conditions': [ | 14 'conditions': [ |
15 ['OS=="mac" or OS=="ios"', { | 15 ['OS=="mac" or OS=="ios"', { |
16 'sources': [ | 16 'sources': [ |
17 'handoff/handoff_utility.h', | 17 'handoff/handoff_utility.h', |
18 'handoff/handoff_utility.mm', | 18 'handoff/handoff_utility.mm', |
19 ], | 19 ], |
20 }], | 20 }], |
| 21 ['OS=="mac"', { |
| 22 'sources': [ |
| 23 'handoff/handoff_manager.h', |
| 24 'handoff/handoff_manager.mm', |
| 25 ], |
| 26 'dependencies': [ |
| 27 '../base/base.gyp:base', |
| 28 ], |
| 29 }], |
21 ], | 30 ], |
22 }, | 31 }, |
23 ], | 32 ], |
24 } | 33 } |
OLD | NEW |