| include_rules = [ |
| "-chrome", |
| "+chrome/browser/chromeos/input_method", |
| "+chrome/grit", |
| "-content", |
| ] |
| |
| specific_include_rules = { |
| # The configuration layer. |
| "(input_method_delegate_impl|input_method_persistence|browser_state_monitor)" |
| "\.(h|cc)": [ |
| "+chrome/common", |
| "+chrome/browser", |
| "+chrome/test", |
| "+content/public", |
| ], |
| # TODO(mash): Fix. https://crbug.com/738531 |
| "candidate_window_controller_impl\.cc": [ |
| "+ash/shell.h", |
| "+ash/wm/window_util.h", |
| ], |
| |
| # TODO(erikwright): Bring this list to zero. |
| # Do not add to the list of temporarily-allowed dependencies below, |
| # and please do not introduce more #includes of these files. |
| "input_method_manager_impl\.cc": [ |
| # TODO(erikwright): Much/all of language_preferences can/should be decoupled |
| # from chrome/browser. |
| "!chrome/browser/chromeos/language_preferences.h", |
| # TODO(stevenjb/shuchen): Fix this for Mash. https://crbug.com/756059 |
| "+ui/keyboard/keyboard_controller.h", |
| ], |
| |
| # For testing. |
| ".*(_browsertest|_unittest|_test_helper|)\.(h|cc)": [ |
| "+chrome/common", |
| "+chrome/browser", |
| "+chrome/test", |
| "+content/public", |
| ], |
| "xkeyboard_unittest\.cc": [ |
| "!content/public/test/test_browser_thread.h", |
| ], |
| } |