diff options
author | blundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-29 18:56:54 +0000 |
---|---|---|
committer | blundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-29 18:56:54 +0000 |
commit | 5d4c4b6a3d85b2bb31183bd3cc8ba795976e2030 (patch) | |
tree | cc4252a16fe1eb0c83ef12914fa67ec2ef7c9c79 /third_party | |
parent | 2bc7c4eea1361df5d6a528bf7faedbc2ef19d79e (diff) | |
download | chromium_src-5d4c4b6a3d85b2bb31183bd3cc8ba795976e2030.zip chromium_src-5d4c4b6a3d85b2bb31183bd3cc8ba795976e2030.tar.gz chromium_src-5d4c4b6a3d85b2bb31183bd3cc8ba795976e2030.tar.bz2 |
Adjust google_toolbox_for_mac.gyp to meet the needs of iOS.
TBR=darin
Review URL: https://codereview.chromium.org/149433003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp | 46 |
1 files changed, 37 insertions, 9 deletions
diff --git a/third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp b/third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp index ccf8796..8e188eb 100644 --- a/third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp +++ b/third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp @@ -23,15 +23,6 @@ 'src/Foundation', ], }, - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework', - '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', - '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', - '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', - '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', - ], - }, 'sources': [ 'src/AddressBook/GTMABAddressBook.h', 'src/AddressBook/GTMABAddressBook.m', @@ -186,6 +177,14 @@ 'src/Foundation/GTMServiceManagement.c', 'src/Foundation/GTMServiceManagement.h', 'src/GTMDefines.h', + 'src/iPhone/GTMFadeTruncatingLabel.h', + 'src/iPhone/GTMFadeTruncatingLabel.m', + 'src/iPhone/GTMRoundedRectPath.h', + 'src/iPhone/GTMRoundedRectPath.m', + 'src/iPhone/GTMUIImage+Resize.h', + 'src/iPhone/GTMUIImage+Resize.m', + 'src/iPhone/GTMUILocalizer.h', + 'src/iPhone/GTMUILocalizer.m', ], 'conditions': [ ['component=="shared_library"', @@ -201,6 +200,35 @@ }, } ], + ['OS!="ios"', { + 'sources/': [ + ['exclude', '^src/iPhone/'], + ], + 'link_settings': { + 'libraries': [ + '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework', + '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', + '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', + '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', + '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', + ], + }, + }, { # OS=="ios" + 'sources/': [ + # Exclude everything except what's needed for iOS. + ['exclude', '\\.(c|m)$'], + ['include', '^src/DebugUtils/GTMMethodCheck\\.m$'], + ['include', '^src/Foundation/GTMLightweightProxy\\.m$'], + ['include', '^src/Foundation/GTMLogger\\.m$'], + ['include', '^src/Foundation/GTMNSDictionary\\+URLArguments\\.m$'], + ['include', '^src/Foundation/GTMNSObject\\+KeyValueObserving\\.m$'], + ['include', '^src/Foundation/GTMNSString\\+HTML\\.m$'], + ['include', '^src/Foundation/GTMNSString\\+URLArguments\\.m$'], + ['include', '^src/Foundation/GTMRegex\\.m$'], + ['include', '^src/Foundation/GTMStringEncoding\\.m$'], + ['include', '^src/iPhone/'], + ], + }], ], }, ], |