Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: device/vibration/android/BUILD.gn

Issue 826593003: Fix android gn builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
16 deps = [
17 # vibration_jni_registrar.cc includes a header form device/vibration
eroman 2014/12/24 00:30:55 form -> from
Nico 2014/12/24 00:32:30 Done.
18 # that includes a mojo-generated header file. Make sure the header
19 # is generated before vibration_jni_registrar.cc is compiled.
20 "//device/vibration:mojo_bindings",
21 ]
15 } 22 }
16 23
17 generate_jni("vibration_jni_headers") { 24 generate_jni("vibration_jni_headers") {
18 sources = [ 25 sources = [
19 "java/src/org/chromium/device/vibration/VibrationProvider.java", 26 "java/src/org/chromium/device/vibration/VibrationProvider.java",
20 ] 27 ]
21 jni_package = "vibration" 28 jni_package = "vibration"
22 } 29 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698