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