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 3 # found in the LICENSE file. 4 5 { 6 'variables': { 7 'chromium_code': 1, 8 }, 9 'targets': [ 10 { 11 'target_name': 'ui_ios', 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 }, 18 'include_dirs': [ 19 '../..', 20 ], 21 'sources': [ 22 'NSString+CrStringDrawing.h', 23 'NSString+CrStringDrawing.mm', 24 'uikit_util.h', 25 'uikit_util.mm', 26 ], 27 }, 28 ], 29 } 30