skia2/gn
Ben Wagner ee2ffc3b43 Delete .a file before writing static library.
The ar utility only adds symbols. As a result removed symbols are
sometimes still present in later builds, leading to great confusion.
Delete the .a file before recreating it with ar.

This is similar to what Chromium currently does in gcc_toolchain.gni.
However, we cannot always just use 'rm' because of the build for Android
on Windows, so this introduces 'rm.py' which is just like 'cp.py' but
without the copy part.

Bug: skia:10363
Change-Id: Icc0c3d18dab1e48ccfec47386662c7b4d2dc8811
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/295569
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2020-06-11 17:19:23 +00:00
..
toolchain Delete .a file before writing static library. 2020-06-11 17:19:23 +00:00
__init__.py
bench.gni Reland "Add create backend texture with color upload bench." 2020-05-05 00:43:52 +00:00
BUILD.gn does -fms-compatibility-version=19 still matter? 2020-06-02 18:41:44 +00:00
BUILDCONFIG.gn reformat GN files 2020-04-01 23:23:03 +00:00
call.py [minor] mark scripts as executable 2019-11-21 17:06:27 +00:00
checkdir.py fix print functions for python3 gn scripts 2020-03-06 17:42:39 +00:00
checkpath.py Python3 tweaks 2019-12-17 17:12:03 +00:00
codesign_ios.py [minor] mark scripts as executable 2019-11-21 17:06:27 +00:00
compile_ib_files.py Reland "Add launch screen to iOS apps" 2019-09-05 14:05:08 +00:00
compile_processors.py Fetch clang-format automatically when compiling .fp files. 2020-06-11 17:19:22 +00:00
copy_git_directory.py GN tools: copy_git_directory.py better error message. 2019-11-19 17:04:18 +00:00
core.gni Remove SkReader32, and some API from SkWriter32 2020-06-10 16:45:56 +00:00
cp.py [minor] mark scripts as executable 2019-11-21 17:06:27 +00:00
create_sksl_enums.py [minor] mark scripts as executable 2019-11-21 17:06:27 +00:00
effects_imagefilters.gni Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
effects.gni harmonize rewrite-includes and gn-format checks 2020-04-03 17:00:54 +00:00
find_headers.py Python3 tweaks 2019-12-17 17:12:03 +00:00
find_msvc.py Add Preview to list of possible MSVC versions. 2020-04-30 19:54:33 +00:00
find_xcode_sysroot.py fix print functions for python3 gn scripts 2020-03-06 17:42:39 +00:00
flutter_defines.gni ignore SK_DISABLE_READBUFFER 2020-06-09 16:16:57 +00:00
fuchsia_defines.gni remove legacy hinting-enum guards 2018-11-28 20:15:03 +00:00
gen_plist_ios.py [minor] mark scripts as executable 2019-11-21 17:06:27 +00:00
gm.gni Update GrFragmentProcessor::SwizzleOutput to use a child FP. 2020-06-04 17:31:46 +00:00
gn_meta_sln.py fix print functions for python3 gn scripts 2020-03-06 17:42:39 +00:00
gn_to_bp_utils.py Android test to depend on icu and harfbuzz. 2020-06-02 21:26:25 +00:00
gn_to_bp.py Regularize selection of fontmgr. 2020-06-11 12:28:03 +00:00
gn_to_cmake.py [infra] Change CMake build to use a temporary directory 2020-01-14 11:41:55 +00:00
gpu.gni Add D3D descriptor tables and bind to command list. 2020-06-10 01:05:03 +00:00
highest_version_dir.py fix print functions for python3 gn scripts 2020-03-06 17:42:39 +00:00
ios.gni harmonize rewrite-includes and gn-format checks 2020-04-03 17:00:54 +00:00
is_clang.py fix print functions for python3 gn scripts 2020-03-06 17:42:39 +00:00
make_gm_gni.py GMs: re-sort gni, script to regenerate gni, file name convention 2019-05-02 20:08:37 +00:00
opts.gni add structure for normal SKX opts 2020-06-05 13:48:39 +00:00
pdf.gni Make skia_use_xps option work on Windows 2020-03-24 17:09:33 +00:00
push_to_android.py
rm.py Delete .a file before writing static library. 2020-06-11 17:19:23 +00:00
run_sksllex.py Fetch clang-format automatically when compiling .fp files. 2020-06-11 17:19:22 +00:00
samples.gni Add an interactive sample that fits cubics to circular arcs 2020-06-09 23:04:03 +00:00
shared_sources.gni add structure for normal SKX opts 2020-06-05 13:48:39 +00:00
skia.gni Regularize selection of fontmgr. 2020-06-11 12:28:03 +00:00
sksl.gni Remove PremulInput and GrPremulInputFragmentProcessor.fp from Skia. 2020-06-08 21:04:46 +00:00
tests.gni Remove SkReader32, and some API from SkWriter32 2020-06-10 16:45:56 +00:00
utils.gni Split out coretext fontmgr factory. 2020-06-06 04:06:32 +00:00
xps.gni harmonize rewrite-includes and gn-format checks 2020-04-03 17:00:54 +00:00