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("common") { | 5 static_library("common") { |
6 sources = [ | 6 sources = [ |
7 "content_settings.cc", | 7 "content_settings.cc", |
8 "content_settings.h", | 8 "content_settings.h", |
9 "content_settings_pattern.cc", | 9 "content_settings_pattern.cc", |
10 "content_settings_pattern.h", | 10 "content_settings_pattern.h", |
11 "content_settings_pattern_parser.cc", | 11 "content_settings_pattern_parser.cc", |
12 "content_settings_pattern_parser.h", | 12 "content_settings_pattern_parser.h", |
13 "content_settings_types.h", | 13 "content_settings_types.h", |
14 "permission_request_id.h", | 14 "permission_request_id.h", |
15 "permission_request_id.cc", | 15 "permission_request_id.cc", |
| 16 "pref_names.h", |
| 17 "pref_names.cc", |
16 ] | 18 ] |
17 | 19 |
18 deps = [ | 20 deps = [ |
19 "//base", | 21 "//base", |
20 "//net", | 22 "//net", |
21 "//url", | 23 "//url", |
22 ] | 24 ] |
23 } | 25 } |
24 | 26 |
25 source_set("unit_tests") { | 27 source_set("unit_tests") { |
26 testonly = true | 28 testonly = true |
27 sources = [ | 29 sources = [ |
28 "content_settings_pattern_unittest.cc", | 30 "content_settings_pattern_unittest.cc", |
29 "content_settings_pattern_parser_unittest.cc", | 31 "content_settings_pattern_parser_unittest.cc", |
30 ] | 32 ] |
31 | 33 |
32 deps = [ | 34 deps = [ |
33 ":common", | 35 ":common", |
34 "//testing/gmock", | 36 "//testing/gmock", |
35 "//testing/gtest", | 37 "//testing/gtest", |
36 ] | 38 ] |
37 } | 39 } |
OLD | NEW |