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

Side by Side Diff: device/time_zone_monitor/BUILD.gn

Issue 2690963002: [DeviceService] Move //device/time_zone_monitor to //services/device (Closed)
Patch Set: Enable device service to register JNI Created 3 years, 10 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
« no previous file with comments | « content/public/android/BUILD.gn ('k') | device/time_zone_monitor/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
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 component("time_zone_monitor") {
12 sources = [
13 "android/time_zone_monitor_jni_registrar.cc",
14 "android/time_zone_monitor_jni_registrar.h",
15 "time_zone_monitor.cc",
16 "time_zone_monitor.h",
17 "time_zone_monitor_android.cc",
18 "time_zone_monitor_android.h",
19 "time_zone_monitor_chromeos.cc",
20 "time_zone_monitor_export.h",
21 "time_zone_monitor_linux.cc",
22 "time_zone_monitor_mac.mm",
23 "time_zone_monitor_win.cc",
24 ]
25
26 defines = [ "DEVICE_TIME_ZONE_MONITOR_IMPLEMENTATION" ]
27
28 deps = [
29 "//base",
30 "//mojo/public/cpp/bindings",
31 "//third_party/icu",
32 ]
33
34 public_deps = [
35 "//device/time_zone_monitor/public/interfaces",
36 ]
37
38 if (is_android) {
39 deps += [ ":time_zone_monitor_jni_headers" ]
40 }
41
42 if (is_win) {
43 deps += [ "//ui/gfx" ]
44 }
45
46 if (is_chromeos) {
47 deps += [ "//chromeos" ]
48 }
49
50 if (is_mac) {
51 libs = [ "Foundation.framework" ]
52 }
53 }
54
55 if (is_android) {
56 generate_jni("time_zone_monitor_jni_headers") {
57 sources = [
58 "android/java/src/org/chromium/device/time_zone_monitor/TimeZoneMonitor.ja va",
59 ]
60 jni_package = "time_zone_monitor"
61 }
62
63 android_library("java") {
64 java_files = [ "android/java/src/org/chromium/device/time_zone_monitor/TimeZ oneMonitor.java" ]
65 deps = [
66 "//base:base_java",
67 ]
68 }
69 }
OLDNEW
« no previous file with comments | « content/public/android/BUILD.gn ('k') | device/time_zone_monitor/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698