mirror of
https://github.com/fw876/helloworld.git
synced 2026-12-05 08:01:07 +00:00
gn: update to git HEAD
This commit is contained in:
1 parent
2e6070362f
commit
46eff22a6a
4 files changed
+11
-28
No files matched your search
+3
-3
@@ -9,9 +9,9 @@ PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://gn.googlesource.com/gn.git
|
||||
PKG_SOURCE_DATE:=2026-09-02
|
||||
PKG_SOURCE_VERSION:=356ee8a865882bb3615422539ef262e32b102030
|
||||
PKG_MIRROR_HASH:=393b617578292e7bfae1b07e9758485688fb6569aab11c053765671596628cca
|
||||
PKG_SOURCE_DATE:=2026-10-15
|
||||
PKG_SOURCE_VERSION:=f90c3d9df882a9da4a66457f47dd3d99b3df3dd5
|
||||
PKG_MIRROR_HASH:=19dc671e1597478052443bdcb852c13320bd64f0a658e7d9e7f7d1ee93953cab
|
||||
|
||||
PKG_LICENSE:=BSD 3-Clause
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/build/gen.py
|
||||
+++ b/build/gen.py
|
||||
@@ -254,6 +254,23 @@ def is_gcc(cxx):
|
||||
@@ -258,6 +258,23 @@ def is_gcc(cxx):
|
||||
|
||||
return ret.returncode == 0 and "#define __GNUC__" in ret.stdout and not "#define __clang__" in ret.stdout
|
||||
|
||||
@@ -21,10 +21,10 @@
|
||||
+ return int(match.group(1)) if match else None
|
||||
+
|
||||
+
|
||||
def GenerateLastCommitPosition(host, header):
|
||||
def GenerateLastCommitPosition(host, header, generate_dummy):
|
||||
ROOT_TAG = 'initial-commit'
|
||||
if os.path.isdir(os.path.join(REPO_ROOT, '.git')):
|
||||
@@ -553,6 +570,12 @@ def WriteGNNinja(path, platform, host, o
|
||||
if not generate_dummy and os.path.isdir(os.path.join(REPO_ROOT, '.git')):
|
||||
@@ -557,6 +574,12 @@ def WriteGNNinja(path, platform, host, o
|
||||
libs = []
|
||||
|
||||
if not platform.is_msvc():
|
||||
@@ -37,7 +37,7 @@
|
||||
if options.debug:
|
||||
cflags.extend(['-O0', '-g'])
|
||||
# Enable libc++ or libstdc++ assertions in debug mode.
|
||||
@@ -625,9 +648,13 @@ def WriteGNNinja(path, platform, host, o
|
||||
@@ -629,9 +652,13 @@ def WriteGNNinja(path, platform, host, o
|
||||
'-Wextra-semi',
|
||||
'-Wundef',
|
||||
|
||||
@@ -52,20 +52,3 @@
|
||||
if is_gcc(cxx):
|
||||
cflags.append('-Wno-redundant-move')
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336
|
||||
--- a/src/gn/command_suggest.cc
|
||||
+++ b/src/gn/command_suggest.cc
|
||||
@@ -566,7 +566,14 @@ SuggestResult OutputSuggestions(const st
|
||||
}
|
||||
return SuggestResult::kFailure;
|
||||
}
|
||||
+#if defined(GN_CLANG_BEFORE_16)
|
||||
+ const auto& [structured_includer, structured_dep_kind] =
|
||||
+ includer_targets.front();
|
||||
+ const auto includer = structured_includer;
|
||||
+ const auto dep_kind = structured_dep_kind;
|
||||
+#else
|
||||
const auto& [includer, dep_kind] = includer_targets.front();
|
||||
+#endif
|
||||
current_toolchain = includer->label().GetToolchainLabel();
|
||||
|
||||
std::string_view dep_field =
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/build/gen.py
|
||||
+++ b/build/gen.py
|
||||
@@ -490,12 +490,6 @@
|
||||
@@ -494,12 +494,6 @@ def WriteGenericNinja(path, static_libra
|
||||
'check_all',
|
||||
inputs=[
|
||||
ninja.RunBinary(
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef OUT_LAST_COMMIT_POSITION_H_
|
||||
#define OUT_LAST_COMMIT_POSITION_H_
|
||||
|
||||
#define LAST_COMMIT_POSITION_NUM 2552
|
||||
#define LAST_COMMIT_POSITION "2552 (356ee8a86588)"
|
||||
#define LAST_COMMIT_POSITION_NUM 2599
|
||||
#define LAST_COMMIT_POSITION "2599 (f90c3d9df882)"
|
||||
|
||||
#endif // OUT_LAST_COMMIT_POSITION_H_
|
||||
Reference in new issue
Block a user