summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/chrome_cleaner/chrome_cleaner_args.gni
blob: 1d0c19ea2bd6d990d82b564796bfc34a93d9aa89 (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
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

declare_args() {
  # If this is true, the build will look for extra Google-internal resources.
  # This should only be set on the Chrome Cleaner builders, not general
  # chromium builders, since it can cause tests to take longer.
  is_internal_chrome_cleaner_build = false

  # If this is true, builds an official release of the Chrome Cleanup Tool
  # (requires is_internal_chrome_cleaner_build=true).
  is_official_chrome_cleaner_build = false

  # Path to internal resources pulled from src-internal.
  #
  # TODO(crbug.com/985787): Chrome Cleanup Tool builders not using src-internal
  # will override this to a legacy path. Once they're all moved to src-interal,
  # hardcode this.
  chrome_cleaner_internal_root =
      "//chrome/chrome_cleaner/internal/chrome_cleaner_internal"
}

if (is_official_chrome_cleaner_build) {
  assert(is_internal_chrome_cleaner_build,
         "Official build needs internal resources")
}