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': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'device_core', | 11 'target_name': 'ui_ios', |
12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 # Linkable dependents need to set the linker flag '-ObjC' in order to use |
| 14 # the categories in this target (e.g. NSString+CrStringDrawing.h). |
| 15 'link_settings': { |
| 16 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, |
| 17 }, |
13 'include_dirs': [ | 18 'include_dirs': [ |
14 '../..', | 19 '../..', |
15 ], | 20 ], |
16 'sources': [ | 21 'sources': [ |
17 'device_client.cc', | 22 'NSString+CrStringDrawing.h', |
18 'device_client.h', | 23 'NSString+CrStringDrawing.mm', |
19 ], | 24 ], |
20 }, | 25 }, |
21 ], | 26 ], |
22 } | 27 } |
OLD | NEW |