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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « ios/crnet/Info.plist ('k') | ios/crnet/crnet_environment.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 27 matching lines...) Expand all
38 # TODO(stuartmorgan): Revisit the way this is set, and the above is 38 # TODO(stuartmorgan): Revisit the way this is set, and the above is
39 # built, once the web/ layer is complete. Note that this setting doesn't 39 # built, once the web/ layer is complete. Note that this setting doesn't
40 # propagate to any included targets. 40 # propagate to any included targets.
41 'CRNET=1', 41 'CRNET=1',
42 ], 42 ],
43 'xcode_settings': { 43 'xcode_settings': {
44 'DEAD_CODE_STRIPPING': 'YES', 44 'DEAD_CODE_STRIPPING': 'YES',
45 }, 45 },
46 }, 46 },
47 { 47 {
48 'target_name': 'crnet_framework',
49 'product_name': 'CrNet',
50 'type': 'shared_library',
51 'mac_bundle': 1,
52 'sources': [
53 'CrNet.h',
54 'CrNet.mm',
55 'crnet_environment.h',
56 'crnet_environment.mm',
57 'sdch_owner_pref_storage.cc',
58 'sdch_owner_pref_storage.h',
59 'sdch_owner_pref_storage.cc',
60 ],
61 'mac_framework_headers': [
62 'CrNet.h',
63 ],
64 'link_settings': {
65 'libraries': [
66 'Foundation.framework',
67 ],
68 },
69 'xcode_settings': {
70 'DEBUGGING_SYMBOLS': 'YES',
71 'INFOPLIST_FILE': 'Info.plist',
72 'LD_DYLIB_INSTALL_NAME': '@loader_path/Frameworks/CrNet.framework/CrNet' ,
73 },
74 'dependencies': [
75 '../../base/base.gyp:base',
76 '../../components/prefs/prefs.gyp:prefs',
77 '../../ios/net/ios_net.gyp:ios_net',
78 '../../ios/web/ios_web.gyp:user_agent',
79 '../../net/net.gyp:net',
80 'crnet_resources',
81 ],
82 'configurations': {
83 'Debug_Base': {
84 'xcode_settings': {
85 'DEPLOYMENT_POSTPROCESSING': 'NO',
86 'DEBUG_INFORMATION_FORMAT': 'dwarf',
87 'STRIP_INSTALLED_PRODUCT': 'NO',
88 }
89 },
90 'Release_Base': {
91 'xcode_settings': {
92 'DEPLOYMENT_POSTPROCESSING': 'YES',
93 'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
94 'STRIP_INSTALLED_PRODUCT': 'YES',
95 'STRIP_STYLE': 'non-global',
96 }
97 },
98 },
99 },
100 {
48 # This bundle contains "Accept-Languages" header values for known locales. 101 # This bundle contains "Accept-Languages" header values for known locales.
49 # TODO(huey): These strings should be auto-generated from chrome's .xtb 102 # TODO(huey): These strings should be auto-generated from chrome's .xtb
50 # files, not hardcoded. 103 # files, not hardcoded.
51 'target_name': 'crnet_resources', 104 'target_name': 'crnet_resources',
52 'type': 'loadable_module', 105 'type': 'loadable_module',
53 'mac_bundle': 1, 106 'mac_bundle': 1,
54 'mac_bundle_resources': [ 107 'mac_bundle_resources': [
55 'Resources/Localization/am.lproj/Localizable.strings', 108 'Resources/Localization/am.lproj/Localizable.strings',
56 'Resources/Localization/ar.lproj/Localizable.strings', 109 'Resources/Localization/ar.lproj/Localizable.strings',
57 'Resources/Localization/bg.lproj/Localizable.strings', 110 'Resources/Localization/bg.lproj/Localizable.strings',
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 'all_dependent_settings': { 163 'all_dependent_settings': {
111 'link_settings': { 164 'link_settings': {
112 'mac_bundle_resources': [ 165 'mac_bundle_resources': [
113 '>(PRODUCT_DIR)/crnet_resources.bundle', 166 '>(PRODUCT_DIR)/crnet_resources.bundle',
114 ], 167 ],
115 }, 168 },
116 }, 169 },
117 }, 170 },
118 ], 171 ],
119 } 172 }
OLDNEW
« 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