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

Unified Diff: ui/gfx/gfx.gyp

Issue 983413004: Eliminate ui/ios (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « ios/chrome/browser/ui/uikit_ui_util.mm ('k') | ui/gfx/gfx_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gfx.gyp
diff --git a/ui/gfx/gfx.gyp b/ui/gfx/gfx.gyp
index a7de96e331196e6b935baa633a9385fd12a58a24..84e53d788e2c113b4c4d2d7bd0b2423d5eaed151 100644
--- a/ui/gfx/gfx.gyp
+++ b/ui/gfx/gfx.gyp
@@ -212,6 +212,10 @@
'image/image_util_ios.mm',
'interpolated_transform.cc',
'interpolated_transform.h',
+ 'ios/NSString+CrStringDrawing.h',
+ 'ios/NSString+CrStringDrawing.mm',
+ 'ios/uikit_util.h',
+ 'ios/uikit_util.mm',
'linux_font_delegate.cc',
'linux_font_delegate.h',
'mac/coordinate_conversion.h',
@@ -313,12 +317,13 @@
],
'conditions': [
['OS=="ios"', {
- 'dependencies': [
- '<(DEPTH)/ui/ios/ui_ios.gyp:ui_ios',
- ],
- # iOS only uses a subset of UI.
- 'sources/': [
- ['exclude', '^codec/jpeg_codec\\.cc$'],
+ # 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']},
+ },
+ 'sources!': [
+ 'codec/jpeg_codec.cc',
],
}, {
'dependencies': [
« no previous file with comments | « ios/chrome/browser/ui/uikit_ui_util.mm ('k') | ui/gfx/gfx_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698