Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1014)

Unified Diff: ui/ios/ui_ios.gyp

Issue 497503004: Add NSString category for providing iOS6-style string drawing APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: split into two methods Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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',
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698