Skip to content

Commit

Permalink
[COIL] Change chromium code search type links to use main rather than…
Browse files Browse the repository at this point in the history
… master for build

    See this doc: go/chromium-coil-change for more info
    BUG=1210385

Change-Id: I0c1bad1cad0584f5f5137b340c89b19e541285fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2902864
Auto-Submit: John Palmer <jopalmer@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/master@{#884603}
  • Loading branch information
John Palmer authored and Chromium LUCI CQ committed May 19, 2021
1 parent e1d0209 commit 58f5d9f
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ projects, and so should be avoided.

Changes to `//build` should be landed in the Chromium repo. They will then be
replicated to the stand-alone [build repo](https://chromium.googlesource.com/chromium/src/build)
by the [gsubtreed tool.](https://chromium.googlesource.com/infra/infra/+/master/infra/services/gsubtreed)
by the [gsubtreed tool.](https://chromium.googlesource.com/infra/infra/+/main/infra/services/gsubtreed)
Note: You can find all directories already available through gsubtreed in the
[list of all chromium repos](https://chromium.googlesource.com/).

Expand Down
2 changes: 1 addition & 1 deletion build/android/adb_gdb
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ EOF
echo "GDB wrapper script: $SYM_GDB"
echo "App executable: $SYM_EXE"
echo "gdbinit: $SYM_INIT"
echo "Connect with vscode: https://chromium.googlesource.com/chromium/src/+/master/docs/vscode.md#Launch-Commands"
echo "Connect with vscode: https://chromium.googlesource.com/chromium/src/+/main/docs/vscode.md#Launch-Commands"
echo "Showing gdbserver logs. Press Ctrl-C to disconnect."
tail -f "$GDBSERVER_LOG"
else
Expand Down
4 changes: 2 additions & 2 deletions build/android/docs/build_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,6 @@ build/android/gyp/write_build_config.py \
python tools/md_browser/md_browser.py -d /tmp /tmp/format.md
```

[build/android/gyp/]: https://chromium.googlesource.com/chromium/src/build/+/master/android/gyp/
[build/android/gyp/]: https://chromium.googlesource.com/chromium/src/build/+/main/android/gyp/
[gn_write_build_config]: https://cs.chromium.org/chromium/src/build/config/android/internal_rules.gni?q=write_build_config&sq=package:chromium
[write_build_config_py]: https://chromium.googlesource.com/chromium/src/build/+/master/android/gyp/write_build_config.py
[write_build_config_py]: https://chromium.googlesource.com/chromium/src/build/+/main/android/gyp/write_build_config.py
2 changes: 1 addition & 1 deletion build/android/docs/lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ These suppressions files should only be used for temporarily ignoring warnings
that are too hard (or not possible) to suppress locally, and permanently
ignoring warnings only for this target. To permanently ignore a warning for all
targets, add the warning to the `_DISABLED_ALWAYS` list in
[build/android/gyp/lint.py](https://source.chromium.org/chromium/chromium/src/+/master:build/android/gyp/lint.py).
[build/android/gyp/lint.py](https://source.chromium.org/chromium/chromium/src/+/main:build/android/gyp/lint.py).
Disabling globally makes lint a bit faster.

The exception to the above rule is for warnings that affect multiple languages.
Expand Down
2 changes: 1 addition & 1 deletion build/android/gyp/assert_static_initializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def main():
print(' //tools/binary_size/diagnose_bloat.py')
print()
print('For more information:')
print(' https://chromium.googlesource.com/chromium/src/+/master/docs/'
print(' https://chromium.googlesource.com/chromium/src/+/main/docs/'
'static_initializers.md')
sys.exit(1)

Expand Down
2 changes: 1 addition & 1 deletion build/android/gyp/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from util import manifest_utils
from util import server_utils

_LINT_MD_URL = 'https://chromium.googlesource.com/chromium/src/+/master/build/android/docs/lint.md' # pylint: disable=line-too-long
_LINT_MD_URL = 'https://chromium.googlesource.com/chromium/src/+/main/build/android/docs/lint.md' # pylint: disable=line-too-long

# These checks are not useful for chromium.
_DISABLED_ALWAYS = [
Expand Down
2 changes: 1 addition & 1 deletion build/android/gyp/proguard.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def stderr_filter(stderr):
stderr += """
You may need to update build configs to run FragmentActivityReplacer for
additional targets. See
https://chromium.googlesource.com/chromium/src.git/+/master/docs/ui/android/bytecode_rewriting.md.
https://chromium.googlesource.com/chromium/src.git/+/main/docs/ui/android/bytecode_rewriting.md.
"""
elif had_unfiltered_items:
# Left only with empty headings. All indented items filtered out.
Expand Down
2 changes: 1 addition & 1 deletion build/build_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
#error Please add support for your platform in build/build_config.h
#endif
// NOTE: Adding a new port? Please follow
// https://chromium.googlesource.com/chromium/src/+/master/docs/new_port_policy.md
// https://chromium.googlesource.com/chromium/src/+/main/docs/new_port_policy.md

#if defined(OS_MAC) || defined(OS_IOS)
#define OS_APPLE 1
Expand Down
4 changes: 2 additions & 2 deletions build/chromeos/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def run_test(self):
# Traps SIGTERM and kills all child processes of cros_run_test when it's
# caught. This will allow us to capture logs from the device if a test hangs
# and gets timeout-killed by swarming. See also:
# https://chromium.googlesource.com/infra/luci/luci-py/+/master/appengine/swarming/doc/Bot.md#graceful-termination_aka-the-sigterm-and-sigkill-dance
# https://chromium.googlesource.com/infra/luci/luci-py/+/main/appengine/swarming/doc/Bot.md#graceful-termination_aka-the-sigterm-and-sigkill-dance
test_proc = None

def _kill_child_procs(trapped_signal, _):
Expand Down Expand Up @@ -923,7 +923,7 @@ def main():
tast_test_parser = subparsers.add_parser(
'tast',
help='Runs a device-side set of Tast tests. For more details, see: '
'https://chromium.googlesource.com/chromiumos/platform/tast/+/master/docs/running_tests.md'
'https://chromium.googlesource.com/chromiumos/platform/tast/+/main/docs/running_tests.md'
)
tast_test_parser.set_defaults(func=device_test)
tast_test_parser.add_argument(
Expand Down
2 changes: 1 addition & 1 deletion build/config/BUILDCONFIG.gn
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ declare_args() {
# When false, components will be linked statically.
#
# For more information see
# https://chromium.googlesource.com/chromium/src/+/master/docs/component_build.md
# https://chromium.googlesource.com/chromium/src/+/main/docs/component_build.md
is_component_build = is_debug && current_os != "ios"
}

Expand Down
4 changes: 2 additions & 2 deletions build/config/chromeos/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ declare_args() {
# linux-chromeos, so some have compile-time asserts that intentionally fail
# when this build flag is set. Build and run the tests for linux-chromeos
# instead.
# https://chromium.googlesource.com/chromium/src/+/master/docs/chromeos_build_instructions.md
# https://chromium.googlesource.com/chromiumos/docs/+/master/simple_chrome_workflow.md
# https://chromium.googlesource.com/chromium/src/+/main/docs/chromeos_build_instructions.md
# https://chromium.googlesource.com/chromiumos/docs/+/main/simple_chrome_workflow.md
is_chromeos_device = false
}
4 changes: 2 additions & 2 deletions build/config/chromeos/rules.gni
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ template("tast_test") {
if (!defined(tast_attr_expr) && !defined(tast_tests)) {
# The following expression filters out all non-critical tests. See the link
# below for more details:
# https://chromium.googlesource.com/chromiumos/platform/tast/+/master/docs/test_attributes.md
# https://chromium.googlesource.com/chromiumos/platform/tast/+/main/docs/test_attributes.md
tast_attr_expr = "\"group:mainline\" && \"dep:chrome\""

if (defined(enable_tast_informational_tests) &&
Expand Down Expand Up @@ -451,7 +451,7 @@ template("lacros_tast_tests") {
# use it for testing. To support running lacros tast tests from Chromium CI,
# a Var is added to support pointing the tast tests to use a specified
# pre-deployed lacros-chrome. The location is decided by:
# https://source.chromium.org/chromium/chromium/src/+/master:third_party/chromite/scripts/deploy_chrome.py;l=80;drc=86f1234a4be8e9574442e076cdc835897f7bea61
# https://source.chromium.org/chromium/chromium/src/+/main:third_party/chromite/scripts/deploy_chrome.py;l=80;drc=86f1234a4be8e9574442e076cdc835897f7bea61
tast_vars = [ "lacrosDeployedBinary=/usr/local/lacros-chrome" ]

data_deps = [
Expand Down
4 changes: 2 additions & 2 deletions build/config/compiler/compiler.gni
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ declare_args() {
# Technology (CET). If Windows version and hardware supports the feature and
# it's enabled by OS then additional validation of return address will be
# performed as mitigation against Return-oriented programming (ROP).
# https://chromium.googlesource.com/chromium/src/+/master/docs/design/sandbox.md#cet-shadow-stack
# https://chromium.googlesource.com/chromium/src/+/main/docs/design/sandbox.md#cet-shadow-stack
enable_cet_shadow_stack = target_cpu == "x64"
}

Expand Down Expand Up @@ -216,7 +216,7 @@ declare_args() {
# results independent of the checkout and build directory names, which
# in turn is important for goma compile hit rate.
# Setting this to true may make it harder to debug binaries on Linux, see
# https://chromium.googlesource.com/chromium/src/+/master/docs/linux/debugging.md#Source-level-debug-with-fdebug_compilation_dir
# https://chromium.googlesource.com/chromium/src/+/main/docs/linux/debugging.md#Source-level-debug-with-fdebug_compilation_dir
# It's not clear if the crash server will correctly handle dSYMs with relative
# paths, so we disable this feature for official benefit. The main benefit is
# deterministic builds to reduce compile times, so this is less relevant for
Expand Down
2 changes: 1 addition & 1 deletion build/fuchsia/binary_sizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def CreateTestResults(test_status, timestamp):
"""Create test results data to write to JSON test results file.
The JSON data format is defined in
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/json_test_results_format.md
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/json_test_results_format.md
"""

results = {
Expand Down
2 changes: 1 addition & 1 deletion build/install-build-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# found in the LICENSE file.

# Script to install everything needed to build chromium (well, ideally, anyway)
# See https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md
# See https://chromium.googlesource.com/chromium/src/+/main/docs/linux/build_instructions.md

usage() {
echo "Usage: $0 [--options]"
Expand Down

0 comments on commit 58f5d9f

Please sign in to comment.