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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 "android/view/MotionEvent.class", | 155 "android/view/MotionEvent.class", |
156 ] | 156 ] |
157 } | 157 } |
158 | 158 |
159 generate_jni("content_jni_headers") { | 159 generate_jni("content_jni_headers") { |
160 sources = rebase_path(content_jni_gypi_values.sources, "", "../..") | 160 sources = rebase_path(content_jni_gypi_values.sources, "", "../..") |
161 jni_package = "content" | 161 jni_package = "content" |
162 | 162 |
163 if (enable_webvr) { | 163 if (enable_webvr) { |
164 sources += [ "//content/public/android/java/src/org/chromium/content/browser
/input/CardboardVRDevice.java" ] | 164 sources += [ "//content/public/android/java/src/org/chromium/content/browser
/input/CardboardVRDevice.java" ] |
165 deps = [ | 165 public_deps = [ |
166 "//third_party/cardboard-java:cardboard-java", | 166 "//third_party/cardboard-java:cardboard-java", |
167 ] | 167 ] |
168 } | 168 } |
169 } | 169 } |
170 | 170 |
171 group("jni") { | 171 group("jni") { |
172 deps = [ | 172 deps = [ |
173 ":content_jni_headers", | 173 ":content_jni_headers", |
174 ":jar_jni", | 174 ":jar_jni", |
175 ] | 175 ] |
(...skipping 28 matching lines...) Expand all Loading... |
204 # GYP: //content/content_tests.gypi:content_junit_tests | 204 # GYP: //content/content_tests.gypi:content_junit_tests |
205 junit_binary("content_junit_tests") { | 205 junit_binary("content_junit_tests") { |
206 java_files = [ "junit/src/org/chromium/content/browser/input/GamepadMappingsTe
st.java" ] | 206 java_files = [ "junit/src/org/chromium/content/browser/input/GamepadMappingsTe
st.java" ] |
207 deps = [ | 207 deps = [ |
208 ":content_java", | 208 ":content_java", |
209 "//base:base_java", | 209 "//base:base_java", |
210 "//base:base_java_test_support", | 210 "//base:base_java_test_support", |
211 ] | 211 ] |
212 } | 212 } |
213 # TODO(GYP): content_icudata | 213 # TODO(GYP): content_icudata |
OLD | NEW |