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

Unified Diff: ios/crnet/crnet_consumer/crnet_consumer.gyp

Issue 1125293004: ios: add CrNet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix last nits Created 5 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
Index: ios/crnet/crnet_consumer/crnet_consumer.gyp
diff --git a/ios/crnet/crnet_consumer/crnet_consumer.gyp b/ios/crnet/crnet_consumer/crnet_consumer.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..e94d65ae4f2072ada6f2a213fa3e9cdd5f2aca00
--- /dev/null
+++ b/ios/crnet/crnet_consumer/crnet_consumer.gyp
@@ -0,0 +1,62 @@
+# 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': [],
+ 'conditions': [
+ # Our shared library hack only works with ninja; xcode cannot generate
+ # iOS build targets for dynamic libraries.
+ ['"<(GENERATOR)"=="ninja"', {
+ 'targets': [
+ {
+ 'target_name': 'crnet_consumer',
+ 'type': 'executable',
+ 'mac_bundle': 1,
+ 'dependencies': [
+ '../../../ios/crnet/crnet_pack.gyp:crnet_pack',
+ ],
+ 'sources': [
+ 'crnet_consumer_app_delegate.h',
+ 'crnet_consumer_app_delegate.mm',
+ 'crnet_consumer_view_controller.h',
+ 'crnet_consumer_view_controller.m',
+ 'main.m',
+ ],
+ 'mac_bundle_resources': [
+ 'crnet-consumer-Info.plist',
+ '../../../third_party/icu/source/data/in/icudtl.dat',
+ ],
+ 'include_dirs': [
+ '../../..',
+ '..',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '<(PRODUCT_DIR)/libcrnet_standalone.a',
+ '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
+ '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
+ '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
+ '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
+ '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
+ '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
+ '$(SDKROOT)/System/Library/Frameworks/Security.framework',
+ '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
+ '$(SDKROOT)/usr/lib/libresolv.dylib',
+ '$(SDKROOT)/usr/lib/libsqlite3.dylib',
+ '$(SDKROOT)/usr/lib/libxml2.dylib',
+ ],
+ },
+ 'xcode_settings': {
+ 'CLANG_ENABLE_OBJC_ARC': 'YES',
+ 'DEAD_CODE_STRIPPING': 'YES',
+ 'INFOPLIST_FILE': 'crnet-consumer-Info.plist',
+ },
+ },
+ ],
+ }],
+ ],
+}
« no previous file with comments | « ios/crnet/crnet_consumer/crnet-consumer-Info.plist ('k') | ios/crnet/crnet_consumer/crnet_consumer_app_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698