precompile.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Copyright 2016 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifdef THIRD_PARTY_BLINK_RENDERER_BUILD_WIN_PRECOMPILE_H_
  5. #error You shouldn't include the precompiled header file more than once.
  6. #endif
  7. #define THIRD_PARTY_BLINK_RENDERER_BUILD_WIN_PRECOMPILE_H_
  8. // Precompiled header for Blink when built on Windows using
  9. // GYP-generated project files. Not used by other build
  10. // configurations.
  11. //
  12. // Using precompiled headers speeds the build up significantly. On a
  13. // fast machine (HP Z600, 12 GB of RAM), an ~18% decrease in full
  14. // build time was measured.
  15. #define _USE_MATH_DEFINES // Make math.h behave like other platforms.
  16. #include <Windows.h>
  17. #include <errno.h>
  18. #include <fcntl.h>
  19. #include <limits.h>
  20. #include <math.h>
  21. #include <stdarg.h>
  22. #include <stddef.h>
  23. #include <stdio.h>
  24. #include <stdlib.h>
  25. #include <string.h>
  26. #include <time.h>
  27. #include <algorithm>
  28. #include <ciso646>
  29. #include <cmath>
  30. #include <cstddef>
  31. #include <limits>
  32. #include <string>
  33. #include <utility>