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
|
include_rules = [
"+components/webdata/common",
"+content/public/browser",
"+crypto/random.h",
"+google_apis/gaia",
"+google_apis/google_api_keys.h",
"+gpu/config/gpu_info.h",
"+net",
"+sql",
"+third_party/libjingle",
"+third_party/libphonenumber", # For phone number i18n.
"+webkit/plugins/webplugininfo.h",
# TODO(akalin): Remove this dependency.
"!sync/util/data_encryption_win.h",
]
specific_include_rules = {
'.*_[a-z]*test\.cc': [
"+content/public/test",
],
# TODO(joi): Removing these dependencies needs to wait until some
# other things (AutofillWebData::FromBrowserContext and a few other
# things) move out of being built in //chrome. If we break the
# dependency on ChromeRenderViewHostTestHarness now (by switching to
# content::RenderViewHostTestHarness) but leave the test running in
# the 'unit_tests' target, it will fail at runtime trying to cast a
# plain BrowserContext to a Profile. If on the other hand we move it
# to the 'components_unittests' target, it will at this point fail
# to build due to a few link-time dependencies.
'autocheckout_manager_unittest.cc': [
"!chrome/test/base/chrome_render_view_host_test_harness.h",
"!chrome/test/base/testing_profile.h",
],
'autofill_driver_impl_unittest.cc': [
"!chrome/test/base/chrome_render_view_host_test_harness.h",
],
}
|