OLD | NEW |
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 'chrome_utility_sources': [ | 7 'chrome_utility_sources': [ |
8 'utility/chrome_content_utility_client.cc', | 8 'utility/chrome_content_utility_client.cc', |
9 'utility/chrome_content_utility_client.h', | 9 'utility/chrome_content_utility_client.h', |
10 'utility/chrome_content_utility_ipc_whitelist.cc', | 10 'utility/chrome_content_utility_ipc_whitelist.cc', |
11 'utility/chrome_content_utility_ipc_whitelist.h', | 11 'utility/chrome_content_utility_ipc_whitelist.h', |
12 'utility/cloud_print/bitmap_image.cc', | 12 'utility/cloud_print/bitmap_image.cc', |
13 'utility/cloud_print/bitmap_image.h', | 13 'utility/cloud_print/bitmap_image.h', |
14 'utility/cloud_print/pwg_encoder.cc', | 14 'utility/cloud_print/pwg_encoder.cc', |
15 'utility/cloud_print/pwg_encoder.h', | 15 'utility/cloud_print/pwg_encoder.h', |
| 16 'utility/local_discovery/service_discovery_message_handler.cc', |
| 17 'utility/local_discovery/service_discovery_message_handler.h', |
| 18 'utility/printing_handler.cc', |
| 19 'utility/printing_handler.h', |
| 20 'utility/utility_message_handler.h', |
| 21 'utility/web_resource_unpacker.cc', |
| 22 'utility/web_resource_unpacker.h', |
| 23 ], |
| 24 'chrome_utility_extensions_sources': [ |
| 25 'utility/extensions/extensions_handler.cc', |
| 26 'utility/extensions/extensions_handler.h', |
16 'utility/extensions/unpacker.cc', | 27 'utility/extensions/unpacker.cc', |
17 'utility/extensions/unpacker.h', | 28 'utility/extensions/unpacker.h', |
18 'utility/image_writer/disk_unmounter_mac.cc', | 29 'utility/image_writer/disk_unmounter_mac.cc', |
19 'utility/image_writer/disk_unmounter_mac.h', | 30 'utility/image_writer/disk_unmounter_mac.h', |
20 'utility/image_writer/error_messages.cc', | 31 'utility/image_writer/error_messages.cc', |
21 'utility/image_writer/error_messages.h', | 32 'utility/image_writer/error_messages.h', |
22 'utility/image_writer/image_writer.cc', | 33 'utility/image_writer/image_writer.cc', |
23 'utility/image_writer/image_writer.h', | 34 'utility/image_writer/image_writer.h', |
24 'utility/image_writer/image_writer_handler.cc', | 35 'utility/image_writer/image_writer_handler.cc', |
25 'utility/image_writer/image_writer_handler.h', | 36 'utility/image_writer/image_writer_handler.h', |
26 'utility/image_writer/image_writer_mac.cc', | 37 'utility/image_writer/image_writer_mac.cc', |
27 'utility/image_writer/image_writer_win.cc', | 38 'utility/image_writer/image_writer_win.cc', |
28 'utility/local_discovery/service_discovery_message_handler.cc', | |
29 'utility/local_discovery/service_discovery_message_handler.h', | |
30 'utility/printing_handler.cc', | |
31 'utility/printing_handler.h', | |
32 'utility/profile_import_handler.cc', | |
33 'utility/profile_import_handler.h', | |
34 'utility/utility_message_handler.h', | |
35 'utility/web_resource_unpacker.cc', | |
36 'utility/web_resource_unpacker.h', | |
37 ], | 39 ], |
38 'chrome_utility_importer_sources': [ | 40 'chrome_utility_importer_sources': [ |
39 'utility/importer/bookmark_html_reader.cc', | 41 'utility/importer/bookmark_html_reader.cc', |
40 'utility/importer/bookmark_html_reader.h', | 42 'utility/importer/bookmark_html_reader.h', |
41 'utility/importer/bookmarks_file_importer.cc', | 43 'utility/importer/bookmarks_file_importer.cc', |
42 'utility/importer/bookmarks_file_importer.h', | 44 'utility/importer/bookmarks_file_importer.h', |
43 'utility/importer/external_process_importer_bridge.cc', | 45 'utility/importer/external_process_importer_bridge.cc', |
44 'utility/importer/external_process_importer_bridge.h', | 46 'utility/importer/external_process_importer_bridge.h', |
45 'utility/importer/favicon_reencode.cc', | 47 'utility/importer/favicon_reencode.cc', |
46 'utility/importer/favicon_reencode.h', | 48 'utility/importer/favicon_reencode.h', |
47 'utility/importer/firefox_importer.cc', | 49 'utility/importer/firefox_importer.cc', |
48 'utility/importer/firefox_importer.h', | 50 'utility/importer/firefox_importer.h', |
49 'utility/importer/ie_importer_win.cc', | 51 'utility/importer/ie_importer_win.cc', |
50 'utility/importer/ie_importer_win.h', | 52 'utility/importer/ie_importer_win.h', |
51 'utility/importer/importer.cc', | 53 'utility/importer/importer.cc', |
52 'utility/importer/importer.h', | 54 'utility/importer/importer.h', |
53 'utility/importer/importer_creator.cc', | 55 'utility/importer/importer_creator.cc', |
54 'utility/importer/importer_creator.h', | 56 'utility/importer/importer_creator.h', |
55 'utility/importer/nss_decryptor.cc', | 57 'utility/importer/nss_decryptor.cc', |
56 'utility/importer/nss_decryptor.h', | 58 'utility/importer/nss_decryptor.h', |
57 'utility/importer/nss_decryptor_mac.h', | 59 'utility/importer/nss_decryptor_mac.h', |
58 'utility/importer/nss_decryptor_mac.mm', | 60 'utility/importer/nss_decryptor_mac.mm', |
59 'utility/importer/nss_decryptor_win.cc', | 61 'utility/importer/nss_decryptor_win.cc', |
60 'utility/importer/nss_decryptor_win.h', | 62 'utility/importer/nss_decryptor_win.h', |
61 'utility/importer/safari_importer.h', | 63 'utility/importer/safari_importer.h', |
62 'utility/importer/safari_importer.mm', | 64 'utility/importer/safari_importer.mm', |
| 65 'utility/profile_import_handler.cc', |
| 66 'utility/profile_import_handler.h', |
63 ], | 67 ], |
64 'chrome_utility_shared_media_sources': [ | 68 'chrome_utility_shared_media_sources': [ |
65 'utility/media_galleries/image_metadata_extractor.cc', | 69 'utility/media_galleries/image_metadata_extractor.cc', |
66 'utility/media_galleries/image_metadata_extractor.h', | 70 'utility/media_galleries/image_metadata_extractor.h', |
67 'utility/media_galleries/ipc_data_source.cc', | 71 'utility/media_galleries/ipc_data_source.cc', |
68 'utility/media_galleries/ipc_data_source.h', | 72 'utility/media_galleries/ipc_data_source.h', |
69 'utility/media_galleries/itunes_pref_parser_win.cc', | 73 'utility/media_galleries/itunes_pref_parser_win.cc', |
70 'utility/media_galleries/itunes_pref_parser_win.h', | 74 'utility/media_galleries/itunes_pref_parser_win.h', |
71 'utility/media_galleries/media_metadata_parser.cc', | 75 'utility/media_galleries/media_metadata_parser.cc', |
72 'utility/media_galleries/media_metadata_parser.h', | 76 'utility/media_galleries/media_metadata_parser.h', |
73 ], | 77 ], |
| 78 'chrome_utility_mac_media_gallery_sources': [ |
| 79 'utility/media_galleries/iphoto_library_parser.cc', |
| 80 'utility/media_galleries/iphoto_library_parser.h', |
| 81 ], |
74 'chrome_utility_win_mac_media_gallery_sources': [ | 82 'chrome_utility_win_mac_media_gallery_sources': [ |
75 'utility/media_galleries/iapps_xml_utils.cc', | 83 'utility/media_galleries/iapps_xml_utils.cc', |
76 'utility/media_galleries/iapps_xml_utils.h', | 84 'utility/media_galleries/iapps_xml_utils.h', |
77 'utility/media_galleries/itunes_library_parser.cc', | 85 'utility/media_galleries/itunes_library_parser.cc', |
78 'utility/media_galleries/itunes_library_parser.h', | 86 'utility/media_galleries/itunes_library_parser.h', |
79 'utility/media_galleries/picasa_album_table_reader.cc', | 87 'utility/media_galleries/picasa_album_table_reader.cc', |
80 'utility/media_galleries/picasa_album_table_reader.h', | 88 'utility/media_galleries/picasa_album_table_reader.h', |
81 'utility/media_galleries/picasa_albums_indexer.cc', | 89 'utility/media_galleries/picasa_albums_indexer.cc', |
82 'utility/media_galleries/picasa_albums_indexer.h', | 90 'utility/media_galleries/picasa_albums_indexer.h', |
83 'utility/media_galleries/pmp_column_reader.cc', | 91 'utility/media_galleries/pmp_column_reader.cc', |
(...skipping 11 matching lines...) Expand all Loading... |
95 '../components/components_strings.gyp:components_strings', | 103 '../components/components_strings.gyp:components_strings', |
96 '../components/components.gyp:url_fixer', | 104 '../components/components.gyp:url_fixer', |
97 '../content/content.gyp:content_common', | 105 '../content/content.gyp:content_common', |
98 '../content/content.gyp:content_utility', | 106 '../content/content.gyp:content_utility', |
99 '../media/media.gyp:media', | 107 '../media/media.gyp:media', |
100 '../skia/skia.gyp:skia', | 108 '../skia/skia.gyp:skia', |
101 '../third_party/libxml/libxml.gyp:libxml', | 109 '../third_party/libxml/libxml.gyp:libxml', |
102 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', | 110 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
103 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', | 111 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
104 'common', | 112 'common', |
105 'common/extensions/api/api.gyp:chrome_api', | |
106 ], | 113 ], |
107 'include_dirs': [ | 114 'include_dirs': [ |
108 '..', | 115 '..', |
109 '<(grit_out_dir)', | 116 '<(grit_out_dir)', |
110 ], | 117 ], |
111 'export_dependent_settings': [ | |
112 'common/extensions/api/api.gyp:chrome_api', | |
113 ], | |
114 'sources': [ | 118 'sources': [ |
115 '<@(chrome_utility_sources)', | 119 '<@(chrome_utility_sources)', |
116 ], | 120 ], |
117 'conditions': [ | 121 'conditions': [ |
118 ['OS=="win" or OS=="mac"', { | |
119 'dependencies': [ | |
120 '../components/components.gyp:wifi_component', | |
121 ], | |
122 'sources': [ | |
123 '<@(chrome_utility_win_mac_media_gallery_sources)', | |
124 ], | |
125 }], | |
126 ['OS=="mac"', { | |
127 'sources': [ | |
128 'utility/media_galleries/iphoto_library_parser.cc', | |
129 'utility/media_galleries/iphoto_library_parser.h', | |
130 ], | |
131 }], | |
132 ['use_openssl==1', { | 122 ['use_openssl==1', { |
133 'sources!': [ | 123 'sources!': [ |
134 'utility/importer/nss_decryptor.cc', | 124 'utility/importer/nss_decryptor.cc', |
135 ] | 125 ] |
136 }], | 126 }], |
137 ['OS!="win" and OS!="mac" and use_openssl==0', { | 127 ['OS!="win" and OS!="mac" and use_openssl==0', { |
138 'dependencies': [ | 128 'dependencies': [ |
139 '../crypto/crypto.gyp:crypto', | 129 '../crypto/crypto.gyp:crypto', |
140 ], | 130 ], |
141 'sources': [ | 131 'sources': [ |
142 'utility/importer/nss_decryptor_system_nss.cc', | 132 'utility/importer/nss_decryptor_system_nss.cc', |
143 'utility/importer/nss_decryptor_system_nss.h', | 133 'utility/importer/nss_decryptor_system_nss.h', |
144 ], | 134 ], |
145 }], | 135 }], |
146 ['OS=="android"', { | 136 ['OS!="android"', { |
147 'sources!': [ | |
148 'utility/profile_import_handler.cc', | |
149 ], | |
150 }, { # !android | |
151 'sources': [ | 137 'sources': [ |
152 '<@(chrome_utility_importer_sources)', | 138 '<@(chrome_utility_importer_sources)', |
| 139 ], |
| 140 }], |
| 141 ['enable_extensions==1', { |
| 142 'dependencies': [ |
| 143 '../third_party/libexif/libexif.gyp:libexif', |
| 144 'common/extensions/api/api.gyp:chrome_api', |
| 145 ], |
| 146 'export_dependent_settings': [ |
| 147 'common/extensions/api/api.gyp:chrome_api', |
| 148 ], |
| 149 'sources': [ |
| 150 '<@(chrome_utility_extensions_sources)', |
153 '<@(chrome_utility_shared_media_sources)', | 151 '<@(chrome_utility_shared_media_sources)', |
154 ], | 152 ], |
155 'dependencies': [ | 153 'conditions': [ |
156 '../third_party/libexif/libexif.gyp:libexif', | 154 ['OS=="win" or OS=="mac"', { |
| 155 'dependencies': [ |
| 156 '../components/components.gyp:wifi_component', |
| 157 ], |
| 158 'sources': [ |
| 159 '<@(chrome_utility_win_mac_media_gallery_sources)', |
| 160 ], |
| 161 }, { # OS!="win" and OS!="mac" |
| 162 'sources': [ |
| 163 'utility/image_writer/image_writer_stub.cc', |
| 164 ] |
| 165 }], |
| 166 ['OS=="mac"', { |
| 167 'sources': [ |
| 168 '<@(chrome_utility_mac_media_gallery_sources)', |
| 169 ], |
| 170 }], |
157 ], | 171 ], |
158 }], | 172 }], |
159 ['OS!="win" and OS!="mac"', { | |
160 'sources': [ | |
161 'utility/image_writer/image_writer_stub.cc', | |
162 ] | |
163 }], | |
164 ['enable_printing!=1', { | 173 ['enable_printing!=1', { |
165 'sources!': [ | 174 'sources!': [ |
166 'utility/printing_handler.cc', | 175 'utility/printing_handler.cc', |
167 'utility/printing_handler.h', | 176 'utility/printing_handler.h', |
168 ] | 177 ] |
169 }], | 178 }], |
170 ['enable_mdns==0', { | 179 ['enable_mdns==0', { |
171 'sources!': [ | 180 'sources!': [ |
172 'utility/local_discovery/service_discovery_message_handler.cc', | 181 'utility/local_discovery/service_discovery_message_handler.cc', |
173 'utility/local_discovery/service_discovery_message_handler.h', | 182 'utility/local_discovery/service_discovery_message_handler.h', |
174 ] | 183 ] |
175 }], | 184 }], |
176 ], | 185 ], |
177 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 186 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
178 'msvs_disabled_warnings': [ 4267, ], | 187 'msvs_disabled_warnings': [ 4267, ], |
179 }, | 188 }, |
180 ], | 189 ], |
181 } | 190 } |
OLD | NEW |