OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 | 7 |
8 content_jni_gypi_values = exec_script("//build/gypi_to_gn.py", | 8 content_jni_gypi_values = exec_script("//build/gypi_to_gn.py", |
9 [ rebase_path("../../content_jni.gypi") ], | 9 [ rebase_path("../../content_jni.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 28 matching lines...) Expand all Loading... |
39 "//net/android:net_java", | 39 "//net/android:net_java", |
40 "//ui/android:ui_java", | 40 "//ui/android:ui_java", |
41 "//third_party/jsr-305:jsr_305_javalib", | 41 "//third_party/jsr-305:jsr_305_javalib", |
42 | 42 |
43 #"//content:content_common", | 43 #"//content:content_common", |
44 ] | 44 ] |
45 | 45 |
46 srcjar_deps = [ | 46 srcjar_deps = [ |
47 ":common_aidl", | 47 ":common_aidl", |
48 ":content_public_android_java_enums_srcjar", | 48 ":content_public_android_java_enums_srcjar", |
| 49 "//ui/touch_selection:ui_touch_selection_enums_srcjar", |
49 ] | 50 ] |
50 | 51 |
51 DEPRECATED_java_in_dir = "java/src" | 52 DEPRECATED_java_in_dir = "java/src" |
52 } | 53 } |
53 | 54 |
54 java_strings_grd("content_strings_grd") { | 55 java_strings_grd("content_strings_grd") { |
55 grd_file = "java/strings/android_content_strings.grd" | 56 grd_file = "java/strings/android_content_strings.grd" |
56 outputs = [ | 57 outputs = [ |
57 "values-am/android_content_strings.xml", | 58 "values-am/android_content_strings.xml", |
58 "values-ar/android_content_strings.xml", | 59 "values-ar/android_content_strings.xml", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 "values-vi/android_content_strings.xml", | 99 "values-vi/android_content_strings.xml", |
99 "values-zh-rCN/android_content_strings.xml", | 100 "values-zh-rCN/android_content_strings.xml", |
100 "values-zh-rTW/android_content_strings.xml", | 101 "values-zh-rTW/android_content_strings.xml", |
101 ] | 102 ] |
102 } | 103 } |
103 | 104 |
104 java_cpp_enum("content_public_android_java_enums_srcjar") { | 105 java_cpp_enum("content_public_android_java_enums_srcjar") { |
105 sources = [ | 106 sources = [ |
106 "//content/browser/android/content_view_core_impl.cc", | 107 "//content/browser/android/content_view_core_impl.cc", |
107 "//content/browser/android/gesture_event_type.h", | 108 "//content/browser/android/gesture_event_type.h", |
108 "//content/browser/renderer_host/input/selection_event_type.h", | |
109 "//content/browser/gamepad/gamepad_standard_mappings.h", | 109 "//content/browser/gamepad/gamepad_standard_mappings.h", |
110 "//content/public/common/result_codes.h", | 110 "//content/public/common/result_codes.h", |
111 "//content/public/common/screen_orientation_values.h", | 111 "//content/public/common/screen_orientation_values.h", |
112 "//content/public/common/speech_recognition_error.h", | 112 "//content/public/common/speech_recognition_error.h", |
113 "//content/public/common/top_controls_state.h", | 113 "//content/public/common/top_controls_state.h", |
114 ] | 114 ] |
115 outputs = [ | 115 outputs = [ |
116 "org/chromium/content/browser/GestureEventType.java", | 116 "org/chromium/content/browser/GestureEventType.java", |
117 "org/chromium/content/browser/input/CanonicalAxisIndex.java", | 117 "org/chromium/content/browser/input/CanonicalAxisIndex.java", |
118 "org/chromium/content/browser/input/CanonicalButtonIndex.java", | 118 "org/chromium/content/browser/input/CanonicalButtonIndex.java", |
119 "org/chromium/content/browser/input/PopupItemType.java", | 119 "org/chromium/content/browser/input/PopupItemType.java", |
120 "org/chromium/content/browser/input/SelectionEventType.java", | |
121 "org/chromium/content_public/common/ResultCode.java", | 120 "org/chromium/content_public/common/ResultCode.java", |
122 "org/chromium/content_public/common/ScreenOrientationValues.java", | 121 "org/chromium/content_public/common/ScreenOrientationValues.java", |
123 "org/chromium/content_public/common/SpeechRecognitionErrorCode.java", | 122 "org/chromium/content_public/common/SpeechRecognitionErrorCode.java", |
124 "org/chromium/content_public/common/TopControlsState.java", | 123 "org/chromium/content_public/common/TopControlsState.java", |
125 ] | 124 ] |
126 } | 125 } |
127 | 126 |
128 generate_jar_jni("jar_jni") { | 127 generate_jar_jni("jar_jni") { |
129 jni_package = "content" | 128 jni_package = "content" |
130 classes = [ | 129 classes = [ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 "//mojo/public/java:system", | 161 "//mojo/public/java:system", |
163 "//net/android:net_java", | 162 "//net/android:net_java", |
164 "//net/android:net_java_test_support", | 163 "//net/android:net_java_test_support", |
165 "//ui/android:ui_java", | 164 "//ui/android:ui_java", |
166 ":content_java", | 165 ":content_java", |
167 ] | 166 ] |
168 | 167 |
169 DEPRECATED_java_in_dir = "javatests/src" | 168 DEPRECATED_java_in_dir = "javatests/src" |
170 } | 169 } |
171 # TODO(GYP): content_icudata | 170 # TODO(GYP): content_icudata |
OLD | NEW |