OLD | NEW |
(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 if (is_android) { |
| 6 import("//build/config/android/config.gni") |
| 7 import("//build/config/android/rules.gni") |
| 8 } |
| 9 |
| 10 source_set("public") { |
| 11 visibility = [ "*" ] |
| 12 |
| 13 sources = [ |
| 14 "feature_engagement_tracker.h", |
| 15 ] |
| 16 |
| 17 deps = [ |
| 18 "//base", |
| 19 "//components/keyed_service/core", |
| 20 ] |
| 21 |
| 22 if (is_android) { |
| 23 sources += [ "android/feature_engagement_tracker_jni_registrar.h" ] |
| 24 } |
| 25 } |
| 26 |
| 27 if (is_android) { |
| 28 android_library("public_java") { |
| 29 visibility = [ "*" ] |
| 30 |
| 31 java_files = [ "android/java/src/org/chromium/components/feature_engagement_
tracker/FeatureEngagementTracker.java" ] |
| 32 |
| 33 deps = [ |
| 34 "//base:base_java", |
| 35 "//third_party/android_tools:android_support_annotations_java", |
| 36 ] |
| 37 } |
| 38 } |
OLD | NEW |