| 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 | 6 |
| 7 source_set("browser") { | 7 source_set("browser") { |
| 8 sources = [ | 8 sources = [ |
| 9 "content_settings_binary_value_map.cc", | 9 "content_settings_binary_value_map.cc", |
| 10 "content_settings_binary_value_map.h", | 10 "content_settings_binary_value_map.h", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 if (enable_plugins) { | 49 if (enable_plugins) { |
| 50 sources += [ | 50 sources += [ |
| 51 "plugins_field_trial.cc", | 51 "plugins_field_trial.cc", |
| 52 "plugins_field_trial.h", | 52 "plugins_field_trial.h", |
| 53 ] | 53 ] |
| 54 } | 54 } |
| 55 | 55 |
| 56 deps = [ | 56 deps = [ |
| 57 "//base", | 57 "//base", |
| 58 "//base:prefs", | |
| 59 "//components/content_settings/core/common", | 58 "//components/content_settings/core/common", |
| 60 "//components/keyed_service/core", | 59 "//components/keyed_service/core", |
| 61 "//components/pref_registry:pref_registry", | 60 "//components/pref_registry:pref_registry", |
| 61 "//components/prefs", |
| 62 "//components/url_formatter", | 62 "//components/url_formatter", |
| 63 "//net", | 63 "//net", |
| 64 "//url", | 64 "//url", |
| 65 ] | 65 ] |
| 66 | 66 |
| 67 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 67 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 68 } | 68 } |
| 69 | 69 |
| 70 source_set("unit_tests") { | 70 source_set("unit_tests") { |
| 71 testonly = true | 71 testonly = true |
| 72 sources = [ | 72 sources = [ |
| 73 "content_settings_mock_provider.cc", | 73 "content_settings_mock_provider.cc", |
| 74 "content_settings_mock_provider.h", | 74 "content_settings_mock_provider.h", |
| 75 "content_settings_registry_unittest.cc", | 75 "content_settings_registry_unittest.cc", |
| 76 "content_settings_rule_unittest.cc", | 76 "content_settings_rule_unittest.cc", |
| 77 "content_settings_utils_unittest.cc", | 77 "content_settings_utils_unittest.cc", |
| 78 "cookie_settings_unittest.cc", | 78 "cookie_settings_unittest.cc", |
| 79 "website_settings_registry_unittest.cc", | 79 "website_settings_registry_unittest.cc", |
| 80 ] | 80 ] |
| 81 | 81 |
| 82 if (enable_plugins) { | 82 if (enable_plugins) { |
| 83 sources += [ "content_settings_provider_unittest.cc" ] | 83 sources += [ "content_settings_provider_unittest.cc" ] |
| 84 } | 84 } |
| 85 | 85 |
| 86 deps = [ | 86 deps = [ |
| 87 ":browser", | 87 ":browser", |
| 88 "//base", | 88 "//base", |
| 89 "//base:prefs", | |
| 90 "//base/test:test_support", | 89 "//base/test:test_support", |
| 91 "//components/content_settings/core/common", | 90 "//components/content_settings/core/common", |
| 92 "//components/content_settings/core/test:test_support", | 91 "//components/content_settings/core/test:test_support", |
| 93 "//components/pref_registry:test_support", | 92 "//components/pref_registry:test_support", |
| 93 "//components/prefs", |
| 94 "//testing/gtest", | 94 "//testing/gtest", |
| 95 "//url", | 95 "//url", |
| 96 ] | 96 ] |
| 97 } | 97 } |
| OLD | NEW |