1 # Copyright (c) 2013 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. 4 5 { 6 'targets': [ 7 { 8 'target_name': 'encryptor', 9 'type': 'static_library', 10 'include_dirs': [ 11 '..', 12 ], 13 'dependencies': [ 14 '../base/base.gyp:base', 15 '../crypto/crypto.gyp:crypto', 16 ], 17 'sources': [ 18 'webdata/encryptor/encryptor.h', 19 'webdata/encryptor/encryptor_mac.mm', 20 'webdata/encryptor/encryptor_password_mac.h', 21 'webdata/encryptor/encryptor_password_mac.mm', 22 'webdata/encryptor/encryptor_posix.cc', 23 'webdata/encryptor/encryptor_win.cc', 24 'webdata/encryptor/ie7_password_win.cc', 25 'webdata/encryptor/ie7_password_win.h', 26 ], 27 'conditions': [ 28 ['OS=="mac"', { 29 'sources!': [ 30 'webdata/encryptor/encryptor_posix.cc', 31 ], 32 }], 33 ], 34 }, 35 { 36 'target_name': 'webdata_common', 37 'type': '<(component)', 38 'include_dirs': [ 39 '..', 40 ], 41 'dependencies': [ 42 '../base/base.gyp:base', 43 '../content/content.gyp:content_browser', 44 '../sql/sql.gyp:sql', 45 ], 46 'defines': [ 47 'WEBDATA_IMPLEMENTATION', 48 ], 49 'sources': [ 50 'webdata/common/web_database.cc', 51 'webdata/common/web_database.h', 52 'webdata/common/web_database_service.cc', 53 'webdata/common/web_database_service.h', 54 'webdata/common/web_database_table.cc', 55 'webdata/common/web_database_table.h', 56 'webdata/common/web_data_request_manager.cc', 57 'webdata/common/web_data_request_manager.h', 58 'webdata/common/web_data_results.h', 59 'webdata/common/web_data_service_backend.cc', 60 'webdata/common/web_data_service_backend.h', 61 'webdata/common/web_data_service_base.cc', 62 'webdata/common/web_data_service_base.h', 63 'webdata/common/web_data_service_consumer.h', 64 'webdata/common/webdata_constants.cc', 65 'webdata/common/webdata_constants.h', 66 'webdata/common/webdata_export.h' 67 ], 68 }, 69 ], 70 } 71