summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/DEPS
blob: 5076d74f6280e33ddd3c81c325e431729fdfed5e (plain)
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
include_rules = [
    # To only allow a subset of base/ in Blink, we explicitly list all
    # directories and files instead of writing 'base/'.
    "+base/allocator/buildflags.h",
    "+base/allocator/partition_allocator",
    "+base/android/build_info.h",
    "+base/atomic_ref_count.h",
    "+base/bind.h",
    "+base/callback_helpers.h",
    "+base/bit_cast.h",
    "+base/command_line.h",
    "+base/compiler_specific.h",
    "+base/cpu.h",
    "+base/feature_list.h",
    "+base/files",
    "+base/containers/flat_map.h",
    "+base/guid.h",
    "+base/json",
    "+base/location.h",
    "+base/logging.h",
    "+base/mac/mac_util.h",
    "+base/memory",
    "+base/observer_list.h",
    "+base/observer_list_threadsafe.h",
    "+base/memory/shared_memory.h",
    "+base/message_loop/message_loop.h",
    "+base/metrics/histogram.h",
    "+base/metrics/histogram_base.h",
    "+base/metrics/histogram_functions.h",
    "+base/metrics/histogram_macros.h",
    "+base/metrics/histogram_samples.h",
    "+base/metrics/sparse_histogram.h",
    "+base/no_destructor.h",
    "+base/numerics/checked_math.h",
    "+base/numerics/safe_conversions.h",
    "+base/process/memory.h",
    "+base/rand_util.h",
    "+base/run_loop.h",
    "+base/strings/pattern.h",
    "+base/strings/string_split.h",
    "+base/strings/string_util.h",
    "+base/strings/stringprintf.h",
    "+base/synchronization/waitable_event.h",
    "+base/android/sys_utils.h",
    "+base/system/sys_info.h",
    "+base/task/sequence_manager/task_time_observer.h",
    "+base/test",
    "+base/test/fuzzed_data_provider.h",
    "+base/threading/platform_thread.h",
    "+base/threading/thread_task_runner_handle.h",
    "+base/threading/thread_restrictions.h",
    "+base/time",
    "+base/timer",
    "+base/trace_event",
    "+base/unguessable_token.h",
    "+base/values.h",
    "+base/lazy_instance.h",
    "+net/base/filename_util.h",
    "+net/http/http_util.h",
    "+net/http/http_request_headers.h",
    "+net/http/http_response_headers.h",
    "+device",
    "+gpu/GLES2",
    "+gpu/command_buffer/common/sync_token.h",
    "+mojo/public",
    "+mozilla",
    "+services/metrics/public/cpp/metrics_utils.h",
    "+services/metrics/public/cpp/ukm_builders.h",
    "+services/metrics/public/cpp/ukm_entry_builder.h",
    "+services/metrics/public/cpp/ukm_recorder.h",
    "+services/metrics/public/cpp/ukm_source_id.h",
    "+services/network/public/cpp",
    "+services/network/public/mojom",
    "+services/viz/public/mojom/compositing/compositor_frame_sink.mojom-blink.h",
    "+skia/ext",
    #TODO(nverne): remove this
    "+third_party/blink/public/web/blink.h",
    "+third_party/ced/src/compact_enc_det/compact_enc_det.h",
    "+third_party/khronos",
    "+third_party/skia",
    "+ui/base/cursor/cursor.h",
    "+ui/base/prediction",
    "+ui/base/resource/scale_factor.h",
    "+ui/display/mojom",
    "+ui/display/screen_info.h",
    "+ui/display/screen_infos.h",
    "+ui/gfx",
    "+url",
    "+webp",
    "+build/mac",
    "+build/win",
    "-third_party/blink/renderer/bindings",
    "-third_party/blink/renderer/core",
    "-third_party/blink/renderer/modules",
]

specific_include_rules = {
    "crypto\.(cc|h)": [
        "+crypto",
        "+third_party/boringssl/src/include",
    ],
    "platform.cc": [
        "+components/viz/common/gpu/raster_context_provider.h",
        "+gpu/ipc/client/gpu_channel_host.h",
    ],
    "web_url_error\.cc": [
        "+net/base/net_errors.h"
    ],
    "ukm_time_aggregator_test.cc" : [
        "+components/ukm/test_ukm_recorder.h"
    ],
    "search_engine_utils.cc": [
        "+components/search_engines/search_engine_utils.h"
    ],
}