Rename the internal cppgc directory to src/heap/cppgc-internal/ to clearly distinguish it from the public include/cppgc/ headers and avoid potential naming confusion. The collision occurs on Windows builds where -Wmicrosoft-include is enabled by Clang in MSVC compatible mode. MSVC on Windows uses different order of directories where the files are searched by the compiler and `#include "cppgc/blah.h"` in public headers might end up including "src/heap/cppgc/blah.h" if it exists. All internal #include paths, include guards, and build configurations (BUILD.gn and BUILD.bazel) have been updated to reflect the new path. TAG=agy CONV=47b06028-d652-41a8-b4f1-39e3cc478096 Bug: 515252150 Change-Id: Idf7ca1d193a8b6bb9d53b22f01320f4363df36f4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7963663 Commit-Queue: Igor Sheludko <ishell@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Auto-Submit: Igor Sheludko <ishell@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> SLSA-Policy-Verified: SLSA Policy Verification Service <devtools-gerritcodereview-exitgate@google.com> Cr-Commit-Position: refs/heads/main@{#108143}
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
# Copyright 2020 the V8 project authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
INTERESTING_PATHS = [
|
|
'AUTHORS',
|
|
'CODE_OF_CONDUCT.md',
|
|
'LICENSE',
|
|
'samples/cppgc/**',
|
|
'src/base/**',
|
|
'src/heap/base/**',
|
|
'src/heap/cppgc-internal/**',
|
|
'include/cppgc/**',
|
|
'include/v8config.h',
|
|
'include/v8-platform.h',
|
|
'testing/**',
|
|
'test/unittests/heap/cppgc/**',
|
|
]
|
|
|
|
origin_url = 'https://chromium.googlesource.com/v8/v8.git'
|
|
# TODO(v8:10724): Add GitHub destination url.
|
|
destination_url = 'TODO'
|
|
|
|
# This workflow syncs cppgc source inside V8's googlesource repo with GitHub.
|
|
core.workflow(
|
|
name='default',
|
|
origin=git.origin(
|
|
url=origin_url,
|
|
ref='master',
|
|
),
|
|
destination=git.destination(url=destination_url, ),
|
|
origin_files=glob(INTERESTING_PATHS,
|
|
exclude=['samples/cppgc/cppgc-for-v8-embedders.cc']),
|
|
destination_files=glob(['**'], exclude=['CMakeLists.txt', 'cmake/**']),
|
|
mode='SQUASH',
|
|
authoring=authoring.pass_thru('V8 Team <v8-dev@googlegroups.com>'),
|
|
transformations=[
|
|
metadata.squash_notes(prefix='Export of V8 changes from ' +
|
|
origin_url + '\n\nList of included changes:\n\n')
|
|
]
|
|
)
|