Revert of Use the new java_cpp_enum rule in content. (patchset #8 id:140001 of https...
commit949b6e5050c7a2ee2a894799db19ec325ba911ef
authorperezju <perezju@chromium.org>
Thu, 2 Oct 2014 10:05:53 +0000 (2 03:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Oct 2014 10:06:08 +0000 (2 10:06 +0000)
tree5e297988e3c267c7d550125e9576d1a05f4f75f8
parent86a0c99d060868dddfa4abaa42b990e03ac284d3
Revert of Use the new java_cpp_enum rule in content. (patchset #8 id:140001 of https://codereview.chromium.org/615893003/)

Reason for revert:
Fails to compile on several bots:

https://chromegw.corp.google.com/i/clank.tot/builders/clang-clankium-tot-builder/builds/56800/steps/compile/logs/stdio

First error:
FAILED: cd ../../clank/native/framework; python <snip ...>
../../../clank/java/apps/chrome/src/com/google/android/apps/chrome/webapps/FullScreenActivityTab.java:28: error: cannot find symbol
import org.chromium.content.common.TopControlsState;
                                  ^
  symbol:   class TopControlsState
  location: package org.chromium.content.common

Original issue's description:
> Use the new java_cpp_enum rule in content.
>
> This moves most of the generated Java enums under content/ to use the
> java_cpp_enum rule removing the need for keeping the enums in
> separate list files and the need for the .template files.
>
> BUG=405532, 351558
>
> Committed: https://crrev.com/7d5f0a581ba2f0e79b09ecbf6127ad453a861a96
> Cr-Commit-Position: refs/heads/master@{#297789}

TBR=jam@chromium.org,yfriedman@chromium.org,scottmg@chromium.org,jdduke@chromium.org,brettw@chromium.org,mkosiba@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=405532, 351558

Review URL: https://codereview.chromium.org/625543002

Cr-Commit-Position: refs/heads/master@{#297793}
37 files changed:
android_webview/java_library_common.mk
android_webview/libwebviewchromium.gypi
build/config/android/rules.gni
build/get_landmines.py
content/browser/android/content_view_core_impl.cc
content/browser/android/gesture_event_type.h
content/browser/android/gesture_event_type_list.h [new file with mode: 0644]
content/browser/android/popup_item_type_list.h [new file with mode: 0644]
content/browser/gamepad/canonical_axis_index_list.h [new file with mode: 0644]
content/browser/gamepad/canonical_button_index_list.h [new file with mode: 0644]
content/browser/gamepad/gamepad_standard_mappings.cc
content/browser/gamepad/gamepad_standard_mappings.h
content/browser/gamepad/gamepad_standard_mappings_linux.cc
content/browser/gamepad/gamepad_standard_mappings_mac.mm
content/browser/gamepad/gamepad_standard_mappings_win.cc
content/browser/renderer_host/input/selection_event_type.h
content/browser/renderer_host/input/selection_event_type_list.h [new file with mode: 0644]
content/child/assert_matching_enums.cc
content/content.gyp
content/public/android/BUILD.gn
content/public/android/java/src/org/chromium/content/browser/GestureEventType.template [new file with mode: 0644]
content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java
content/public/android/java/src/org/chromium/content/browser/SpeechRecognitionError.template [new file with mode: 0644]
content/public/android/java/src/org/chromium/content/browser/input/GamepadDevice.java
content/public/android/java/src/org/chromium/content/browser/input/GamepadMappings.java
content/public/android/java/src/org/chromium/content/browser/input/SelectionEventType.template [new file with mode: 0644]
content/public/android/java/src/org/chromium/content/common/ResultCodes.template [new file with mode: 0644]
content/public/android/java/src/org/chromium/content/common/TopControlsState.template [new file with mode: 0644]
content/public/common/result_codes.h
content/public/common/result_codes_list.h [new file with mode: 0644]
content/public/common/screen_orientation_values.h
content/public/common/screen_orientation_values_list.h [new file with mode: 0644]
content/public/common/speech_recognition_error.h
content/public/common/speech_recognition_error_list.h [new file with mode: 0644]
content/public/common/top_controls_state.h
content/public/common/top_controls_state_list.h [new file with mode: 0644]
content/renderer/render_view_impl_android.cc