aboutsummaryrefslogtreecommitdiff
path: root/DEPS
blob: 444ddeca9657cda95f5489b1d4aed276ba2aec23 (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
116
117
118
# This file is used to manage the dependencies of the Open Screen repo. It is
# used by gclient to determine what version of each dependency to check out.
#
# For more information, please refer to the official documentation:
#   https://sites.google.com/a/chromium.org/dev/developers/how-tos/get-the-code
#
# When adding a new dependency, please update the top-level .gitignore file
# to list the dependency's destination directory.

use_relative_paths = True

vars = {
    'boringssl_git': 'https://boringssl.googlesource.com',
    'chromium_git': 'https://chromium.googlesource.com',

    # TODO(jophba): move to googlesource external for github repos.
    'github': "https://github.com",

    # NOTE: Strangely enough, this will be overridden by any _parent_ DEPS, so
    # in Chromium it will correctly be True.
    'build_with_chromium': False,

    'gn_version': 'git_revision:0790d3043387c762a6bacb1ae0a9ebe883188ab2',
    'checkout_chromium_quic_boringssl': False,
}

deps = {
    'buildtools': {
        'url': Var('chromium_git')+ '/chromium/src/buildtools' +
            '@' + 'd5c58b84d50d256968271db459cd29b22bff1ba2',
        'condition': 'not build_with_chromium',
    },
    'buildtools/linux64': {
        'packages': [
            {
                'package': 'gn/gn/linux-amd64',
                'version': Var('gn_version'),
            },
        ],
        'dep_type': 'cipd',
        'condition': 'checkout_linux',
    },
    'buildtools/mac': {
        'packages': [
            {
                'package': 'gn/gn/mac-amd64',
                'version': Var('gn_version'),
            },
        ],
        'dep_type': 'cipd',
        'condition': 'checkout_mac',
    },
    'third_party/googletest/src': {
        'url': Var('chromium_git') +
            '/external/github.com/google/googletest.git' +
            '@' + 'dfa853b63d17c787914b663b50c2095a0c5b706e',
        'condition': 'not build_with_chromium',
    },

    'third_party/mDNSResponder/src': {
        'url': Var('github') + '/jevinskie/mDNSResponder.git' +
            '@' + '2942dde61f920fbbf96ff9a3840567ebbe7cb1b6',
        'condition': 'not build_with_chromium',
    },

    'third_party/boringssl/src': {
        'url' : Var('boringssl_git') + '/boringssl.git' +
            '@' + '6410e18e9190b6b0c71955119fbf3cae1b9eedb7',
        'condition': 'not build_with_chromium',
    },

    'third_party/chromium_quic/src': {
        'url': Var('chromium_git') + '/openscreen/quic.git' +
            '@' + '7d93e9aedb51c3e516924f526a8ce74bc4843ffc',
        'condition': 'not build_with_chromium',
    },

    'third_party/tinycbor/src':
        Var('chromium_git') + '/external/github.com/intel/tinycbor.git' +
        '@' + 'bfc40dcf909f1998d7760c2bc0e1409979d3c8cb',

    'third_party/abseil/src': {
        'url': Var('chromium_git') +
            '/external/github.com/abseil/abseil-cpp.git' +
            '@' + '5eea0f713c14ac17788b83e496f11903f8e2bbb0',
        'condition': 'not build_with_chromium',
    },
}

recursedeps = [
    'third_party/chromium_quic/src',
]

include_rules = [
    '+api',
    '+osp_base',
    '+msgs',
    '+platform',
    '+third_party',

    # Don't include abseil from the root so the path can change via include_dirs
    # rules when in Chromium.
    '-third_party/abseil',

    # Abseil whitelist.
    '+absl/algorithm/container.h',
    '+absl/base/thread_annotations.h',
    '+absl/strings/ascii.h',
    '+absl/strings/match.h',
    '+absl/strings/numbers.h',
    '+absl/strings/string_view.h',
    '+absl/types/optional.h',
    '+absl/types/span.h',
]

skip_child_includes = [
    'third_party/chromium_quic',
]