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 ] | 45 ] |
44 | 46 |
45 public_deps = [ | 47 public_deps = [ |
46 "//components/feature_engagement_tracker/internal/proto", | 48 "//components/feature_engagement_tracker/internal/proto", |
47 ] | 49 ] |
48 | 50 |
(...skipping 24 matching lines...) Expand all Loading... |
73 sources = [ | 75 sources = [ |
74 "chrome_variations_configuration_unittest.cc", | 76 "chrome_variations_configuration_unittest.cc", |
75 "editable_configuration_unittest.cc", | 77 "editable_configuration_unittest.cc", |
76 "feature_config_storage_validator_unittest.cc", | 78 "feature_config_storage_validator_unittest.cc", |
77 "feature_engagement_tracker_impl_unittest.cc", | 79 "feature_engagement_tracker_impl_unittest.cc", |
78 "in_memory_store_unittest.cc", | 80 "in_memory_store_unittest.cc", |
79 "model_impl_unittest.cc", | 81 "model_impl_unittest.cc", |
80 "never_condition_validator_unittest.cc", | 82 "never_condition_validator_unittest.cc", |
81 "never_storage_validator_unittest.cc", | 83 "never_storage_validator_unittest.cc", |
82 "once_condition_validator_unittest.cc", | 84 "once_condition_validator_unittest.cc", |
| 85 "persistent_store_unittest.cc", |
83 "single_invalid_configuration_unittest.cc", | 86 "single_invalid_configuration_unittest.cc", |
84 ] | 87 ] |
85 | 88 |
86 deps = [ | 89 deps = [ |
87 ":internal", | 90 ":internal", |
88 "//base/test:test_support", | 91 "//base/test:test_support", |
| 92 "//components/feature_engagement_tracker/internal/test:test_support", |
| 93 "//components/leveldb_proto:test_support", |
89 "//testing/gtest", | 94 "//testing/gtest", |
90 ] | 95 ] |
91 } | 96 } |
92 | 97 |
93 if (is_android) { | 98 if (is_android) { |
94 android_library("internal_java") { | 99 android_library("internal_java") { |
95 visibility = [ "//components/feature_engagement_tracker:feature_engagement_t
racker_java" ] | 100 visibility = [ "//components/feature_engagement_tracker:feature_engagement_t
racker_java" ] |
96 | 101 |
97 java_files = [ "android/java/src/org/chromium/components/feature_engagement_
tracker/internal/FeatureEngagementTrackerImpl.java" ] | 102 java_files = [ "android/java/src/org/chromium/components/feature_engagement_
tracker/internal/FeatureEngagementTrackerImpl.java" ] |
98 | 103 |
99 deps = [ | 104 deps = [ |
100 "//base:base_java", | 105 "//base:base_java", |
101 "//components/feature_engagement_tracker/public:public_java", | 106 "//components/feature_engagement_tracker/public:public_java", |
102 ] | 107 ] |
103 } | 108 } |
104 | 109 |
105 generate_jni("jni_headers") { | 110 generate_jni("jni_headers") { |
106 visibility = [ ":*" ] | 111 visibility = [ ":*" ] |
107 sources = [ | 112 sources = [ |
108 "android/java/src/org/chromium/components/feature_engagement_tracker/inter
nal/FeatureEngagementTrackerImpl.java", | 113 "android/java/src/org/chromium/components/feature_engagement_tracker/inter
nal/FeatureEngagementTrackerImpl.java", |
109 ] | 114 ] |
110 jni_package = "components/feature_engagement_tracker/internal" | 115 jni_package = "components/feature_engagement_tracker/internal" |
111 } | 116 } |
112 } | 117 } |
OLD | NEW |