Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
Bruce Dawson c74997418b Force define DEPRECATEDENUMERATOR for clang
The Fall Creators Update SDK uses DEPRECATEDENUMERATOR to mark some
enums as being deprecated but in the __cplusplus >= 201402 case it
fails to define it! This change forcibly defines it to work around
this header-file bug. This change avoids dozens of errors in
Windows.ApplicationModel.Contacts.h.

VS bug is filed here:
https://developercommunity.visualstudio.com/content/problem/131391/154-fails-to-define-deprecatedenumerator-2.html

Bug: 773476
Change-Id: I604228cac02f676e2c79e9a8e533fd332221b0cd
Reviewed-on: https://chromium-review.googlesource.com/717190
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#508862}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 00de4b5174c190b4d9f6120ef550a310ec740459
2017-10-13 23:21:23 +00:00
android [build/android] Remove dummy --device from resource_sizes.py 2017-10-13 15:22:23 +00:00
args Revert "Modify GN feature args for Fuchsia." 2017-08-08 17:40:53 +00:00
config Force define DEPRECATEDENUMERATOR for clang 2017-10-13 23:21:23 +00:00
docs build: Fix common misspellings 2017-08-01 09:03:13 +00:00
experimental Replace kochi-*.ttf with IPA Fonts 2017-08-28 23:01:11 +00:00
fuchsia Add |target_cpu| option to Fuchsia exe_/test_runner scripts. 2017-10-10 22:55:17 +00:00
git-hooks
internal Remove GYP files in breakpad, build, and tools. 2016-09-12 19:55:25 +00:00
ios Set Python shebang in build to /usr/bin/env python 2017-07-05 14:42:43 +00:00
linux Make linux sysroot script print nothing in the happy case where it needs to do nothing. 2017-10-10 21:50:31 +00:00
mac Upload CSChrome crash reports to crash. 2017-08-21 16:14:43 +00:00
sanitizers Removed TSAN suppression for GpuWatchdogThread::CheckArmed 2017-10-10 23:34:38 +00:00
secondary [Chrome Home Survey] Creates & hooks up survey info bar 2017-10-06 20:08:32 +00:00
slave
toolchain build: When targeting Android with Clang, use llvm-ar instead of NDK ar. 2017-10-13 22:32:20 +00:00
util Add resource size diff script 2017-09-13 20:31:05 +00:00
win Make reorder-imports.py not depend on .exe files. 2017-09-06 01:01:04 +00:00
.gitignore Revert "Add checkout_nacl gclient flag (default true) (attempt #2)" 2017-10-11 16:24:39 +00:00
OWNERS Add myself to build/OWNERS 2017-09-15 02:58:02 +00:00
OWNERS.status Add global status comments for owners 2017-04-07 07:03:46 +00:00
PRESUBMIT.py Add CQ_INCLUDE_TRYBOTS for GN header checkers 2017-06-12 22:52:46 +00:00
apply_locales.py
branding_value.sh
build-ctags.sh
build_config.h Remove x509_certificate_openssl and use_openssl_certs build flag 2017-09-08 04:44:13 +00:00
buildflag.h
buildflag_header.gni Remove som GYP annotations, remove unused manifest. 2016-09-27 21:20:37 +00:00
check_gn_headers.py Make dirty checking in check_gn_headers.py more robust 2017-06-17 00:12:04 +00:00
check_gn_headers_unittest.py Print detailed info in check_gn_headers.py 2017-06-13 10:21:23 +00:00
check_gn_headers_whitelist.txt Move ash_switches to public directory. 2017-10-04 02:01:36 +00:00
check_return_value.py
clobber.py Don't clobber symlinks to build directories 2017-01-19 17:42:58 +00:00
common.croc
common.gypi Gut gyp_chromium, common.gypi. 2016-09-21 22:29:06 +00:00
compiled_action.gni GN: forward_variables_from shouldn't clobber vars. 2016-05-03 01:09:10 +00:00
copy_test_data_ios.py
cp.py
detect_host_arch.py PPC/s390: [sysroot installer] Disable for host arch PPC/s390 2016-09-30 02:15:07 +00:00
dir_exists.py
dotfile_settings.gni For building v8 using gn on aix_ppc64, linux_s390x and linux_ppc64(both LE and BE). 2017-05-10 04:55:56 +00:00
download_nacl_toolchains.py
download_translation_unit_tool.py Package the translation_unit tool as part of building the clang package. 2017-05-25 05:58:00 +00:00
env_dump.py Set Python shebang in build to /usr/bin/env python 2017-07-05 14:42:43 +00:00
extract_from_cab.py
find_depot_tools.py find_depot_tools: put DEPS'd depot_tools first 2017-10-10 21:36:39 +00:00
find_isolated_tests.py
fix_gn_headers.py Support checking and fixing non-existing header files in GN 2017-04-29 07:12:17 +00:00
gdb-add-index gdb-add-index now removes its temp directory 2016-06-01 20:21:54 +00:00
get_landmines.py Add comment warning about modifying landmines 2017-06-30 01:25:11 +00:00
get_syzygy_binaries.py Automatically copy the DIA DLL in the Syzygy binaries directory. 2016-10-04 18:25:11 +00:00
gn_helpers.py build: Fix common misspellings 2017-08-01 09:03:13 +00:00
gn_helpers_unittest.py Add FromGNArgs() to gn_helpers. 2016-04-06 00:10:38 +00:00
gn_run_binary.py build: Fix common misspellings 2017-08-01 09:03:13 +00:00
gyp_chromium Revert of Remove the top-level GYP files (or stub them out). (patchset #2 id:20001 of https://codereview.chromium.org/2299543008/ ) 2016-09-07 16:43:47 +00:00
gyp_chromium.py Gut gyp_chromium, common.gypi. 2016-09-21 22:29:06 +00:00
gyp_environment.py Remove direct references to hermetic mac toolchain. 2016-10-13 21:38:05 +00:00
gyp_helper.py
gypi_to_gn.py Add documentation for exec_script and gypi_to_gn 2016-04-19 22:55:02 +00:00
install-build-deps-android.sh Remove support for Ubuntu/Precise sysroot 2017-04-07 16:20:20 +00:00
install-build-deps.sh Reland "Add libdconf-dev to to install-build-deps.sh" 2017-09-29 19:11:29 +00:00
install-chroot.sh build: Fix common misspellings 2017-08-01 09:03:13 +00:00
landmine_utils.py build: Fix common misspellings 2017-08-01 09:03:13 +00:00
landmines.py Add comment warning about modifying landmines 2017-06-27 16:04:46 +00:00
mac_toolchain.py Make mac toolchain update script print nothing in the happy case where it needs to do nothing. 2017-10-10 21:06:07 +00:00
nocompile.gni Switch nocompile_driver.py to libc++ and C++14 2017-08-01 00:23:32 +00:00
package_mac_toolchain.py Don't strip DNTDocumentationSupport for hermetic bundles. 2017-06-01 14:49:01 +00:00
precompile.cc
precompile.h Add base::stack, convert std::stack uses use it. 2017-10-02 18:55:28 +00:00
print_python_deps.py [Android] Fix stack symbolization when packed relocations are on. 2017-04-29 01:34:58 +00:00
protoc_java.py Fix android depfiles to always list GN's outputs[0] 2016-09-14 02:06:20 +00:00
redirect_stdout.py [Mac/GN] Add targets to run dump_syms and create the dSYM archive. 2016-06-09 22:59:07 +00:00
rm.py Unbreak mac component build. 2016-09-23 22:48:01 +00:00
run_swarming_xcode_install.py run_swarming_xcode_install: Add --dimension and a name tag 2017-09-28 22:25:40 +00:00
sample_arg_file.gn Add support for customizing GN's args text. 2017-03-04 02:32:43 +00:00
sanitize-mac-build-log.sed
sanitize-mac-build-log.sh
sanitize-win-build-log.sed
sanitize-win-build-log.sh
shim_headers.gni Unbundle openh264 2017-05-22 12:52:46 +00:00
split_static_library.gni Enable header checking for chrome/browser/ui 2016-09-23 19:57:38 +00:00
swarming_xcode_install.py Install Xcode via swarming. 2017-09-15 13:17:50 +00:00
symlink.gni [android] Tweak data deps to include two chromium tool binaries. (RELAND) 2016-11-11 19:19:23 +00:00
symlink.py Revert of Add work-around to symlink.gni to avoid "not up-to-date" ninja errors (patchset #1 id:1 of https://codereview.chromium.org/2344243002/ ) 2016-09-20 22:16:30 +00:00
tree_truth.sh
update-linux-sandbox.sh
vs_toolchain.py Don't silently ignore Update() errors in vs_toolchain script. 2017-10-12 21:44:37 +00:00
whitespace_file.txt Added a secret ending (which is not-so-secret now) 2017-05-26 17:41:47 +00:00
win_is_xtree_patched.py
write_build_date_header.py Fix regression in 1c9b02233631b0ba9b096d79bf5b8d71a370dbb0. 2016-04-05 00:18:55 +00:00
write_buildflag_header.py