add watchman to third-party, build ext_facts and ext_watchman by default (#8820)
commit84ced7480b337f0414a14a886b6670089dc33827
authorFred Emmott <fe@fb.com>
Wed, 5 May 2021 03:27:05 +0000 (4 20:27 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 5 May 2021 03:28:26 +0000 (4 20:28 -0700)
tree6ef834e3bd827599a7035f23fc53aa42742139c9
parentb1dcc12ae1595ef5fa7a1cce0ecf2cc1469179de
add watchman to third-party, build ext_facts and ext_watchman by default (#8820)

Summary:
Unblocks external use of the native non-repo-auth autoloader

Pull Request resolved: https://github.com/facebook/hhvm/pull/8820

Test Plan:
- hhvm-mac and hhvm-cmake jobs
- HSL tests (use native autoloader) fail on OSS builds as watchman isn't configured, but show the extension is at least initializing correctly

```
fredemmott@fredemmott-fbmbp hsl % HHVM_BIN=$HOME/code/hhvm/build/hphp/hhvm/hhvm ./minitest.sh
Possible bad config node: Autoload.DBPath
Failed to update native autoloader, not natively autoloading /Users/fredemmott/code/hhvm/hphp/hsl. watchman::CommandValidationError: failed to validate command: resolve_projpath:  None of the files listed in global config root_files are present in path `/Users/fredemmott/code/hhvm/hphp/hsl` or any of its parent directories.  root_files is defined by the `/etc/watchman.json` config file and includes `.watchmanconfig`.  One or more of these files must be present in order to allow a watch. Try pulling and checking out a newer version of the project?

ext_facts is required
```

Reviewed By: jthemphill

Differential Revision: D27542496

fbshipit-source-id: 67054b0831dfd645d970f489f07ef51ed85fb47e
CMake/HHVMExtensionConfig.cmake
CMakeLists.txt
hphp/runtime/ext/facts/autoload-db.cpp
hphp/runtime/ext/facts/config.cmake
hphp/runtime/ext/facts/fact-extractor.cpp
hphp/runtime/ext/facts/symbol-map.h
hphp/runtime/ext/watchman/config.cmake
third-party/CMakeLists.txt
third-party/watchman/CMakeLists.txt [new file with mode: 0644]
third-party/watchman/cppclient-CMakeLists.txt [new file with mode: 0644]