Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
estevenson 0875ea1284 Android: convert kEnumName to ENUM_NAME in java_cpp_enum.py.
Since the Blink rename, enum entry names now use the kCamelCase naming
convention instead of SHOUTY_CASE. This doesn't match well with Java
naming conventions and Java constants created by java_cpp_enum.py look
out of place with the rest of the Java codebase.

This CL modifies java_cpp_enum.py so that C++ enum naming conventions
don't leak into the Java side, specifically translating kCamelCase and
CamelCase enum entries to SHOUTY_CASE.

BUG=710335

Review-Url: https://codereview.chromium.org/2815103004
Cr-Original-Commit-Position: refs/heads/master@{#464661}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 23b8f65ce75fc2ff04a28cb5a940861c134e0797
2017-04-14 02:40:13 +00:00
android Android: convert kEnumName to ENUM_NAME in java_cpp_enum.py. 2017-04-14 02:40:13 +00:00
args
config
docs
experimental
git-hooks
internal
ios
linux
mac
sanitizers
secondary
slave
toolchain
util
win
.gitignore
OWNERS
OWNERS.status
apply_locales.py
branding_value.sh
build-ctags.sh
build_config.h
buildflag.h
buildflag_header.gni
check_gn_headers.py
check_gn_headers_unittest.py
check_return_value.py
clobber.py
common.croc
common.gypi
compiled_action.gni
compiler_version.py
copy_test_data_ios.py
cp.py
detect_host_arch.py
dir_exists.py
dotfile_settings.gni
download_gold_plugin.py
download_nacl_toolchains.py
env_dump.py
extract_from_cab.py
find_depot_tools.py
find_isolated_tests.py
fix_gn_headers.py
gdb-add-index
get_landmines.py
get_syzygy_binaries.py
gn_helpers.py
gn_helpers_unittest.py
gn_run_binary.py
gyp_chromium
gyp_chromium.py
gyp_environment.py
gyp_helper.py
gypi_to_gn.py
install-build-deps-android.sh
install-build-deps.sh
install-chroot.sh
inverse_depth.py
landmine_utils.py
landmines.py
mac_toolchain.py
nocompile.gni
package_mac_toolchain.py
precompile.cc
precompile.h
print_python_deps.py
protoc_java.py
redirect_stdout.py
rm.py
sample_arg_file.gn
sanitize-mac-build-log.sed
sanitize-mac-build-log.sh
sanitize-win-build-log.sed
sanitize-win-build-log.sh
shim_headers.gni
split_static_library.gni
symlink.gni
symlink.py
tree_truth.sh
update-linux-sandbox.sh
vs_toolchain.py
whitespace_file.txt
win_is_xtree_patched.py
write_build_date_header.py
write_buildflag_header.py