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

Unified Diff: ui/ios/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: TIL export_dependent_settings 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/ios.gyp
diff --git a/ui/ios/ios.gyp b/ui/ios/ios.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..c61165bf06fd80b1a4ed714c96a19a1555297db4
--- /dev/null
+++ b/ui/ios/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': 'ios',
+ 'type': 'static_library',
+ 'direct_dependent_settings': {
+ # Dependents need to set the linker flag '-ObjC' in order to use
+ # categories in this target (e.g. NSString+CrStringDrawing.h).
+ 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']},
+ },
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ 'NSString+CrStringDrawing.h',
+ 'NSString+CrStringDrawing.mm',
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698