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

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

Issue 2353283002: [TimeZoneMonitor] Decouple //content/browser/time_zone_monitor* to //device/. (Closed)
Patch Set: Fix android bots Created 4 years, 3 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/renderer/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 output_name = "device_time_zone_monitor"
blundell 2016/09/23 11:06:56 nit: why is this necessary?
leonhsl(Using Gerrit) 2016/09/23 15:18:08 The output library(.a or .so) could be named as 'd
blundell 2016/09/23 16:10:20 I think we should only use output_name when it's n
leonhsl(Using Gerrit) 2016/09/24 13:23:08 Done.
13
14 sources = [
15 "android/time_zone_monitor_jni_registrar.cc",
16 "android/time_zone_monitor_jni_registrar.h",
17 "time_zone_monitor.cc",
18 "time_zone_monitor.h",
19 "time_zone_monitor_android.cc",
20 "time_zone_monitor_android.h",
21 "time_zone_monitor_chromeos.cc",
22 "time_zone_monitor_export.h",
23 "time_zone_monitor_linux.cc",
24 "time_zone_monitor_mac.mm",
25 "time_zone_monitor_win.cc",
26 ]
27
28 defines = [ "DEVICE_TIME_ZONE_MONITOR_IMPLEMENTATION" ]
29
30 deps = [
31 "//base",
32 "//mojo/public/cpp/bindings",
33 "//third_party/icu",
34 ]
35
36 public_deps = [
37 "//device/time_zone_monitor/public/interfaces",
38 ]
39
40 if (is_android) {
41 deps += [ ":time_zone_monitor_jni_headers" ]
42 }
43
44 if (is_win) {
45 deps += [ "//ui/gfx" ]
46 }
47
48 if (is_chromeos) {
49 deps += [ "//chromeos" ]
50 }
51
52 if (is_mac) {
53 libs = [ "Foundation.framework" ]
54 }
55 }
56
57 if (is_android) {
58 generate_jni("time_zone_monitor_jni_headers") {
59 sources = [
60 "android/java/src/org/chromium/device/time_zone_monitor/TimeZoneMonitor.ja va",
61 ]
62 jni_package = "time_zone_monitor"
63 }
64
65 android_library("java") {
66 java_files = [ "android/java/src/org/chromium/device/time_zone_monitor/TimeZ oneMonitor.java" ]
67 deps = [
68 "//base:base_java",
69 ]
70 }
71 }
OLDNEW
« no previous file with comments | « content/renderer/BUILD.gn ('k') | device/time_zone_monitor/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698