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

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: Fix build rules, update API. 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 # TODO(ellyjones): http://crbug.com/485144
kapishnikov 2016/05/17 20:58:37 The bug is assigned to me.
mef 2016/05/20 19:52:45 This bug seems to be outdated. Removed.
54 '../../net/url_request/sdch_dictionary_fetcher.cc',
55 '../../net/url_request/sdch_dictionary_fetcher.h',
56 'CrNet.h',
57 'CrNet.mm',
58 'crnet_environment.h',
59 'crnet_environment.mm',
60 'sdch_owner_pref_storage.cc',
61 'sdch_owner_pref_storage.h',
62 'sdch_owner_pref_storage.cc',
63 ],
64 'mac_framework_headers': [
65 'CrNet.h',
66 ],
67 'link_settings': {
68 'libraries': [
69 'Foundation.framework',
70 ],
71 },
72 'xcode_settings': {
73 'DEBUGGING_SYMBOLS': 'YES',
74 'INFOPLIST_FILE': 'Info.plist',
75 'LD_DYLIB_INSTALL_NAME': '@loader_path/Frameworks/CrNet.framework/CrNet' ,
76 },
77 'dependencies': [
78 '../../base/base.gyp:base',
79 '../../components/prefs/prefs.gyp:prefs',
80 '../../ios/net/ios_net.gyp:ios_net',
81 '../../ios/web/ios_web.gyp:user_agent',
82 '../../net/net.gyp:net',
83 'crnet_resources',
kapishnikov 2016/05/17 20:58:37 Do 'crnet_resources' resources appear under "CrNet
mef 2016/05/20 19:52:45 Yes, they do.
84 ],
85 'configurations': {
86 'Debug_Base': {
87 'xcode_settings': {
88 'DEPLOYMENT_POSTPROCESSING': 'NO',
89 'DEBUG_INFORMATION_FORMAT': 'dwarf',
90 'STRIP_INSTALLED_PRODUCT': 'NO',
91 }
92 },
93 'Release_Base': {
94 'xcode_settings': {
95 'DEPLOYMENT_POSTPROCESSING': 'YES',
96 'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
97 'STRIP_INSTALLED_PRODUCT': 'YES',
98 'STRIP_STYLE': 'non-global',
99 }
100 },
101 },
102 },
103 {
48 # This bundle contains "Accept-Languages" header values for known locales. 104 # This bundle contains "Accept-Languages" header values for known locales.
49 # TODO(huey): These strings should be auto-generated from chrome's .xtb 105 # TODO(huey): These strings should be auto-generated from chrome's .xtb
50 # files, not hardcoded. 106 # files, not hardcoded.
51 'target_name': 'crnet_resources', 107 'target_name': 'crnet_resources',
52 'type': 'loadable_module', 108 'type': 'loadable_module',
53 'mac_bundle': 1, 109 'mac_bundle': 1,
54 'mac_bundle_resources': [ 110 'mac_bundle_resources': [
55 'Resources/Localization/am.lproj/Localizable.strings', 111 'Resources/Localization/am.lproj/Localizable.strings',
56 'Resources/Localization/ar.lproj/Localizable.strings', 112 'Resources/Localization/ar.lproj/Localizable.strings',
57 'Resources/Localization/bg.lproj/Localizable.strings', 113 'Resources/Localization/bg.lproj/Localizable.strings',
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 'all_dependent_settings': { 166 'all_dependent_settings': {
111 'link_settings': { 167 'link_settings': {
112 'mac_bundle_resources': [ 168 'mac_bundle_resources': [
113 '>(PRODUCT_DIR)/crnet_resources.bundle', 169 '>(PRODUCT_DIR)/crnet_resources.bundle',
114 ], 170 ],
115 }, 171 },
116 }, 172 },
117 }, 173 },
118 ], 174 ],
119 } 175 }
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