| include_rules = [ |
| "+apps", |
| "+ash", |
| "+chrome/app", |
| "+chrome/chrome_watcher", |
| "+chrome/grit", # For generated headers |
| "+chrome/installer", |
| "+chrome_elf/blacklist", |
| "+chrome_elf/chrome_elf_constants.h", |
| "+chrome_elf/create_file", |
| "+chrome_elf/dll_hash", |
| "+chromeos", |
| "+components/app_modal", |
| "+components/arc", |
| "+components/audio_modem/public", |
| "+components/audio_modem/test", |
| "+components/autofill/content/browser", |
| "+components/autofill/content/common", |
| "+components/autofill/core/browser", |
| "+components/autofill/core/common", |
| "+components/bookmarks/browser", |
| "+components/bookmarks/common", |
| "+components/bookmarks/managed", |
| "+components/bookmarks/test", |
| "+components/browser_sync", |
| "+components/browser_watcher", |
| "+components/browsing_data", |
| "+components/cdm/browser", |
| "+components/certificate_reporting", |
| "+components/cloud_devices/common", |
| "+components/component_updater", |
| "+components/compression", |
| "+components/content_settings", |
| "+components/contextual_search/browser", |
| "+components/copresence", |
| "+components/crash", |
| "+components/crx_file", |
| "+components/data_reduction_proxy", |
| "+components/data_usage", |
| "+components/data_use_measurement/core", |
| "+components/device_event_log", |
| "+components/dom_distiller", |
| "+components/domain_reliability", |
| "+components/enhanced_bookmarks", |
| "+components/exo", |
| "+components/favicon", |
| "+components/favicon_base", |
| "+components/feedback", |
| "+components/flags_ui", |
| "+components/gcm_driver", |
| "+components/google", |
| "+components/grit", |
| "+components/guest_view/browser", |
| "+components/handoff", |
| "+components/history", |
| "+components/infobars", |
| "+components/invalidation", |
| "+components/keyed_service", |
| "+components/language_usage_metrics", |
| "+components/leveldb_proto", |
| "+components/metrics", |
| "+components/metrics_services_manager", |
| "+components/mime_util", |
| "+components/mus/public/interfaces", |
| "+components/nacl/browser", |
| "+components/nacl/common", |
| "+components/navigation_interception", |
| "+components/navigation_metrics", |
| "+components/net_log", |
| "+components/network_hints", |
| "+components/network_time", |
| "+components/ntp_snippets", |
| "+components/offline_pages", |
| "+components/omnibox/browser", |
| "+components/os_crypt", |
| "+components/password_manager", |
| "+components/pdf/browser", |
| "+components/policy", |
| "+components/power", |
| "+components/precache", |
| "+components/pref_registry", |
| "+components/printing/browser", |
| "+components/printing/common", |
| "+components/profile_metrics", |
| "+components/proximity_auth", |
| "+components/proxy_config", |
| "+components/query_parser", |
| "+components/rappor", |
| "+components/renderer_context_menu", |
| "+components/rlz", |
| "+components/safe_browsing_db", |
| "+components/safe_json", |
| "+components/search", |
| "+components/search_engines", |
| "+components/search_provider_logos", |
| "+components/security_interstitials", |
| "+components/security_state", |
| "+components/service_tab_launcher", |
| "+components/session_manager", |
| "+components/sessions", |
| "+components/signin", |
| "+components/ssl_config", |
| "+components/ssl_errors", |
| "+components/startup_metric_utils/browser", |
| "+components/storage_monitor", |
| "+components/strings", |
| "+components/suggestions", |
| "+components/sync_bookmarks", |
| "+components/sync_driver", |
| "+components/sync_sessions", |
| "+components/syncable_prefs", |
| "+components/tracing", |
| "+components/translate/content/browser", |
| "+components/translate/content/common", |
| "+components/translate/core/browser", |
| "+components/translate/core/common", |
| "+components/ui", |
| "+components/undo", |
| "+components/update_client", |
| "+components/upload_list", |
| "+components/url_formatter", |
| "+components/url_matcher", |
| "+components/user_manager", |
| "+components/user_prefs", |
| "+components/version_info", |
| "+components/web_cache/browser", |
| "+components/web_modal", |
| "+components/web_resource", |
| "+components/webdata/common", |
| "+components/webdata_services", |
| "+components/webusb", |
| "+content/public/browser", |
| "+content/test/net", |
| "+courgette", |
| "+device/bluetooth", |
| "+device/core", |
| "+device/devices_app/usb", |
| "+device/hid", |
| "+device/usb", |
| "+device/media_transfer_protocol", |
| "+extensions/browser", |
| "+extensions/common", |
| "+extensions/components/javascript_dialog_extensions_client", |
| "+extensions/grit", |
| "+extensions/test", |
| "+gin", |
| "+google/cacheinvalidation", # Sync invalidation API protobuf files. |
| "+google_apis", |
| "+google_update", |
| "+grit", # TODO(thestig) Remove. For generated headers |
| "+installer_util_strings", # For generated headers |
| "+jni", |
| "+media/audio", # For media audio hang monitor. |
| "+media/base", # For media switches |
| "+media/midi", # For midi switches |
| "+mojo/shell/public/cpp", |
| "+mojo/converters", |
| "+mojo/runner/child", |
| "+policy", # For generated headers and source |
| "+ppapi/c", # For various types. |
| "+ppapi/host", |
| "+ppapi/proxy", |
| "+ppapi/shared_impl", |
| # Defines some types that are marshalled over IPC. |
| "+ppapi/shared_impl/ppp_flash_browser_operations_shared.h", |
| "+rlz", |
| "+sandbox/win/src", # The path doesn't say it, but this is the Windows sandbox. |
| "+skia/ext", |
| "+sync/api", # Sync API files. |
| "+sync/internal_api/public/attachments", # Needed for tests. |
| "+sync/internal_api/public/base", |
| "+sync/protocol", # Sync protobuf files. |
| "+sync/util", # Sync utilities like GetSessionName. |
| "+syzygy/kasko", |
| "+third_party/cros_system_api", |
| "+third_party/kasko", |
| "+win8/util", |
| |
| # chrome only needs switches from cc. All usage of the compositor is from |
| # content. Definitely don't include generic stuff from cc/base here, if this |
| # is needed these files need to move to base/ |
| "+cc/base/switches.h", |
| |
| # Unsafe to use from //chrome, see http://goo.gl/QQG5wo |
| "-content/public/test/test_browser_context.h", |
| |
| "+storage/browser", |
| "+storage/common", |
| |
| "-chrome/browser/ui/views", |
| "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h", |
| "+chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h", |
| |
| # Explicitly disallow using SyncMessageFilter to prevent browser from |
| # sending synchronous IPC messages on non-UI threads. |
| "-ipc/ipc_sync_message_filter.h", |
| |
| # Other libraries. |
| "+libxml", |
| "+third_party/google_toolbox_for_mac/src", |
| "+third_party/icu/source/common/unicode", |
| "+third_party/icu/source/i18n/unicode", |
| "+third_party/leveldatabase", |
| "+third_party/libxml", |
| "+third_party/mozilla", # Mozilla interface headers. |
| "+third_party/protobuf/src/google/protobuf", |
| "+third_party/re2", |
| "+third_party/smhasher", |
| "+third_party/sqlite", |
| "+third_party/zlib", |
| |
| # No inclusion of WebKit from the browser, other than strictly enum/POD, |
| # header-only types, and some selected common code. |
| "-third_party/WebKit", |
| "+third_party/WebKit/public/platform/WebReferrerPolicy.h", |
| "+third_party/WebKit/public/platform/modules/app_banner/WebAppBannerPromptReply.h", |
| "+third_party/WebKit/public/platform/modules/push_messaging/WebPushPermissionStatus.h", |
| "+third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationLockType.h", |
| "+third_party/WebKit/public/web/WebCache.h", |
| "+third_party/WebKit/public/web/WebContextMenuData.h", |
| "+third_party/WebKit/public/web/WebFindOptions.h", |
| "+third_party/WebKit/public/web/WebInputEvent.h", |
| "+third_party/WebKit/public/web/WebMediaPlayerAction.h", |
| "+third_party/WebKit/public/web/WebPluginAction.h", |
| "+third_party/WebKit/public/web/WebTextDirection.h", |
| "+third_party/WebKit/public/web/WebWindowFeatures.h", |
| ] |