Skip to content

Commit

Permalink
chromium: gn-native: Fix compile error with newest ninja
Browse files Browse the repository at this point in the history
The '-w dupbuild' has been removed in newest ninja
see ninja-build/ninja#2356

Change-Id: I1303a1e4aa85550667ced33184c929d0a691f16f
Signed-off-by: Jeffy Chen <[email protected]>
  • Loading branch information
JeffyCN committed May 8, 2024
1 parent fb18645 commit 34e14de
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dynamic-layers/recipes-browser/chromium/gn-native_%.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (C) 2024, Rockchip Electronics Co., Ltd
# Released under the MIT license (see COPYING.MIT for the terms)

# The '-w dupbuild' has been removed in newest ninja
# see https://github.com/ninja-build/ninja/pull/2356
do_compile:prepend() {
sed -i "s/'-w', 'dupbuild=err', //" ${S}/tools/gn/bootstrap/bootstrap.py
}

0 comments on commit 34e14de

Please sign in to comment.