summaryrefslogtreecommitdiffstats
path: root/components/webdata.gypi
blob: 10073e637cc01a776634d14bb27b0d373ab3d683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'encryptor',
      'type': 'static_library',
      'include_dirs': [
        '..',
      ],
      'dependencies': [
        '../base/base.gyp:base',
        '../crypto/crypto.gyp:crypto',
      ],
      'sources': [
        'webdata/encryptor/encryptor.h',
        'webdata/encryptor/encryptor_mac.mm',
        'webdata/encryptor/encryptor_password_mac.h',
        'webdata/encryptor/encryptor_password_mac.mm',
        'webdata/encryptor/encryptor_posix.cc',
        'webdata/encryptor/encryptor_win.cc',
        'webdata/encryptor/ie7_password_win.cc',
        'webdata/encryptor/ie7_password_win.h',
      ],
      'conditions': [
        ['OS=="mac"', {
          'sources!': [
            'webdata/encryptor/encryptor_posix.cc',
          ],
        }],
      ],
    },
    {
      'target_name': 'webdata_common',
      'type': '<(component)',
      'include_dirs': [
        '..',
      ],
      'dependencies': [
        '../base/base.gyp:base',
        '../content/content.gyp:content_browser',
        '../sql/sql.gyp:sql',
      ],
      'defines': [
        'WEBDATA_IMPLEMENTATION',
      ],
      'sources': [
        'webdata/common/web_database.cc',
        'webdata/common/web_database.h',
        'webdata/common/web_database_service.cc',
        'webdata/common/web_database_service.h',
        'webdata/common/web_database_table.cc',
        'webdata/common/web_database_table.h',
        'webdata/common/web_data_request_manager.cc',
        'webdata/common/web_data_request_manager.h',
        'webdata/common/web_data_results.h',
        'webdata/common/web_data_service_backend.cc',
        'webdata/common/web_data_service_backend.h',
        'webdata/common/web_data_service_base.cc',
        'webdata/common/web_data_service_base.h',
        'webdata/common/web_data_service_consumer.h',
        'webdata/common/webdata_constants.cc',
        'webdata/common/webdata_constants.h',
        'webdata/common/webdata_export.h'
      ],
    },
  ],
}