Port Android relocation packer to chromium build
[chromium-blink-merge.git] / android_webview / java_library_common.mk
blobe75680447806ba9be438e6b18c28fb81e3659ca0
1 # Copyright 2014 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.
5 LOCAL_SDK_VERSION := 21
7 LOCAL_SRC_FILES := $(call all-java-files-under, java/src)
9 # contentview and its dependencies
10 LOCAL_AIDL_INCLUDES := \
11 $(LOCAL_PATH)/../content/public/android/java/src \
12 $(LOCAL_PATH)/../net/android/java/src \
13 $(LOCAL_PATH)/../third_party/eyesfree/src/android/java/src
15 LOCAL_SRC_FILES += \
16 $(call all-java-files-under, ../content/public/android/java/src) \
17 ../content/public/android/java/src/org/chromium/content/common/IChildProcessCallback.aidl \
18 ../content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl \
19 ../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStoreCallbacks.aidl \
20 ../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStore.aidl \
21 $(call all-java-files-under, ../base/android/java/src) \
22 $(call all-java-files-under, ../device/battery/android/java/src) \
23 $(call all-java-files-under, ../media/base/android/java/src) \
24 $(call all-java-files-under, ../mojo/android/system/src) \
25 $(call all-java-files-under, ../third_party/mojo/src/mojo/public/java/bindings/src) \
26 $(call all-java-files-under, ../third_party/mojo/src/mojo/public/java/system/src) \
27 $(call all-java-files-under, ../net/android/java/src) \
28 $(call all-java-files-under, ../ui/android/java/src) \
29 $(call all-java-files-under, ../third_party/eyesfree/src/android/java/src) \
30 $(call all-Iaidl-files-under, ../third_party/eyesfree/src/android/java/src)
32 # browser components
33 LOCAL_SRC_FILES += \
34 $(call all-java-files-under, \
35 ../components/web_contents_delegate_android/android/java/src) \
36 $(call all-java-files-under, \
37 ../components/navigation_interception/android/java/src) \
39 # This directory includes .java files that are generated by the normal gyp build, but are checked in
40 # for the Android build.
41 # TODO(torne, cjhopman): Consider removing this.
42 LOCAL_SRC_FILES += \
43 $(call all-java-files-under, java/generated_src)
45 # Java files generated from .template rules. This list should match list of java dependencies in
46 # android_webview/libwebviewchromium.gyp
47 LOCAL_GENERATED_SOURCES := \
48 $(call intermediates-dir-for,GYP,shared)/enums/android_resource_type_java/org/chromium/ui/resources/AndroidResourceType.java \
49 $(call intermediates-dir-for,GYP,shared)/enums/bitmap_format_java/org/chromium/ui/gfx/BitmapFormat.java \
50 $(call intermediates-dir-for,GYP,shared)/enums/cert_verify_status_android_java/org/chromium/net/CertVerifyStatusAndroid.java \
51 $(call intermediates-dir-for,GYP,shared)/enums/certificate_mime_types_java/org/chromium/net/CertificateMimeType.java \
52 $(call intermediates-dir-for,GYP,shared)/enums/network_change_notifier_types_java/org/chromium/net/ConnectionSubtype.java \
53 $(call intermediates-dir-for,GYP,shared)/enums/network_change_notifier_types_java/org/chromium/net/ConnectionType.java \
54 $(call intermediates-dir-for,GYP,shared)/enums/console_message_level_java/org/chromium/content_public/common/ConsoleMessageLevel.java \
55 $(call intermediates-dir-for,GYP,shared)/enums/content_gamepad_mapping/org/chromium/content/browser/input/CanonicalAxisIndex.java \
56 $(call intermediates-dir-for,GYP,shared)/enums/content_gamepad_mapping/org/chromium/content/browser/input/CanonicalButtonIndex.java \
57 $(call intermediates-dir-for,GYP,shared)/enums/gesture_event_type_java/org/chromium/content/browser/GestureEventType.java \
58 $(call intermediates-dir-for,GYP,shared)/enums/invalidate_types_java/org/chromium/content_public/browser/InvalidateTypes.java \
59 $(call intermediates-dir-for,GYP,shared)/enums/navigation_controller_java/org/chromium/content_public/browser/navigation_controller/LoadURLType.java \
60 $(call intermediates-dir-for,GYP,shared)/enums/navigation_controller_java/org/chromium/content_public/browser/navigation_controller/UserAgentOverrideOption.java \
61 $(call intermediates-dir-for,GYP,shared)/enums/popup_item_type_java/org/chromium/content/browser/input/PopupItemType.java \
62 $(call intermediates-dir-for,GYP,shared)/enums/private_key_types_java/org/chromium/net/PrivateKeyType.java \
63 $(call intermediates-dir-for,GYP,shared)/enums/result_codes_java/org/chromium/content_public/common/ResultCode.java \
64 $(call intermediates-dir-for,GYP,shared)/enums/screen_orientation_values_java/org/chromium/content_public/common/ScreenOrientationValues.java \
65 $(call intermediates-dir-for,GYP,shared)/enums/selection_event_type_java/org/chromium/ui/touch_selection/SelectionEventType.java \
66 $(call intermediates-dir-for,GYP,shared)/enums/touch_handle_orientation_java/org/chromium/ui/touch_selection/TouchHandleOrientation.java \
67 $(call intermediates-dir-for,GYP,shared)/enums/speech_recognition_error_java/org/chromium/content_public/common/SpeechRecognitionErrorCode.java \
68 $(call intermediates-dir-for,GYP,shared)/enums/top_controls_state_java/org/chromium/content_public/common/TopControlsState.java \
69 $(call intermediates-dir-for,GYP,shared)/enums/window_open_disposition_java/org/chromium/ui/WindowOpenDisposition.java \
70 $(call intermediates-dir-for,GYP,shared)/enums/base_java_application_state/org/chromium/base/ApplicationState.java \
71 $(call intermediates-dir-for,GYP,shared)/enums/base_java_library_load_from_apk_status_codes/org/chromium/base/library_loader/LibraryLoadFromApkStatusCodes.java \
72 $(call intermediates-dir-for,GYP,shared)/enums/base_java_library_process_type/org/chromium/base/library_loader/LibraryProcessType.java \
73 $(call intermediates-dir-for,GYP,shared)/enums/base_java_memory_pressure_level/org/chromium/base/MemoryPressureLevel.java \
74 $(call intermediates-dir-for,GYP,shared)/enums/media_android_imageformat/org/chromium/media/AndroidImageFormat.java \
75 $(call intermediates-dir-for,GYP,shared)/enums/page_transition_types_java/org/chromium/ui/base/PageTransition.java \
76 $(call intermediates-dir-for,GYP,shared)/enums/system_ui_resource_type_java/org/chromium/ui/resources/SystemUIResourceType.java \
77 $(call intermediates-dir-for,GYP,shared)/enums/text_input_type_java/org/chromium/ui/base/ime/TextInputType.java \
78 $(call intermediates-dir-for,GYP,shared)/enums/touch_device_types_java/org/chromium/ui/base/HoverType.java \
79 $(call intermediates-dir-for,GYP,shared)/enums/touch_device_types_java/org/chromium/ui/base/PointerType.java \
80 $(call intermediates-dir-for,GYP,shared)/enums/web_input_event_java/org/chromium/blink_public/web/WebInputEventModifier.java \
81 $(call intermediates-dir-for,GYP,shared)/enums/web_input_event_java/org/chromium/blink_public/web/WebInputEventType.java \
82 $(call intermediates-dir-for,GYP,shared)/enums/web_text_input_type/org/chromium/blink_public/web/WebTextInputFlags.java \
83 $(call intermediates-dir-for,GYP,shared)/templates/net_errors_java/org/chromium/net/NetError.java \
84 $(call intermediates-dir-for,GYP,shared)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryMonitor.java \
85 $(call intermediates-dir-for,GYP,shared)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryMonitor_Internal.java \
86 $(call intermediates-dir-for,GYP,shared)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryStatus.java \
88 # content dependencies on java components that are provided by the system on
89 # android
90 LOCAL_STATIC_JAVA_LIBRARIES += jsr305 guava