Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / ios / chrome / ios_chrome.gyp
blobf2e8122b8809e61c39d4aabb9aeffd174b2806a9
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
3 # found in the LICENSE file.
6   'variables': {
7     'chromium_code': 1,
8    },
9   'targets': [
10     {
11       'target_name': 'ios_chrome_browser',
12       'type': 'static_library',
13       'include_dirs': [
14         '../..',
15       ],
16       'dependencies': [
17         '../../base/base.gyp:base',
18         '../../components/components.gyp:autofill_core_browser',
19         '../../components/components.gyp:autofill_ios_browser',
20         '../../components/components.gyp:dom_distiller_core',
21         '../../components/components.gyp:dom_distiller_ios',
22         '../../components/components.gyp:infobars_core',
23         '../../components/components.gyp:keyed_service_core',
24         '../../components/components.gyp:keyed_service_ios',
25         '../../components/components.gyp:leveldb_proto',
26         '../../components/components.gyp:suggestions',
27         '../../components/components.gyp:translate_core_browser',
28         '../../components/components.gyp:translate_ios_browser',
29         '../../components/components.gyp:web_resource',
30         '../../components/components.gyp:webp_transcode',
31         '../../components/components_strings.gyp:components_strings',
32         '../../net/net.gyp:net',
33         '../../skia/skia.gyp:skia',
34         '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
35         '../../ui/base/ui_base.gyp:ui_base',
36         '../../ui/gfx/gfx.gyp:gfx',
37         '../../url/url.gyp:url_lib',
38         '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser',
39         '../web/ios_web.gyp:ios_web',
40         'injected_js',
41         'ios_chrome_resources.gyp:ios_theme_resources_gen',
42       ],
43       'link_settings': {
44         'libraries': [
45           '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
46           '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
47           '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
48           '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
49           '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
50         ],
51       },
52       'sources': [
53         'browser/application_context.cc',
54         'browser/application_context.h',
55         'browser/application_context_impl.cc',
56         'browser/application_context_impl.h',
57         'browser/arch_util.cc',
58         'browser/arch_util.h',
59         'browser/autofill/autofill_agent_utils.h',
60         'browser/autofill/autofill_agent_utils.mm',
61         'browser/autofill/form_input_accessory_view.h',
62         'browser/autofill/form_input_accessory_view.mm',
63         'browser/autofill/form_input_accessory_view_controller.h',
64         'browser/autofill/form_input_accessory_view_controller.mm',
65         'browser/autofill/form_input_accessory_view_delegate.h',
66         'browser/autofill/form_suggestion_controller.h',
67         'browser/autofill/form_suggestion_controller.mm',
68         'browser/autofill/form_suggestion_label.h',
69         'browser/autofill/form_suggestion_label.mm',
70         'browser/autofill/form_suggestion_provider.h',
71         'browser/autofill/form_suggestion_view.h',
72         'browser/autofill/form_suggestion_view.mm',
73         'browser/autofill/form_suggestion_view_client.h',
74         'browser/browser_state/browser_state_otr_helper.cc',
75         'browser/browser_state/browser_state_otr_helper.h',
76         'browser/chrome_switches.cc',
77         'browser/chrome_switches.h',
78         'browser/chrome_url_constants.cc',
79         'browser/chrome_url_constants.h',
80         'browser/dom_distiller/distiller_viewer.cc',
81         'browser/dom_distiller/distiller_viewer.h',
82         'browser/dom_distiller/dom_distiller_service_factory.cc',
83         'browser/dom_distiller/dom_distiller_service_factory.h',
84         'browser/experimental_flags.h',
85         'browser/experimental_flags.mm',
86         'browser/find_in_page/find_in_page_controller.h',
87         'browser/find_in_page/find_in_page_controller.mm',
88         'browser/find_in_page/find_in_page_model.h',
89         'browser/find_in_page/find_in_page_model.mm',
90         'browser/find_in_page/js_findinpage_manager.h',
91         'browser/find_in_page/js_findinpage_manager.mm',
92         'browser/infobars/confirm_infobar_controller.h',
93         'browser/infobars/confirm_infobar_controller.mm',
94         'browser/infobars/infobar.h',
95         'browser/infobars/infobar.mm',
96         'browser/infobars/infobar_container_ios.h',
97         'browser/infobars/infobar_container_ios.mm',
98         'browser/infobars/infobar_container_view.h',
99         'browser/infobars/infobar_container_view.mm',
100         'browser/infobars/infobar_controller.h',
101         'browser/infobars/infobar_controller.mm',
102         'browser/infobars/infobar_manager_impl.cc',
103         'browser/infobars/infobar_manager_impl.h',
104         'browser/infobars/infobar_utils.h',
105         'browser/infobars/infobar_utils.mm',
106         'browser/net/image_fetcher.h',
107         'browser/net/image_fetcher.mm',
108         'browser/passwords/password_generation_utils.h',
109         'browser/passwords/password_generation_utils.mm',
110         'browser/pref_names.cc',
111         'browser/pref_names.h',
112         'browser/snapshots/snapshot_cache.h',
113         'browser/snapshots/snapshot_cache.mm',
114         'browser/snapshots/snapshot_manager.h',
115         'browser/snapshots/snapshot_manager.mm',
116         'browser/snapshots/snapshot_overlay.h',
117         'browser/snapshots/snapshot_overlay.mm',
118         'browser/snapshots/snapshots_util.h',
119         'browser/snapshots/snapshots_util.mm',
120         'browser/suggestions/image_fetcher_impl.h',
121         'browser/suggestions/image_fetcher_impl.mm',
122         'browser/suggestions/suggestions_service_factory.h',
123         'browser/suggestions/suggestions_service_factory.mm',
124         'browser/translate/after_translate_infobar_controller.h',
125         'browser/translate/after_translate_infobar_controller.mm',
126         'browser/translate/before_translate_infobar_controller.h',
127         'browser/translate/before_translate_infobar_controller.mm',
128         'browser/translate/chrome_ios_translate_client.h',
129         'browser/translate/chrome_ios_translate_client.mm',
130         'browser/translate/never_translate_infobar_controller.h',
131         'browser/translate/never_translate_infobar_controller.mm',
132         'browser/translate/translate_accept_languages_factory.cc',
133         'browser/translate/translate_accept_languages_factory.h',
134         'browser/translate/translate_infobar_tags.h',
135         'browser/translate/translate_message_infobar_controller.h',
136         'browser/translate/translate_message_infobar_controller.mm',
137         'browser/translate/translate_service_ios.cc',
138         'browser/translate/translate_service_ios.h',
139         'browser/ui/animation_util.h',
140         'browser/ui/animation_util.mm',
141         'browser/ui/commands/UIKit+ChromeExecuteCommand.h',
142         'browser/ui/commands/UIKit+ChromeExecuteCommand.mm',
143         'browser/ui/commands/clear_browsing_data_command.h',
144         'browser/ui/commands/clear_browsing_data_command.mm',
145         'browser/ui/commands/generic_chrome_command.h',
146         'browser/ui/commands/generic_chrome_command.mm',
147         'browser/ui/commands/ios_command_ids.h',
148         'browser/ui/commands/open_url_command.h',
149         'browser/ui/commands/open_url_command.mm',
150         'browser/ui/commands/set_up_for_testing_command.h',
151         'browser/ui/commands/set_up_for_testing_command.mm',
152         'browser/ui/commands/show_accounts_settings_command.h',
153         'browser/ui/commands/show_accounts_settings_command.mm',
154         'browser/ui/commands/show_mail_composer_command.h',
155         'browser/ui/commands/show_mail_composer_command.mm',
156         'browser/ui/image_util.h',
157         'browser/ui/image_util.mm',
158         'browser/ui/reversed_animation.h',
159         'browser/ui/reversed_animation.mm',
160         'browser/ui/ui_util.h',
161         'browser/ui/ui_util.mm',
162         'browser/ui/uikit_ui_util.h',
163         'browser/ui/uikit_ui_util.mm',
164         'browser/ui/url_loader.h',
165         'browser/web/dom_altering_lock.h',
166         'browser/web/dom_altering_lock.mm',
167         'browser/web_resource/ios_web_resource_service.cc',
168         'browser/web_resource/ios_web_resource_service.h',
169       ],
170     },
171     {
172       'target_name': 'injected_js',
173       'type': 'none',
174       'sources': [
175         'browser/find_in_page/resources/find_in_page.js',
176       ],
177       'includes': [
178         '../../ios/web/js_compile.gypi',
179       ],
180       'link_settings': {
181         'mac_bundle_resources': [
182           '<(SHARED_INTERMEDIATE_DIR)/find_in_page.js',
183         ],
184       },
185     },
186   ],