Change type-scan opt-out from build switch to env variable.
commit3dadbdfd5f87401c9f0a1b8679c279a8e0a9d8a7
authorEdwin Smith <smith@fb.com>
Wed, 19 Oct 2016 15:17:33 +0000 (19 08:17 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Wed, 19 Oct 2016 15:22:33 +0000 (19 08:22 -0700)
tree07de717c863553aeaa7ea72711f44245660a9974
parent60b1a67a9d672a931b121006acc7d22b77b40d80
Change type-scan opt-out from build switch to env variable.

Summary: Using an environment variable is more buck-cache friendly.

Reviewed By: markw65

Differential Revision: D4037819

fbshipit-source-id: bb9aacbd531523a8a6ae59c57e10ba88402d7fbb
hphp/runtime/base/heap-collect.cpp
hphp/tools/type-info-gens/gen-type-scanners.cpp
hphp/util/type-scan.h