| 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 "pref_names.cc", | 14 "pref_names.cc", |
| 15 "pref_names.h", | 15 "pref_names.h", |
| 16 ] | 16 ] |
| 17 | 17 |
| 18 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 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_parser_unittest.cc", | 30 "content_settings_pattern_parser_unittest.cc", |
| 29 "content_settings_pattern_unittest.cc", | 31 "content_settings_pattern_unittest.cc", |
| 30 ] | 32 ] |
| 31 | 33 |
| 32 deps = [ | 34 deps = [ |
| 33 ":common", | 35 ":common", |
| 34 "//net", | 36 "//net", |
| 35 "//testing/gmock", | 37 "//testing/gmock", |
| 36 "//testing/gtest", | 38 "//testing/gtest", |
| 37 "//url", | 39 "//url", |
| 38 ] | 40 ] |
| 39 } | 41 } |
| OLD | NEW |