Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: components/data_reduction_proxy/content/browser/BUILD.gn

Issue 966443002: Add DataReductionProxy IPC to determine if the Data Reduction Proxy was used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to head Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("browser") { 5 static_library("browser") {
6 sources = [ 6 sources = [
7 "content_data_reduction_proxy_debug_ui_service.cc", 7 "data_reduction_proxy_message_filter.cc",
8 "content_data_reduction_proxy_debug_ui_service.h", 8 "data_reduction_proxy_message_filter.h",
9 "data_reduction_proxy_debug_blocking_page.cc",
10 "data_reduction_proxy_debug_blocking_page.h",
11 "data_reduction_proxy_debug_resource_throttle.cc",
12 "data_reduction_proxy_debug_resource_throttle.h",
13 "data_reduction_proxy_debug_ui_manager.cc",
14 "data_reduction_proxy_debug_ui_manager.h",
15 ] 9 ]
16 10
17 deps = [ 11 deps = [
18 "//base", 12 "//base",
19 "//components/resources", 13 "//components/data_reduction_proxy/content/common",
20 "//components/strings",
21 "//content/public/browser", 14 "//content/public/browser",
22 "//skia", 15 "//ipc",
23 "//ui/base", 16 "//net",
24 ] 17 ]
18
19 if (is_android) {
20 sources += [
21 "content_data_reduction_proxy_debug_ui_service.cc",
22 "content_data_reduction_proxy_debug_ui_service.h",
23 "data_reduction_proxy_debug_blocking_page.cc",
24 "data_reduction_proxy_debug_blocking_page.h",
25 "data_reduction_proxy_debug_resource_throttle.cc",
26 "data_reduction_proxy_debug_resource_throttle.h",
27 "data_reduction_proxy_debug_ui_manager.cc",
28 "data_reduction_proxy_debug_ui_manager.h",
29 ]
30
31 deps += [
32 "//components/resources",
33 "//components/strings",
34 "//skia",
35 "//ui/base",
36 ]
37 }
25 } 38 }
26 39
27 if (is_android) { 40 source_set("unit_tests") {
28 source_set("unit_tests") { 41 testonly = true
29 testonly = true 42 sources = [
30 sources = [ 43 "data_reduction_proxy_message_filter_unittest.cc",
44 ]
45
46 deps = [
47 ":browser",
48 "//base",
49 "//components/data_reduction_proxy/core/browser:test_support",
50 "//components/data_reduction_proxy/core/common:test_support",
51 "//net",
52 "//testing/gtest",
53 "//testing/gmock",
54 ]
55
56 if (is_android) {
57 sources += [
31 "data_reduction_proxy_debug_blocking_page_unittest.cc", 58 "data_reduction_proxy_debug_blocking_page_unittest.cc",
32 "data_reduction_proxy_debug_resource_throttle_unittest.cc", 59 "data_reduction_proxy_debug_resource_throttle_unittest.cc",
33 "data_reduction_proxy_debug_ui_manager_unittest.cc", 60 "data_reduction_proxy_debug_ui_manager_unittest.cc",
34 ] 61 ]
35 62
36 deps = [ 63 deps += [
37 ":browser",
38 "//skia", 64 "//skia",
39 "//testing/gtest",
40 "//testing/gmock",
41 "//third_party/mojo/src/mojo/public/cpp/bindings", 65 "//third_party/mojo/src/mojo/public/cpp/bindings",
42 ] 66 ]
43 } 67 }
44 } 68 }
OLDNEW
« no previous file with comments | « components/data_reduction_proxy/OWNERS ('k') | components/data_reduction_proxy/content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698