| 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 static_library("internal") { | 10 static_library("internal") { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 "in_memory_store.h", | 29 "in_memory_store.h", |
| 30 "model.h", | 30 "model.h", |
| 31 "model_impl.cc", | 31 "model_impl.cc", |
| 32 "model_impl.h", | 32 "model_impl.h", |
| 33 "never_condition_validator.cc", | 33 "never_condition_validator.cc", |
| 34 "never_condition_validator.h", | 34 "never_condition_validator.h", |
| 35 "never_storage_validator.cc", | 35 "never_storage_validator.cc", |
| 36 "never_storage_validator.h", | 36 "never_storage_validator.h", |
| 37 "once_condition_validator.cc", | 37 "once_condition_validator.cc", |
| 38 "once_condition_validator.h", | 38 "once_condition_validator.h", |
| 39 "persistent_store.cc", |
| 40 "persistent_store.h", |
| 39 "single_invalid_configuration.cc", | 41 "single_invalid_configuration.cc", |
| 40 "single_invalid_configuration.h", | 42 "single_invalid_configuration.h", |
| 41 "storage_validator.h", | 43 "storage_validator.h", |
| 42 "store.h", | 44 "store.h", |
| 43 "system_time_provider.cc", | 45 "system_time_provider.cc", |
| 44 "system_time_provider.h", | 46 "system_time_provider.h", |
| 45 "time_provider.h", | 47 "time_provider.h", |
| 46 ] | 48 ] |
| 47 | 49 |
| 48 public_deps = [ | 50 public_deps = [ |
| 49 "//components/feature_engagement_tracker/internal/proto", | 51 "//components/feature_engagement_tracker/internal/proto", |
| 50 ] | 52 ] |
| 51 | 53 |
| 52 deps = [ | 54 deps = [ |
| 53 "//base", | 55 "//base", |
| 54 "//components/feature_engagement_tracker/public", | 56 "//components/feature_engagement_tracker/public", |
| 55 "//components/keyed_service/core", | 57 "//components/keyed_service/core", |
| 58 "//components/leveldb_proto", |
| 56 ] | 59 ] |
| 57 | 60 |
| 58 if (is_android) { | 61 if (is_android) { |
| 59 sources += [ | 62 sources += [ |
| 60 "android/feature_engagement_tracker_impl_android.cc", | 63 "android/feature_engagement_tracker_impl_android.cc", |
| 61 "android/feature_engagement_tracker_impl_android.h", | 64 "android/feature_engagement_tracker_impl_android.h", |
| 62 "android/feature_engagement_tracker_jni_registrar.cc", | 65 "android/feature_engagement_tracker_jni_registrar.cc", |
| 63 ] | 66 ] |
| 64 | 67 |
| 65 deps += [ ":jni_headers" ] | 68 deps += [ ":jni_headers" ] |
| (...skipping 11 matching lines...) Expand all Loading... |
| 77 "chrome_variations_configuration_unittest.cc", | 80 "chrome_variations_configuration_unittest.cc", |
| 78 "configuration_unittest.cc", | 81 "configuration_unittest.cc", |
| 79 "editable_configuration_unittest.cc", | 82 "editable_configuration_unittest.cc", |
| 80 "feature_config_storage_validator_unittest.cc", | 83 "feature_config_storage_validator_unittest.cc", |
| 81 "feature_engagement_tracker_impl_unittest.cc", | 84 "feature_engagement_tracker_impl_unittest.cc", |
| 82 "in_memory_store_unittest.cc", | 85 "in_memory_store_unittest.cc", |
| 83 "model_impl_unittest.cc", | 86 "model_impl_unittest.cc", |
| 84 "never_condition_validator_unittest.cc", | 87 "never_condition_validator_unittest.cc", |
| 85 "never_storage_validator_unittest.cc", | 88 "never_storage_validator_unittest.cc", |
| 86 "once_condition_validator_unittest.cc", | 89 "once_condition_validator_unittest.cc", |
| 90 "persistent_store_unittest.cc", |
| 87 "single_invalid_configuration_unittest.cc", | 91 "single_invalid_configuration_unittest.cc", |
| 88 "system_time_provider_unittest.cc", | 92 "system_time_provider_unittest.cc", |
| 89 ] | 93 ] |
| 90 | 94 |
| 91 deps = [ | 95 deps = [ |
| 92 ":internal", | 96 ":internal", |
| 93 "//base/test:test_support", | 97 "//base/test:test_support", |
| 98 "//components/feature_engagement_tracker/internal/test:test_support", |
| 99 "//components/leveldb_proto:test_support", |
| 94 "//testing/gtest", | 100 "//testing/gtest", |
| 95 ] | 101 ] |
| 96 } | 102 } |
| 97 | 103 |
| 98 if (is_android) { | 104 if (is_android) { |
| 99 android_library("internal_java") { | 105 android_library("internal_java") { |
| 100 visibility = [ "//components/feature_engagement_tracker:feature_engagement_t
racker_java" ] | 106 visibility = [ "//components/feature_engagement_tracker:feature_engagement_t
racker_java" ] |
| 101 | 107 |
| 102 java_files = [ "android/java/src/org/chromium/components/feature_engagement_
tracker/internal/FeatureEngagementTrackerImpl.java" ] | 108 java_files = [ "android/java/src/org/chromium/components/feature_engagement_
tracker/internal/FeatureEngagementTrackerImpl.java" ] |
| 103 | 109 |
| 104 deps = [ | 110 deps = [ |
| 105 "//base:base_java", | 111 "//base:base_java", |
| 106 "//components/feature_engagement_tracker/public:public_java", | 112 "//components/feature_engagement_tracker/public:public_java", |
| 107 ] | 113 ] |
| 108 } | 114 } |
| 109 | 115 |
| 110 generate_jni("jni_headers") { | 116 generate_jni("jni_headers") { |
| 111 visibility = [ ":*" ] | 117 visibility = [ ":*" ] |
| 112 sources = [ | 118 sources = [ |
| 113 "android/java/src/org/chromium/components/feature_engagement_tracker/inter
nal/FeatureEngagementTrackerImpl.java", | 119 "android/java/src/org/chromium/components/feature_engagement_tracker/inter
nal/FeatureEngagementTrackerImpl.java", |
| 114 ] | 120 ] |
| 115 jni_package = "components/feature_engagement_tracker/internal" | 121 jni_package = "components/feature_engagement_tracker/internal" |
| 116 } | 122 } |
| 117 } | 123 } |
| OLD | NEW |