extensions: Register 'app' and 'webstore' bindings only if they are available.
[chromium-blink-merge.git] / android_webview / java_library_common.mk
blob44baa4bcad5e5e7a11a20817458677cdc3ab27ad
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_SRC_FILES := $(call all-java-files-under, java/src)
7 # contentview and its dependencies
8 LOCAL_AIDL_INCLUDES := \
9 $(LOCAL_PATH)/../content/public/android/java/src \
10 $(LOCAL_PATH)/../net/android/java/src \
11 $(LOCAL_PATH)/../third_party/eyesfree/src/android/java/src
13 LOCAL_SRC_FILES += \
14 $(call all-java-files-under, ../content/public/android/java/src) \
15 ../content/public/android/java/src/org/chromium/content/common/IChildProcessCallback.aidl \
16 ../content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl \
17 ../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStoreCallbacks.aidl \
18 ../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStore.aidl \
19 $(call all-java-files-under, ../base/android/java/src) \
20 $(call all-java-files-under, ../media/base/android/java/src) \
21 $(call all-java-files-under, ../net/android/java/src) \
22 $(call all-java-files-under, ../ui/android/java/src) \
23 $(call all-java-files-under, ../third_party/eyesfree/src/android/java/src) \
24 $(call all-Iaidl-files-under, ../third_party/eyesfree/src/android/java/src)
26 # browser components
27 LOCAL_SRC_FILES += \
28 $(call all-java-files-under, \
29 ../components/web_contents_delegate_android/android/java/src) \
30 $(call all-java-files-under, \
31 ../components/navigation_interception/android/java/src) \
33 # This directory includes .java files that are generated by the normal gyp build, but are checked in
34 # for the Android build.
35 # TODO(torne, cjhopman): Consider removing this.
36 LOCAL_SRC_FILES += \
37 $(call all-java-files-under, java/generated_src)
39 # Java files generated from .template rules. This list should match list of java dependencies in
40 # android_webview/android_webview.gyp
41 LOCAL_GENERATED_SOURCES := \
42 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/base/ApplicationState.java \
43 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/base/MemoryPressureLevelList.java \
44 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/content/browser/GestureEventType.java \
45 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/content/browser/PageTransitionTypes.java \
46 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/content/browser/SpeechRecognitionError.java \
47 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/content/browser/input/CanonicalAxisIndex.java \
48 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/content/browser/input/CanonicalButtonIndex.java \
49 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/content/browser/input/PopupItemType.java \
50 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/content/browser/input/SelectionEventType.java \
51 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/content/common/ResultCodes.java \
52 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/content/common/ScreenOrientationValues.java \
53 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/media/ImageFormat.java \
54 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/net/CertificateMimeType.java \
55 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/net/CertVerifyStatusAndroid.java \
56 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/net/NetError.java \
57 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/net/PrivateKeyType.java \
58 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/ui/WindowOpenDisposition.java \
59 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/ui/gfx/BitmapFormat.java \
61 # content dependencies on java components that are provided by the system on
62 # android
63 LOCAL_STATIC_JAVA_LIBRARIES += jsr305 guava