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

Unified Diff: ios/crnet/crnet.gyp

Issue 1979313002: Added crnet_framework target to build CrNet dynamic framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Andrei's comments. Created 4 years, 7 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/crnet/Info.plist ('k') | ios/crnet/crnet_environment.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/crnet/crnet.gyp
diff --git a/ios/crnet/crnet.gyp b/ios/crnet/crnet.gyp
index 6bfd2b3d67a458075a1fbf831c52993e365c71be..eb38734c9a2a1882a2cb6a3c68770f66ded1f80c 100644
--- a/ios/crnet/crnet.gyp
+++ b/ios/crnet/crnet.gyp
@@ -45,6 +45,59 @@
},
},
{
+ 'target_name': 'crnet_framework',
+ 'product_name': 'CrNet',
+ 'type': 'shared_library',
+ 'mac_bundle': 1,
+ 'sources': [
+ 'CrNet.h',
+ 'CrNet.mm',
+ 'crnet_environment.h',
+ 'crnet_environment.mm',
+ 'sdch_owner_pref_storage.cc',
+ 'sdch_owner_pref_storage.h',
+ 'sdch_owner_pref_storage.cc',
+ ],
+ 'mac_framework_headers': [
+ 'CrNet.h',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ 'Foundation.framework',
+ ],
+ },
+ 'xcode_settings': {
+ 'DEBUGGING_SYMBOLS': 'YES',
+ 'INFOPLIST_FILE': 'Info.plist',
+ 'LD_DYLIB_INSTALL_NAME': '@loader_path/Frameworks/CrNet.framework/CrNet',
+ },
+ 'dependencies': [
+ '../../base/base.gyp:base',
+ '../../components/prefs/prefs.gyp:prefs',
+ '../../ios/net/ios_net.gyp:ios_net',
+ '../../ios/web/ios_web.gyp:user_agent',
+ '../../net/net.gyp:net',
+ 'crnet_resources',
+ ],
+ 'configurations': {
+ 'Debug_Base': {
+ 'xcode_settings': {
+ 'DEPLOYMENT_POSTPROCESSING': 'NO',
+ 'DEBUG_INFORMATION_FORMAT': 'dwarf',
+ 'STRIP_INSTALLED_PRODUCT': 'NO',
+ }
+ },
+ 'Release_Base': {
+ 'xcode_settings': {
+ 'DEPLOYMENT_POSTPROCESSING': 'YES',
+ 'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
+ 'STRIP_INSTALLED_PRODUCT': 'YES',
+ 'STRIP_STYLE': 'non-global',
+ }
+ },
+ },
+ },
+ {
# This bundle contains "Accept-Languages" header values for known locales.
# TODO(huey): These strings should be auto-generated from chrome's .xtb
# files, not hardcoded.
« no previous file with comments | « ios/crnet/Info.plist ('k') | ios/crnet/crnet_environment.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698