v8/gypfiles
kozyatinskiy ba9fc3d7bc Revert of [snapshot] Move builtins generation into mksnapshot (patchset #8 id:160001 of https://codereview.chromium.org/2760233005/ )
Reason for revert:
I think that this CL breaks chromium compilation on windows with clang (). All other CLs in the list looks trivial and don't change test/unittest/BUILD.gn.

[42456/47924] CXX obj/v8/test/unittests/unittests/value-serializer-unittest.obj
[42457/47924] LINK unittests.exe unittests.exe.pdb
FAILED: unittests.exe unittests.exe.pdb
E:/b/depot_tools/python276_bin/python.exe ../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x64 False link.exe /nologo /OUT:./unittests.exe /PDB:./unittests.exe.pdb @./unittests.exe.rsp
bitmap-unittest.obj : error LNK2019: unresolved external symbol "public: void __cdecl v8::internal::List<class v8::internal::AllocationObserver *,class v8::internal::FreeStoreAllocationPolicy>::Add(class v8::internal::AllocationObserver * const &,class v8::internal::FreeStoreAllocationPolicy)" (?Add@?$List@PEAVAllocationObserver@internal@v8@@VFreeStoreAllocationPolicy@23@@internal@v8@@QEAAXAEBQEAVAllocationObserver@23@VFreeStoreAllocationPolicy@23@@Z) referenced in function "public: virtual void __cdecl v8::internal::Space::AddAllocationObserver(class v8::internal::AllocationObserver *)" (?AddAllocationObserver@Space@internal@v8@@UEAAXPEAVAllocationObserver@23@@Z)

slot-set-unittest.obj : error LNK2001: unresolved external symbol "public: void __cdecl v8::internal::List<class v8::internal::AllocationObserver *,class v8::internal::FreeStoreAllocationPolicy>::Add(class v8::internal::AllocationObserver * const &,class v8::internal::FreeStoreAllocationPolicy)" (?Add@?$List@PEAVAllocationObserver@internal@v8@@VFreeStoreAllocationPolicy@23@@internal@v8@@QEAAXAEBQEAVAllocationObserver@23@VFreeStoreAllocationPolicy@23@@Z)

bitmap-unittest.obj : error LNK2019: unresolved external symbol "public: bool __cdecl v8::internal::List<class v8::internal::AllocationObserver *,class v8::internal::FreeStoreAllocationPolicy>::RemoveElement(class v8::internal::AllocationObserver * const &)" (?RemoveElement@?$List@PEAVAllocationObserver@internal@v8@@VFreeStoreAllocationPolicy@23@@internal@v8@@QEAA_NAEBQEAVAllocationObserver@23@@Z) referenced in function "public: virtual void __cdecl v8::internal::Space::RemoveAllocationObserver(class v8::internal::AllocationObserver *)" (?RemoveAllocationObserver@Space@internal@v8@@UEAAXPEAVAllocationObserver@23@@Z)

slot-set-unittest.obj : error LNK2001: unresolved external symbol "public: bool __cdecl v8::internal::List<class v8::internal::AllocationObserver *,class v8::internal::FreeStoreAllocationPolicy>::RemoveElement(class v8::internal::AllocationObserver * const &)" (?RemoveElement@?$List@PEAVAllocationObserver@internal@v8@@VFreeStoreAllocationPolicy@23@@internal@v8@@QEAA_NAEBQEAVAllocationObserver@23@@Z)

./unittests.exe : fatal error LNK1120: 2 unresolved externals

Original issue's description:
> [snapshot] Move builtins generation into mksnapshot
>
> and out of the main library. This saves about 5% of binary size
> (800KB on x64, 373KB on android_arm).
>
> Only the GN build is supported; the GYP build is maintained working
> but does not support the feature.
>
> BUG=v8:6055
> CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux_nosnap_rel;
>
> Review-Url: https://codereview.chromium.org/2760233005
> Cr-Commit-Position: refs/heads/master@{#44412}
> Committed: 4782bc0df8

TBR=jgruber@chromium.org,rmcilroy@chromium.org,machenbach@chromium.org,jkummerow@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:6055

Review-Url: https://codereview.chromium.org/2803903002
Cr-Commit-Position: refs/heads/master@{#44422}
2017-04-05 23:53:11 +00:00
..
mac [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
win [build] Use MSVS 2015 by default. 2016-12-01 08:50:57 +00:00
all.gyp [build] Make inspector the default in gyp 2017-03-30 15:08:31 +00:00
coverage_wrapper.py [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
detect_v8_host_arch.py [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
download_gold_plugin.py [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
features.gypi Revert of [snapshot] Move builtins generation into mksnapshot (patchset #8 id:160001 of https://codereview.chromium.org/2760233005/ ) 2017-04-05 23:53:11 +00:00
get_landmines.py [build] Landmine for flaky win compile problems. 2016-11-28 08:23:24 +00:00
gyp_environment.py [gn] Default to ninja on all platforms 2016-06-20 10:06:45 +00:00
gyp_v8 [gn] Switch off gyp in runhooks by default 2016-09-09 14:23:14 +00:00
gyp_v8.py [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
isolate.gypi [build] Remove remaining disable-inspector options in GN 2017-04-05 17:59:07 +00:00
landmine_utils.py [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
landmines.py [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
OWNERS [build] Pull "build" from chromium as dependency 2016-04-29 13:38:03 +00:00
README.txt [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
set_clang_warning_flags.gypi [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
shim_headers.gypi [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
standalone.gypi [build] Fix sysroot after jessy switch 2017-04-05 20:07:01 +00:00
toolchain.gypi [build] Fix gyp files for building inspector 2017-03-02 09:55:56 +00:00
vs_toolchain.py Remove NaCl support. 2016-07-27 07:50:31 +00:00

For build instructions, please refer to:

https://code.google.com/p/v8/wiki/BuildingWithGYP

TL;DR version on *nix:
$ make dependencies        # Only needed once.
$ make ia32.release -j8
$ make ia32.release.check  # Optionally: run tests.