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 assert(is_android) | 8 assert(is_android) |
9 | 9 |
10 source_set("android") { | 10 source_set("android") { |
11 sources = [ | 11 sources = [ |
12 "vibration_jni_registrar.cc", | 12 "vibration_jni_registrar.cc", |
13 "vibration_jni_registrar.h", | 13 "vibration_jni_registrar.h", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 generate_jni("vibration_jni_headers") { | 17 generate_jni("vibration_jni_headers") { |
18 sources = [ | 18 sources = [ |
19 "java/src/org/chromium/device/vibration/VibrationProvider.java", | 19 "java/src/org/chromium/device/vibration/VibrationProvider.java", |
20 ] | 20 ] |
21 jni_package = "vibration" | 21 jni_package = "vibration" |
22 } | 22 } |
OLD | NEW |