| 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'utility', | 8 'target_name': 'utility', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 ], | 32 ], |
| 33 'sources': [ | 33 'sources': [ |
| 34 'utility/chrome_content_utility_client.cc', | 34 'utility/chrome_content_utility_client.cc', |
| 35 'utility/chrome_content_utility_client.h', | 35 'utility/chrome_content_utility_client.h', |
| 36 'utility/chrome_content_utility_ipc_whitelist.cc', | 36 'utility/chrome_content_utility_ipc_whitelist.cc', |
| 37 'utility/chrome_content_utility_ipc_whitelist.h', | 37 'utility/chrome_content_utility_ipc_whitelist.h', |
| 38 'utility/cloud_print/bitmap_image.cc', | 38 'utility/cloud_print/bitmap_image.cc', |
| 39 'utility/cloud_print/bitmap_image.h', | 39 'utility/cloud_print/bitmap_image.h', |
| 40 'utility/cloud_print/pwg_encoder.cc', | 40 'utility/cloud_print/pwg_encoder.cc', |
| 41 'utility/cloud_print/pwg_encoder.h', | 41 'utility/cloud_print/pwg_encoder.h', |
| 42 'utility/extensions/extensions_handler.cc', |
| 43 'utility/extensions/extensions_handler.h', |
| 42 'utility/extensions/unpacker.cc', | 44 'utility/extensions/unpacker.cc', |
| 43 'utility/extensions/unpacker.h', | 45 'utility/extensions/unpacker.h', |
| 44 'utility/image_writer/disk_unmounter_mac.cc', | 46 'utility/image_writer/disk_unmounter_mac.cc', |
| 45 'utility/image_writer/disk_unmounter_mac.h', | 47 'utility/image_writer/disk_unmounter_mac.h', |
| 46 'utility/image_writer/error_messages.cc', | 48 'utility/image_writer/error_messages.cc', |
| 47 'utility/image_writer/error_messages.h', | 49 'utility/image_writer/error_messages.h', |
| 48 'utility/image_writer/image_writer.cc', | 50 'utility/image_writer/image_writer.cc', |
| 49 'utility/image_writer/image_writer.h', | 51 'utility/image_writer/image_writer.h', |
| 50 'utility/image_writer/image_writer_handler.cc', | 52 'utility/image_writer/image_writer_handler.cc', |
| 51 'utility/image_writer/image_writer_handler.h', | 53 'utility/image_writer/image_writer_handler.h', |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 'utility/media_galleries/media_metadata_parser.h', | 89 'utility/media_galleries/media_metadata_parser.h', |
| 88 'utility/printing_handler.cc', | 90 'utility/printing_handler.cc', |
| 89 'utility/printing_handler.h', | 91 'utility/printing_handler.h', |
| 90 'utility/profile_import_handler.cc', | 92 'utility/profile_import_handler.cc', |
| 91 'utility/profile_import_handler.h', | 93 'utility/profile_import_handler.h', |
| 92 'utility/utility_message_handler.h', | 94 'utility/utility_message_handler.h', |
| 93 'utility/web_resource_unpacker.cc', | 95 'utility/web_resource_unpacker.cc', |
| 94 'utility/web_resource_unpacker.h', | 96 'utility/web_resource_unpacker.h', |
| 95 ], | 97 ], |
| 96 'conditions': [ | 98 'conditions': [ |
| 97 ['OS=="win" or OS=="mac"', { | |
| 98 'dependencies': [ | |
| 99 '../components/components.gyp:wifi_component', | |
| 100 ], | |
| 101 'sources': [ | |
| 102 'utility/media_galleries/iapps_xml_utils.cc', | |
| 103 'utility/media_galleries/iapps_xml_utils.h', | |
| 104 'utility/media_galleries/itunes_library_parser.cc', | |
| 105 'utility/media_galleries/itunes_library_parser.h', | |
| 106 'utility/media_galleries/picasa_album_table_reader.cc', | |
| 107 'utility/media_galleries/picasa_album_table_reader.h', | |
| 108 'utility/media_galleries/picasa_albums_indexer.cc', | |
| 109 'utility/media_galleries/picasa_albums_indexer.h', | |
| 110 'utility/media_galleries/pmp_column_reader.cc', | |
| 111 'utility/media_galleries/pmp_column_reader.h', | |
| 112 ], | |
| 113 }], | |
| 114 ['OS=="mac"', { | |
| 115 'sources': [ | |
| 116 'utility/media_galleries/iphoto_library_parser.cc', | |
| 117 'utility/media_galleries/iphoto_library_parser.h', | |
| 118 ], | |
| 119 }], | |
| 120 ['use_openssl==1', { | 99 ['use_openssl==1', { |
| 121 'sources!': [ | 100 'sources!': [ |
| 122 'utility/importer/nss_decryptor.cc', | 101 'utility/importer/nss_decryptor.cc', |
| 123 ] | 102 ] |
| 124 }], | 103 }], |
| 125 ['OS!="win" and OS!="mac" and use_openssl==0', { | 104 ['OS!="win" and OS!="mac" and use_openssl==0', { |
| 126 'dependencies': [ | 105 'dependencies': [ |
| 127 '../crypto/crypto.gyp:crypto', | 106 '../crypto/crypto.gyp:crypto', |
| 128 ], | 107 ], |
| 129 'sources': [ | 108 'sources': [ |
| 130 'utility/importer/nss_decryptor_system_nss.cc', | 109 'utility/importer/nss_decryptor_system_nss.cc', |
| 131 'utility/importer/nss_decryptor_system_nss.h', | 110 'utility/importer/nss_decryptor_system_nss.h', |
| 132 ], | 111 ], |
| 133 }], | 112 }], |
| 134 ['OS=="android"', { | 113 ['OS=="android"', { |
| 135 'dependencies!': [ | |
| 136 '../third_party/libexif/libexif.gyp:libexif', | |
| 137 ], | |
| 138 'sources/': [ | 114 'sources/': [ |
| 139 ['exclude', '^utility/importer/'], | |
| 140 ['exclude', '^utility/media_galleries/'], | |
| 141 ['exclude', '^utility/profile_import_handler\.cc'], | 115 ['exclude', '^utility/profile_import_handler\.cc'], |
| 142 ], | 116 ], |
| 143 }], | 117 }], |
| 144 ['OS!="win" and OS!="mac"', { | 118 ['enable_extensions==1', { |
| 145 'sources': [ | 119 'conditions': [ |
| 146 'utility/image_writer/image_writer_stub.cc', | 120 ['OS=="win" or OS=="mac"', { |
| 147 ] | 121 'dependencies': [ |
| 122 '../components/components.gyp:wifi_component', |
| 123 ], |
| 124 'sources': [ |
| 125 'utility/media_galleries/iapps_xml_utils.cc', |
| 126 'utility/media_galleries/iapps_xml_utils.h', |
| 127 'utility/media_galleries/itunes_library_parser.cc', |
| 128 'utility/media_galleries/itunes_library_parser.h', |
| 129 'utility/media_galleries/picasa_album_table_reader.cc', |
| 130 'utility/media_galleries/picasa_album_table_reader.h', |
| 131 'utility/media_galleries/picasa_albums_indexer.cc', |
| 132 'utility/media_galleries/picasa_albums_indexer.h', |
| 133 'utility/media_galleries/pmp_column_reader.cc', |
| 134 'utility/media_galleries/pmp_column_reader.h', |
| 135 ], |
| 136 }], |
| 137 ['OS=="mac"', { |
| 138 'sources': [ |
| 139 'utility/media_galleries/iphoto_library_parser.cc', |
| 140 'utility/media_galleries/iphoto_library_parser.h', |
| 141 ], |
| 142 }], |
| 143 ['OS!="win" and OS!="mac"', { |
| 144 'sources': [ |
| 145 'utility/image_writer/image_writer_stub.cc', |
| 146 ], |
| 147 }], |
| 148 ], |
| 149 }, { |
| 150 'dependencies!': [ |
| 151 'common/extensions/api/api.gyp:chrome_api', |
| 152 '../third_party/libexif/libexif.gyp:libexif', |
| 153 ], |
| 154 'export_dependent_settings!': [ |
| 155 'common/extensions/api/api.gyp:chrome_api', |
| 156 ], |
| 157 'sources/': [ |
| 158 ['exclude', '^utility/extensions/'], |
| 159 ['exclude', '^utility/image_writer/'], |
| 160 ['exclude', '^utility/importer/'], |
| 161 ['exclude', '^utility/media_galleries/'], |
| 162 ], |
| 163 'sources!': [ |
| 164 ], |
| 148 }], | 165 }], |
| 149 ['enable_printing!=1', { | 166 ['enable_printing!=1', { |
| 150 'sources!': [ | 167 'sources!': [ |
| 151 'utility/printing_handler.cc', | 168 'utility/printing_handler.cc', |
| 152 'utility/printing_handler.h', | 169 'utility/printing_handler.h', |
| 153 ] | 170 ] |
| 154 }], | 171 }], |
| 155 ['enable_mdns==0', { | 172 ['enable_mdns==0', { |
| 156 'sources!': [ | 173 'sources!': [ |
| 157 'utility/local_discovery/service_discovery_message_handler.cc', | 174 'utility/local_discovery/service_discovery_message_handler.cc', |
| 158 'utility/local_discovery/service_discovery_message_handler.h', | 175 'utility/local_discovery/service_discovery_message_handler.h', |
| 159 ] | 176 ] |
| 160 }], | 177 }], |
| 161 ], | 178 ], |
| 162 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 179 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 163 'msvs_disabled_warnings': [ 4267, ], | 180 'msvs_disabled_warnings': [ 4267, ], |
| 164 }, | 181 }, |
| 165 ], | 182 ], |
| 166 } | 183 } |
| OLD | NEW |