blob: fb768b60c2865cf6e32e85ffb2382cf2b7d8b211 [file] [log] [blame]
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.
]
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",
],
'wallet_client_unittest.cc': [
"!chrome/test/base/testing_profile.h"
],
'wallet_signin_helper_unittest.cc': [
"!chrome/test/base/testing_profile.h"
],
}