NUKE GYP#24
Conversation
|
OIn my end |
slipher
left a comment
There was a problem hiding this comment.
I added one fixup commit for the crash_generation_app resources to your branch. With that fixup commit plus #25 everything builds OK.
make check results:
PASS: src/processor/address_map_unittest.exe
PASS: src/processor/contained_range_map_unittest.exe
PASS: src/processor/disassembler_x86_unittest.exe
PASS: src/processor/basic_source_line_resolver_unittest.exe
PASS: src/processor/cfi_frame_info_unittest.exe
PASS: src/common/test_assembler_unittest.exe
PASS: src/processor/map_serializers_unittest.exe
PASS: src/processor/minidump_processor_unittest.exe
PASS: src/processor/fast_source_line_resolver_unittest.exe
PASS: src/processor/exploitability_unittest.exe
PASS: src/processor/minidump_unittest.exe
PASS: src/processor/static_address_map_unittest.exe
PASS: src/processor/static_contained_range_map_unittest.exe
PASS: src/processor/pathname_stripper_unittest.exe
PASS: src/processor/static_map_unittest.exe
PASS: src/processor/static_range_map_unittest.exe
PASS: src/processor/microdump_processor_unittest.exe
PASS: src/processor/postfix_evaluator_unittest.exe
PASS: src/processor/proc_maps_linux_unittest.exe
PASS: src/processor/range_map_truncate_lower_unittest.exe
PASS: src/processor/range_map_unittest.exe
PASS: src/processor/range_map_truncate_upper_unittest.exe
PASS: src/processor/stackwalker_amd64_unittest.exe
PASS: src/processor/stackwalker_arm_unittest.exe
PASS: src/processor/stackwalker_arm64_unittest.exe
PASS: src/processor/stackwalker_address_list_unittest.exe
PASS: src/processor/stackwalker_mips_unittest.exe
PASS: src/processor/stackwalker_mips64_unittest.exe
PASS: src/processor/stackwalker_x86_unittest.exe
PASS: src/processor/synth_minidump_unittest.exe
FAIL: src/client/windows/unittests/client_tests.exe
PASS: src/processor/minidump_dump_test
PASS: src/processor/microdump_stackwalk_machine_readable_test
PASS: src/processor/microdump_stackwalk_test
PASS: src/processor/minidump_stackwalk_machine_readable_test
PASS: src/processor/minidump_stackwalk_test
============================================================================
Testsuite summary for breakpad 0.1
============================================================================
# TOTAL: 36
# PASS: 35
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
| # Build Windows test binaries explicitly. check_PROGRAMS are normally only | ||
| # built by `make check`, so this target allows them to be included in normal | ||
| # Windows client builds. | ||
| .PHONY: windows-client-build windows-client-tests-build |
There was a problem hiding this comment.
Neither of the phony targets are needed:
- The crash generation app is already built by default since you added it to
bin_PROGRAMS. (I tested.) - It's not good to build the unit tests by default, particularly since the gtest dependency is not available without performing a manual action (downloading the repo or instructing
configureto use an external version). Also this is only one randomly selected unit test binary out of the 36 thatmake checkbuilds.
There was a problem hiding this comment.
Yes, that was a lousy attempt to mimick the GYP behavior like its build_all target, though GYP was duplicating the autoconf toolchain, so we definitely don't have to keep such duplication when dropping GYP.
7a8e7be to
5ebb112
Compare
|
Speaking of the
The But then after this PR we would have removed the GYP infrastructure to build |
NUKE GYP.
Disclaimer: the
Makefile.amwriting has been assisted by ChatGPT. By feeding the bot various dumps of GYP files, files generated by GYP and list of built files, and by iterating through some trial and errror process (mainly to fix some linkage ordering).