| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("data_source") { | 5 source_set("data_source") { |
| 6 sources = [ | 6 sources = [ |
| 7 "physical_web_data_source.cc", | 7 "physical_web_data_source.cc", |
| 8 "physical_web_data_source.h", | 8 "physical_web_data_source.h", |
| 9 "physical_web_data_source_impl.cc", | 9 "physical_web_data_source_impl.cc", |
| 10 "physical_web_data_source_impl.h", | 10 "physical_web_data_source_impl.h", |
| 11 "physical_web_listener.h", | 11 "physical_web_listener.h", |
| 12 ] | 12 ] |
| 13 | 13 |
| 14 deps = [ | 14 deps = [ |
| 15 "//base", | 15 "//base", |
| 16 ] | 16 ] |
| 17 } | 17 } |
| 18 | 18 |
| 19 source_set("test_support") { |
| 20 testonly = true |
| 21 sources = [ |
| 22 "fake_physical_web_data_source.cc", |
| 23 "fake_physical_web_data_source.h", |
| 24 ] |
| 25 deps = [ |
| 26 ":data_source", |
| 27 "//base", |
| 28 ] |
| 29 } |
| 30 |
| 19 source_set("unit_tests") { | 31 source_set("unit_tests") { |
| 20 testonly = true | 32 testonly = true |
| 21 sources = [ | 33 sources = [ |
| 22 "physical_web_data_source_impl_unittest.cc", | 34 "physical_web_data_source_impl_unittest.cc", |
| 23 ] | 35 ] |
| 24 | 36 |
| 25 deps = [ | 37 deps = [ |
| 26 ":data_source", | 38 ":data_source", |
| 27 "//base", | 39 "//base", |
| 28 "//testing/gtest", | 40 "//testing/gtest", |
| 29 ] | 41 ] |
| 30 } | 42 } |
| OLD | NEW |