OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 import("//build/config/android/rules.gni") # For generate_jni(). | 9 import("//build/config/android/rules.gni") # For generate_jni(). |
10 } | 10 } |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 } | 97 } |
98 | 98 |
99 android_library("java") { | 99 android_library("java") { |
100 java_files = [ | 100 java_files = [ |
101 "android/java/src/org/chromium/device/gamepad/GamepadDevice.java", | 101 "android/java/src/org/chromium/device/gamepad/GamepadDevice.java", |
102 "android/java/src/org/chromium/device/gamepad/GamepadList.java", | 102 "android/java/src/org/chromium/device/gamepad/GamepadList.java", |
103 "android/java/src/org/chromium/device/gamepad/GamepadMappings.java", | 103 "android/java/src/org/chromium/device/gamepad/GamepadMappings.java", |
104 ] | 104 ] |
105 deps = [ | 105 deps = [ |
106 "//base:base_java", | 106 "//base:base_java", |
| 107 "//third_party/android_tools:android_support_annotations_java", |
107 ] | 108 ] |
108 srcjar_deps = [ ":java_enums_srcjar" ] | 109 srcjar_deps = [ ":java_enums_srcjar" ] |
109 } | 110 } |
110 | 111 |
111 java_cpp_enum("java_enums_srcjar") { | 112 java_cpp_enum("java_enums_srcjar") { |
112 sources = [ | 113 sources = [ |
113 "gamepad_standard_mappings.h", | 114 "gamepad_standard_mappings.h", |
114 ] | 115 ] |
115 } | 116 } |
116 } | 117 } |
OLD | NEW |