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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
include_rules = [
# Allow inclusion of specific components that we depend on.
# See comment in content/DEPS for which components are allowed.
"+components/discardable_memory/common",
"+components/discardable_memory/service",
"+components/display_compositor",
"+components/filesystem",
"+components/leveldb",
"+components/link_header_util",
"+components/metrics",
"+components/metrics:single_sample_metrics",
"+components/mime_util",
"+components/payments",
"+components/profile_service",
"+components/rappor/public",
"+components/scheduler/common",
"+components/tracing",
"+components/ukm",
"+components/url_formatter",
"+components/viz",
"+content/app/strings/grit", # For generated headers
"+content/public/browser",
"+device/gamepad", # For gamepad API
"+device/generic_sensor", # For sensors service.
"+device/geolocation",
"+device/nfc",
"+device/power_save_blocker",
"+device/screen_orientation/public/interfaces",
"+device/sensors",
"+device/vr", # For WebVR API
"+device/wake_lock/public/interfaces",
# This can only be used on POSIX, in particular it mustn't be used on Windows
# in the browser DLL.
"+gin/v8_initializer.h",
"+mojo",
"+services",
"+sql",
"+ui/aura_extra",
"+ui/vector_icons",
"+ui/webui",
"+win8/util",
# In general, //content shouldn't depend on //device.
# This is the an exception.
"+device/udev_linux", # For udev utility and wrapper library.
# Explicitly disallow using SyncMessageFilter to prevent browser from
# sending synchronous IPC messages on non-UI threads.
"-ipc/ipc_sync_message_filter.h",
# Other libraries.
"+third_party/iaccessible2",
"+third_party/isimpledom",
"+third_party/khronos", # For enum definitions only
"+third_party/re2",
"+third_party/zlib",
# Allow non-browser Chrome OS code to be used.
"+chromeos",
"+third_party/cros_system_api",
# 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/WebAddressSpace.h",
"+third_party/WebKit/public/platform/WebContentSecurityPolicy.h",
"+third_party/WebKit/public/platform/WebCursorInfo.h",
"+third_party/WebKit/public/platform/WebDisplayMode.h",
"+third_party/WebKit/public/platform/WebDragOperation.h",
"+third_party/WebKit/public/platform/WebFeaturePolicy.h",
"+third_party/WebKit/public/platform/WebFeaturePolicyFeature.h",
"+third_party/WebKit/public/platform/WebFocusType.h",
"+third_party/WebKit/public/platform/WebGestureEvent.h",
"+third_party/WebKit/public/platform/WebInputEvent.h",
"+third_party/WebKit/public/platform/WebInsecureRequestPolicy.h",
"+third_party/WebKit/public/platform/WebKeyboardEvent.h",
"+third_party/WebKit/public/platform/WebMixedContentContextType.h",
"+third_party/WebKit/public/platform/WebMouseEvent.h",
"+third_party/WebKit/public/platform/WebMouseWheelEvent.h",
"+third_party/WebKit/public/platform/WebPageVisibilityState.h",
"+third_party/WebKit/public/platform/WebReferrerPolicy.h",
"+third_party/WebKit/public/platform/WebScreenInfo.h",
"+third_party/WebKit/public/platform/WebSecurityStyle.h",
"+third_party/WebKit/public/platform/WebTouchEvent.h",
"+third_party/WebKit/public/platform/WebTextInputType.h",
"+third_party/WebKit/public/platform/mime_registry.mojom.h",
"+third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom.h",
"+third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom.h",
"+third_party/WebKit/public/platform/modules/broadcastchannel/broadcast_channel.mojom.h",
"+third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseException.h",
"+third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h",
"+third_party/WebKit/public/platform/modules/installedapp/installed_app_provider.mojom.h",
"+third_party/WebKit/public/platform/modules/installedapp/related_application.mojom.h",
"+third_party/WebKit/public/platform/modules/keyboard_lock/keyboard_lock.mojom.h",
"+third_party/WebKit/public/platform/modules/mediasession/media_session.mojom.h",
"+third_party/WebKit/public/platform/modules/notifications/WebNotificationConstants.h",
"+third_party/WebKit/public/platform/modules/notifications/notification.mojom.h",
"+third_party/WebKit/public/platform/modules/notifications/notification_service.mojom.h",
"+third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom.h",
"+third_party/WebKit/public/platform/modules/permissions/permission.mojom.h",
"+third_party/WebKit/public/platform/modules/permissions/permission_status.mojom.h",
"+third_party/WebKit/public/platform/modules/presentation/presentation.mojom.h",
"+third_party/WebKit/public/platform/modules/push_messaging/WebPushPermissionStatus.h",
"+third_party/WebKit/public/platform/modules/screen_orientation/WebLockOrientationError.h",
"+third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationLockType.h",
"+third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationType.h",
"+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheError.h",
"+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerError.h",
"+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerEventResult.h",
"+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponseError.h",
"+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponseType.h",
"+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerState.h",
"+third_party/WebKit/public/platform/modules/serviceworker/service_worker_event_status.mojom.h",
"+third_party/WebKit/public/platform/modules/serviceworker/service_worker_stream_handle.mojom.h",
"+third_party/WebKit/public/platform/modules/websockets/websocket.mojom.h",
"+third_party/WebKit/public/public_features.h",
"+third_party/WebKit/public/web/WebAXEnums.h",
"+third_party/WebKit/public/web/WebCompositionUnderline.h",
"+third_party/WebKit/public/web/WebConsoleMessage.h",
"+third_party/WebKit/public/web/WebContextMenuData.h",
"+third_party/WebKit/public/web/WebDeviceEmulationParams.h",
"+third_party/WebKit/public/web/WebDragStatus.h",
"+third_party/WebKit/public/web/WebFindOptions.h",
"+third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h",
"+third_party/WebKit/public/web/WebMediaPlayerAction.h",
"+third_party/WebKit/public/web/WebPluginAction.h",
"+third_party/WebKit/public/web/WebPopupType.h",
"+third_party/WebKit/public/web/WebSandboxFlags.h",
"+third_party/WebKit/public/web/WebSerializedScriptValueVersion.h",
"+third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h",
"+third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h",
"+third_party/WebKit/public/web/WebTextDirection.h",
"+third_party/WebKit/public/web/WebTreeScopeType.h",
"+third_party/WebKit/public/web/mac/WebScrollbarTheme.h",
# DO NOT ADD ANY CHROME OR COMPONENTS INCLUDES HERE!!!
# See https://sites.google.com/a/chromium.org/dev/developers/content-module
# for more information.
]
|