Home | History | Annotate | Download | only in browser
      1 include_rules = [
      2   "+components/webdata/common",
      3   "+content/public/browser",
      4   "+crypto/random.h",
      5   "+google_apis/gaia",
      6   "+google_apis/google_api_keys.h",
      7   "+gpu/config/gpu_info.h",
      8   "+net",
      9   "+sql",
     10   "+third_party/libjingle",
     11   "+third_party/libphonenumber",  # For phone number i18n.
     12 ]
     13 
     14 specific_include_rules = {
     15   '.*_[a-z]*test\.cc': [
     16     "+content/public/test",
     17   ],
     18 
     19   # TODO(joi): Removing these dependencies needs to wait until some
     20   # other things (AutofillWebData::FromBrowserContext and a few other
     21   # things) move out of being built in //chrome. If we break the
     22   # dependency on ChromeRenderViewHostTestHarness now (by switching to
     23   # content::RenderViewHostTestHarness) but leave the test running in
     24   # the 'unit_tests' target, it will fail at runtime trying to cast a
     25   # plain BrowserContext to a Profile. If on the other hand we move it
     26   # to the 'components_unittests' target, it will at this point fail
     27   # to build due to a few link-time dependencies.
     28   'autocheckout_manager_unittest.cc': [
     29     "!chrome/test/base/chrome_render_view_host_test_harness.h",
     30     "!chrome/test/base/testing_profile.h",
     31   ],
     32   'autofill_driver_impl_unittest.cc': [
     33     "!chrome/test/base/chrome_render_view_host_test_harness.h",
     34   ],
     35   'wallet_client_unittest.cc': [
     36     "!chrome/test/base/testing_profile.h"
     37   ],
     38   'wallet_signin_helper_unittest.cc': [
     39     "!chrome/test/base/testing_profile.h"
     40   ],
     41 }
     42