Skip to content

Commit 9390b8f

Browse files
committed
build?
1 parent 9532631 commit 9390b8f

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
Set-Location ../skia
6161
../depot_tools/python-bin/python3.bat tools/git-sync-deps
6262
63-
- name: Build ${{ matrix.arch }}
63+
- name: Build
6464
shell: pwsh
6565
run: |
6666
depot_tools/python-bin/python3.bat scripts/build.py windows all

scripts/build.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,7 @@ def gen_macos(arch, self_contained, args):
200200

201201
args["extra_cflags"].extend([
202202
"-DSKIA_C_DLL",
203-
"-DHAVE_ARC4RANDOM_BUF",
204-
"-stdlib=libc++",
205-
])
206-
args["extra_ldflags"].extend([
207-
"-stdlib=libc++",
203+
"-DHAVE_ARC4RANDOM_BUF"
208204
])
209205

210206

@@ -287,7 +283,7 @@ def build_target(target_os, arch, self_contained, debug):
287283
if not has_env_flag("DEBUG_SKIP_BUILD"):
288284
# On Windows, prefer the gn.bat inside depot_tools to ensure batch wrapper is used.
289285
if os.name == "nt" or sys.platform.startswith("win"):
290-
gn_cmd = "../depot_tools/gn.bat"
286+
gn_cmd = os.path.abspath(os.path.join("..", "depot_tools", "gn.bat"))
291287
else:
292288
gn_cmd = "gn"
293289
subprocess.run([gn_cmd, 'gen', gn_dir], check = True)

0 commit comments

Comments
 (0)