| 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': 'ui_ios', | 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 | 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). | 14 # the categories in this target (e.g. NSString+CrStringDrawing.h). |
| 15 'link_settings': { | 15 'link_settings': { |
| 16 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, | 16 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, |
| 17 }, | 17 }, |
| 18 'include_dirs': [ | 18 'include_dirs': [ |
| 19 '../..', | 19 '../..', |
| 20 ], | 20 ], |
| 21 'sources': [ | 21 'sources': [ |
| 22 'NSString+CrStringDrawing.h', | 22 'NSString+CrStringDrawing.h', |
| 23 'NSString+CrStringDrawing.mm', | 23 'NSString+CrStringDrawing.mm', |
| 24 'uikit_util.h', |
| 25 'uikit_util.mm', |
| 24 ], | 26 ], |
| 25 }, | 27 }, |
| 26 ], | 28 ], |
| 27 } | 29 } |
| OLD | NEW |