| 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 12 matching lines...) Expand all Loading... |
| 23 "editable_configuration.cc", | 23 "editable_configuration.cc", |
| 24 "editable_configuration.h", | 24 "editable_configuration.h", |
| 25 "feature_config_condition_validator.cc", | 25 "feature_config_condition_validator.cc", |
| 26 "feature_config_condition_validator.h", | 26 "feature_config_condition_validator.h", |
| 27 "feature_config_storage_validator.cc", | 27 "feature_config_storage_validator.cc", |
| 28 "feature_config_storage_validator.h", | 28 "feature_config_storage_validator.h", |
| 29 "feature_engagement_tracker_impl.cc", | 29 "feature_engagement_tracker_impl.cc", |
| 30 "feature_engagement_tracker_impl.h", | 30 "feature_engagement_tracker_impl.h", |
| 31 "in_memory_store.cc", | 31 "in_memory_store.cc", |
| 32 "in_memory_store.h", | 32 "in_memory_store.h", |
| 33 "init_aware_model.cc", |
| 34 "init_aware_model.h", |
| 33 "model.h", | 35 "model.h", |
| 34 "model_impl.cc", | 36 "model_impl.cc", |
| 35 "model_impl.h", | 37 "model_impl.h", |
| 36 "never_condition_validator.cc", | 38 "never_condition_validator.cc", |
| 37 "never_condition_validator.h", | 39 "never_condition_validator.h", |
| 38 "never_storage_validator.cc", | 40 "never_storage_validator.cc", |
| 39 "never_storage_validator.h", | 41 "never_storage_validator.h", |
| 40 "once_condition_validator.cc", | 42 "once_condition_validator.cc", |
| 41 "once_condition_validator.h", | 43 "once_condition_validator.h", |
| 42 "persistent_store.cc", | 44 "persistent_store.cc", |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 # tests in //components/feature_engagement_tracker/components_unittests.filter | 83 # tests in //components/feature_engagement_tracker/components_unittests.filter |
| 82 sources = [ | 84 sources = [ |
| 83 "chrome_variations_configuration_unittest.cc", | 85 "chrome_variations_configuration_unittest.cc", |
| 84 "condition_validator_unittest.cc", | 86 "condition_validator_unittest.cc", |
| 85 "configuration_unittest.cc", | 87 "configuration_unittest.cc", |
| 86 "editable_configuration_unittest.cc", | 88 "editable_configuration_unittest.cc", |
| 87 "feature_config_condition_validator_unittest.cc", | 89 "feature_config_condition_validator_unittest.cc", |
| 88 "feature_config_storage_validator_unittest.cc", | 90 "feature_config_storage_validator_unittest.cc", |
| 89 "feature_engagement_tracker_impl_unittest.cc", | 91 "feature_engagement_tracker_impl_unittest.cc", |
| 90 "in_memory_store_unittest.cc", | 92 "in_memory_store_unittest.cc", |
| 93 "init_aware_model_unittest.cc", |
| 91 "model_impl_unittest.cc", | 94 "model_impl_unittest.cc", |
| 92 "never_condition_validator_unittest.cc", | 95 "never_condition_validator_unittest.cc", |
| 93 "never_storage_validator_unittest.cc", | 96 "never_storage_validator_unittest.cc", |
| 94 "once_condition_validator_unittest.cc", | 97 "once_condition_validator_unittest.cc", |
| 95 "persistent_store_unittest.cc", | 98 "persistent_store_unittest.cc", |
| 96 "single_invalid_configuration_unittest.cc", | 99 "single_invalid_configuration_unittest.cc", |
| 97 "system_time_provider_unittest.cc", | 100 "system_time_provider_unittest.cc", |
| 98 ] | 101 ] |
| 99 | 102 |
| 100 deps = [ | 103 deps = [ |
| 101 ":internal", | 104 ":internal", |
| 102 "//base/test:test_support", | 105 "//base/test:test_support", |
| 103 "//components/feature_engagement_tracker/internal/test:test_support", | 106 "//components/feature_engagement_tracker/internal/test:test_support", |
| 104 "//components/leveldb_proto:test_support", | 107 "//components/leveldb_proto:test_support", |
| 108 "//testing/gmock", |
| 105 "//testing/gtest", | 109 "//testing/gtest", |
| 106 ] | 110 ] |
| 107 } | 111 } |
| 108 | 112 |
| 109 if (is_android) { | 113 if (is_android) { |
| 110 android_library("internal_java") { | 114 android_library("internal_java") { |
| 111 visibility = [ "//components/feature_engagement_tracker:feature_engagement_t
racker_java" ] | 115 visibility = [ "//components/feature_engagement_tracker:feature_engagement_t
racker_java" ] |
| 112 | 116 |
| 113 java_files = [ "android/java/src/org/chromium/components/feature_engagement_
tracker/internal/FeatureEngagementTrackerImpl.java" ] | 117 java_files = [ "android/java/src/org/chromium/components/feature_engagement_
tracker/internal/FeatureEngagementTrackerImpl.java" ] |
| 114 | 118 |
| 115 deps = [ | 119 deps = [ |
| 116 "//base:base_java", | 120 "//base:base_java", |
| 117 "//components/feature_engagement_tracker/public:public_java", | 121 "//components/feature_engagement_tracker/public:public_java", |
| 118 ] | 122 ] |
| 119 } | 123 } |
| 120 | 124 |
| 121 generate_jni("jni_headers") { | 125 generate_jni("jni_headers") { |
| 122 visibility = [ ":*" ] | 126 visibility = [ ":*" ] |
| 123 sources = [ | 127 sources = [ |
| 124 "android/java/src/org/chromium/components/feature_engagement_tracker/inter
nal/FeatureEngagementTrackerImpl.java", | 128 "android/java/src/org/chromium/components/feature_engagement_tracker/inter
nal/FeatureEngagementTrackerImpl.java", |
| 125 ] | 129 ] |
| 126 jni_package = "components/feature_engagement_tracker/internal" | 130 jni_package = "components/feature_engagement_tracker/internal" |
| 127 } | 131 } |
| 128 } | 132 } |
| OLD | NEW |