| 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 "event_constants.h", |
| 12 "feature_constants.h", | 13 "feature_constants.h", |
| 13 "feature_engagement_tracker.h", | 14 "feature_engagement_tracker.h", |
| 14 ] | 15 ] |
| 15 | 16 |
| 16 deps = [ | 17 deps = [ |
| 17 "//base", | 18 "//base", |
| 18 "//components/keyed_service/core", | 19 "//components/keyed_service/core", |
| 19 ] | 20 ] |
| 20 | 21 |
| 21 if (is_android) { | 22 if (is_android) { |
| 22 sources += [ "android/feature_engagement_tracker_jni_registrar.h" ] | 23 sources += [ "android/feature_engagement_tracker_jni_registrar.h" ] |
| 23 } | 24 } |
| 24 } | 25 } |
| 25 | 26 |
| 26 if (is_android) { | 27 if (is_android) { |
| 27 android_library("public_java") { | 28 android_library("public_java") { |
| 28 java_files = [ | 29 java_files = [ |
| 30 "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", | 31 "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", | 32 "android/java/src/org/chromium/components/feature_engagement_tracker/Featu
reEngagementTracker.java", |
| 31 ] | 33 ] |
| 32 | 34 |
| 33 deps = [ | 35 deps = [ |
| 34 "//base:base_java", | 36 "//base:base_java", |
| 35 "//third_party/android_tools:android_support_annotations_java", | 37 "//third_party/android_tools:android_support_annotations_java", |
| 36 ] | 38 ] |
| 37 } | 39 } |
| 38 } | 40 } |
| OLD | NEW |