| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("mime_util") { | 5 source_set("net_log") { |
| 6 sources = [ | 6 sources = [ |
| 7 "mime_util.cc", | 7 "chrome_net_log.cc", |
| 8 "mime_util.h", | 8 "chrome_net_log.h", |
| 9 "net_log_temp_file.cc", |
| 10 "net_log_temp_file.h", |
| 9 ] | 11 ] |
| 10 | 12 |
| 11 deps = [ | 13 deps = [ |
| 12 "//base", | 14 "//base", |
| 15 "//components/data_reduction_proxy/core/common", |
| 16 "//components/version_info", |
| 13 "//net", | 17 "//net", |
| 14 ] | 18 ] |
| 15 | |
| 16 # iOS doesn't use and must not depend on //media | |
| 17 if (!is_ios) { | |
| 18 deps += [ "//media" ] | |
| 19 } | |
| 20 } | 19 } |
| 21 | 20 |
| 22 source_set("unit_tests") { | 21 source_set("unit_tests") { |
| 23 testonly = true | 22 testonly = true |
| 24 sources = [ | 23 sources = [ |
| 25 "mime_util_unittest.cc", | 24 "net_log_temp_file_unittest.cc", |
| 26 ] | 25 ] |
| 27 | |
| 28 deps = [ | 26 deps = [ |
| 29 ":mime_util", | |
| 30 "//base", | 27 "//base", |
| 28 "//net", |
| 31 "//testing/gtest", | 29 "//testing/gtest", |
| 30 ":net_log", |
| 32 ] | 31 ] |
| 33 } | 32 } |
| OLD | NEW |