OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
8 } | 8 } |
9 | 9 |
10 source_set("public") { | 10 source_set("public") { |
11 sources = [ | 11 sources = [ |
12 "feature_constants.h", | 12 "feature_constants.h", |
13 "feature_engagement_tracker.h", | 13 "feature_engagement_tracker.h", |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 "//base", | 17 "//base", |
18 "//components/keyed_service/core", | 18 "//components/keyed_service/core", |
19 ] | 19 ] |
20 | 20 |
21 if (is_android) { | 21 if (is_android) { |
22 sources += [ "android/feature_engagement_tracker_jni_registrar.h" ] | 22 sources += [ "android/feature_engagement_tracker_jni_registrar.h" ] |
23 } | 23 } |
24 } | 24 } |
25 | 25 |
26 if (is_android) { | 26 if (is_android) { |
27 android_library("public_java") { | 27 android_library("public_java") { |
28 java_files = [ | 28 java_files = [ |
| 29 "android/java/src/org/chromium/components/feature_engagement_tracker/Event
Constants.java", |
29 "android/java/src/org/chromium/components/feature_engagement_tracker/Featu
reConstants.java", | 30 "android/java/src/org/chromium/components/feature_engagement_tracker/Featu
reConstants.java", |
30 "android/java/src/org/chromium/components/feature_engagement_tracker/Featu
reEngagementTracker.java", | 31 "android/java/src/org/chromium/components/feature_engagement_tracker/Featu
reEngagementTracker.java", |
31 ] | 32 ] |
32 | 33 |
33 deps = [ | 34 deps = [ |
34 "//base:base_java", | 35 "//base:base_java", |
35 "//third_party/android_tools:android_support_annotations_java", | 36 "//third_party/android_tools:android_support_annotations_java", |
36 ] | 37 ] |
37 } | 38 } |
38 } | 39 } |
OLD | NEW |