OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 static_library("browser") { | 5 static_library("browser") { |
6 sources = [ | 6 sources = [ |
| 7 "content_settings_client.cc", |
| 8 "content_settings_client.h", |
7 "content_settings_details.cc", | 9 "content_settings_details.cc", |
8 "content_settings_details.h", | 10 "content_settings_details.h", |
9 "content_settings_observer.h", | 11 "content_settings_observer.h", |
10 "content_settings_provider.h", | 12 "content_settings_provider.h", |
11 "content_settings_observable_provider.cc", | 13 "content_settings_observable_provider.cc", |
12 "content_settings_observable_provider.h", | 14 "content_settings_observable_provider.h", |
13 "content_settings_origin_identifier_value_map.cc", | 15 "content_settings_origin_identifier_value_map.cc", |
14 "content_settings_origin_identifier_value_map.h", | 16 "content_settings_origin_identifier_value_map.h", |
15 "content_settings_rule.cc", | 17 "content_settings_rule.cc", |
16 "content_settings_rule.h", | 18 "content_settings_rule.h", |
17 "local_shared_objects_counter.h", | 19 "local_shared_objects_counter.h", |
18 ] | 20 ] |
19 | 21 |
20 deps = [ | 22 deps = [ |
21 "//base", | 23 "//base", |
22 "//components/content_settings/core/common", | 24 "//components/content_settings/core/common", |
23 ] | 25 ] |
24 } | 26 } |
25 | 27 |
| 28 static_library("browser_test_utils") { |
| 29 sources = [ |
| 30 "stub_content_settings_client.cc", |
| 31 "stub_content_settings_client.h", |
| 32 "stub_local_shared_objects_counter.cc", |
| 33 "stub_local_shared_objects_counter.h", |
| 34 ] |
| 35 |
| 36 deps = [ |
| 37 "//base", |
| 38 ] |
| 39 } |
| 40 |
26 source_set("unit_tests") { | 41 source_set("unit_tests") { |
27 testonly = true | 42 testonly = true |
28 sources = [ | 43 sources = [ |
29 "content_settings_rule_unittest.cc", | 44 "content_settings_rule_unittest.cc", |
30 ] | 45 ] |
31 | 46 |
32 deps = [ | 47 deps = [ |
33 ":browser", | 48 ":browser", |
34 "//testing/gtest", | 49 "//testing/gtest", |
35 ] | 50 ] |
36 } | 51 } |
OLD | NEW |