Add simple cache backend experiment hidden behind a command line option.
[chromium-blink-merge.git] / components / autofill.gypi
blob815c51d929e0997c20f9f56c7cb4532fc77db936
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.
6   'targets': [
7     {
8       'target_name': 'autofill_regexes',
9       'type': 'none',
10       'actions': [{
11         'action_name': 'autofill_regexes',
12         'inputs': [
13           '<(DEPTH)/build/escape_unicode.py',
14           'autofill/browser/autofill_regex_constants.cc.utf8',
15         ],
16         'outputs': [
17           '<(SHARED_INTERMEDIATE_DIR)/autofill_regex_constants.cc',
18         ],
19         'action': ['python', '<(DEPTH)/build/escape_unicode.py',
20                    '-o', '<(SHARED_INTERMEDIATE_DIR)',
21                    'autofill/browser/autofill_regex_constants.cc.utf8'],
22       }],
23     },
24     {
25       # Protobuf compiler / generate rule for Autofill's risk integration.
26       'target_name': 'autofill_risk_proto',
27       'type': 'static_library',
28       'sources': [
29         'autofill/browser/risk/proto/fingerprint.proto',
30       ],
31       'variables': {
32         'proto_in_dir': 'autofill/browser/risk/proto',
33         'proto_out_dir': 'components/autofill/browser/risk/proto',
34       },
35       'includes': [ '../build/protoc.gypi' ]
36     },
37   ],
38   'conditions': [
39     ['OS != "ios"', {
40       'targets': [
41         {
42           'target_name': 'autofill_common',
43           'type': 'static_library',
44           'include_dirs': [
45             '..',
46           ],
47           'dependencies': [
48             '../base/base.gyp:base',
49             '../build/temp_gyp/googleurl.gyp:googleurl',
50             '../content/content.gyp:content_common',
51             '../ipc/ipc.gyp:ipc',
52             '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
53             '../ui/ui.gyp:ui',
54           ],
55           'sources': [
56             'autofill/common/autocheckout_status.h',
57             'autofill/common/autofill_constants.cc',
58             'autofill/common/autofill_constants.h',
59             'autofill/common/autofill_messages.h',
60             'autofill/common/autofill_pref_names.cc',
61             'autofill/common/autofill_pref_names.h',
62             'autofill/common/autofill_switches.cc',
63             'autofill/common/autofill_switches.h',
64             'autofill/common/form_data.cc',
65             'autofill/common/form_data.h',
66             'autofill/common/form_data_predictions.cc',
67             'autofill/common/form_data_predictions.h',
68             'autofill/common/form_field_data.cc',
69             'autofill/common/form_field_data.h',
70             'autofill/common/form_field_data_predictions.cc',
71             'autofill/common/form_field_data_predictions.h',
72             'autofill/common/password_form_fill_data.cc',
73             'autofill/common/password_form_fill_data.h',
74             'autofill/common/password_generation_util.cc',
75             'autofill/common/password_generation_util.h',
76             'autofill/common/web_element_descriptor.cc',
77             'autofill/common/web_element_descriptor.h',
78           ],
79         },
80       ],
81     }],
82   ],