Index: ui/ios/ui_ios.gyp |
diff --git a/ui/ios/ui_ios.gyp b/ui/ios/ui_ios.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..afec667c6822e6d6b7e7a7ab5176b7a290b429a4 |
--- /dev/null |
+++ b/ui/ios/ui_ios.gyp |
@@ -0,0 +1,27 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'variables': { |
+ 'chromium_code': 1, |
+ }, |
+ 'targets': [ |
+ { |
+ 'target_name': 'ui_ios', |
+ 'type': 'static_library', |
+ # Linkable dependents need to set the linker flag '-ObjC' in order to use |
+ # the categories in this target (e.g. NSString+CrStringDrawing.h). |
+ 'link_settings': { |
+ 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, |
+ }, |
+ 'include_dirs': [ |
+ '../..', |
+ ], |
+ 'sources': [ |
+ 'NSString+CrStringDrawing.h', |
+ 'NSString+CrStringDrawing.mm', |
+ ], |
+ }, |
+ ], |
+} |