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 3 # found in the LICENSE file. 4 5 static_library("browser") { 6 sources = [ 7 "data_reduction_proxy_auth_request_handler.cc", 8 "data_reduction_proxy_auth_request_handler.h", 9 "data_reduction_proxy_config_service.cc", 10 "data_reduction_proxy_config_service.h", 11 "data_reduction_proxy_configurator.h", 12 "data_reduction_proxy_delegate.cc", 13 "data_reduction_proxy_delegate.h", 14 "data_reduction_proxy_metrics.cc", 15 "data_reduction_proxy_metrics.h", 16 "data_reduction_proxy_params.cc", 17 "data_reduction_proxy_params.h", 18 "data_reduction_proxy_prefs.cc", 19 "data_reduction_proxy_prefs.h", 20 "data_reduction_proxy_protocol.cc", 21 "data_reduction_proxy_protocol.h", 22 "data_reduction_proxy_settings.cc", 23 "data_reduction_proxy_settings.h", 24 "data_reduction_proxy_statistics_prefs.cc", 25 "data_reduction_proxy_statistics_prefs.h", 26 "data_reduction_proxy_tamper_detection.cc", 27 "data_reduction_proxy_tamper_detection.h", 28 "data_reduction_proxy_usage_stats.cc", 29 "data_reduction_proxy_usage_stats.h", 30 ] 31 32 deps = [ 33 "//base", 34 "//components/data_reduction_proxy/common", 35 "//components/pref_registry", 36 "//crypto", 37 "//net", 38 ] 39 } 40 41 static_library("test_support") { 42 testonly = true 43 sources = [ 44 "data_reduction_proxy_params_test_utils.cc", 45 "data_reduction_proxy_params_test_utils.h", 46 "data_reduction_proxy_settings_test_utils.cc", 47 "data_reduction_proxy_settings_test_utils.h", 48 ] 49 50 deps = [ 51 ":browser", 52 "//base", 53 "//components/data_reduction_proxy/common", 54 "//net", 55 "//net:test_support", 56 "//testing/gmock", 57 "//testing/gtest", 58 ] 59 } 60 61 source_set("unit_tests") { 62 testonly = true 63 sources = [ 64 "data_reduction_proxy_auth_request_handler_unittest.cc", 65 "data_reduction_proxy_config_service_unittest.cc", 66 "data_reduction_proxy_metrics_unittest.cc", 67 "data_reduction_proxy_params_unittest.cc", 68 "data_reduction_proxy_protocol_unittest.cc", 69 "data_reduction_proxy_settings_unittest.cc", 70 "data_reduction_proxy_usage_stats_unittest.cc", 71 ] 72 73 deps = [ 74 ":browser", 75 ":test_support", 76 "//testing/gmock", 77 "//testing/gtest", 78 ] 79 } 80