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

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: don't cache scale Created 6 years, 3 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
« no previous file with comments | « ui/ios/NSString+CrStringDrawing_unittest.mm ('k') | ui/ios/ui_ios_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ios/ui_ios.gyp
diff --git a/device/core/core.gyp b/ui/ios/ui_ios.gyp
similarity index 50%
copy from device/core/core.gyp
copy to ui/ios/ui_ios.gyp
index 09bd315330e738ddf64f7e8515facf0d9c42eb6a..afec667c6822e6d6b7e7a7ab5176b7a290b429a4 100644
--- a/device/core/core.gyp
+++ b/ui/ios/ui_ios.gyp
@@ -8,14 +8,19 @@
},
'targets': [
{
- 'target_name': 'device_core',
+ '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': [
- 'device_client.cc',
- 'device_client.h',
+ 'NSString+CrStringDrawing.h',
+ 'NSString+CrStringDrawing.mm',
],
},
],
« no previous file with comments | « ui/ios/NSString+CrStringDrawing_unittest.mm ('k') | ui/ios/ui_ios_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698