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

Side by Side Diff: services/device/screen_orientation/BUILD.gn

Issue 2745443002: [Device Service] Port ScreenOrientationListener into Device Service. (Closed)
Patch Set: Add DEPS Created 3 years, 9 months 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
OLDNEW
(Empty)
1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/features.gni")
6
7 if (is_android) {
8 import("//build/config/android/rules.gni") # For generate_jni().
9 }
10
11 source_set("screen_orientation") {
12 visibility = [ "//services/device:lib" ]
13
14 sources = [
15 "screen_orientation_listener_android.cc",
16 "screen_orientation_listener_android.h",
17 ]
18
19 deps = [
20 "//base",
21 "//mojo/public/cpp/bindings",
22 ]
23
24 public_deps = [
25 "//device/screen_orientation/public/interfaces",
26 ]
27
28 if (is_android) {
29 deps += [ ":screen_orientation_jni_headers" ]
30 }
31 }
32
33 if (is_android) {
34 generate_jni("screen_orientation_jni_headers") {
35 visibility = [ ":screen_orientation" ]
36 sources = [
37 "android/java/src/org/chromium/device/screen_orientation/ScreenOrientation Listener.java",
38 ]
39 jni_package = "screen_orientation"
40 }
41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698