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 import("//chromecast/chromecast.gni") | 5 import("//chromecast/chromecast.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 source_set("browser") { | 8 source_set("browser") { |
9 sources = [ | 9 sources = [ |
10 "cast_browser_context.cc", | 10 "cast_browser_context.cc", |
(...skipping 29 matching lines...) Expand all Loading... |
40 "metrics/cast_metrics_prefs.cc", | 40 "metrics/cast_metrics_prefs.cc", |
41 "metrics/cast_metrics_prefs.h", | 41 "metrics/cast_metrics_prefs.h", |
42 "metrics/cast_metrics_service_client.cc", | 42 "metrics/cast_metrics_service_client.cc", |
43 "metrics/cast_metrics_service_client.h", | 43 "metrics/cast_metrics_service_client.h", |
44 "metrics/cast_stability_metrics_provider.cc", | 44 "metrics/cast_stability_metrics_provider.cc", |
45 "metrics/cast_stability_metrics_provider.h", | 45 "metrics/cast_stability_metrics_provider.h", |
46 "pref_service_helper.cc", | 46 "pref_service_helper.cc", |
47 "pref_service_helper.h", | 47 "pref_service_helper.h", |
48 "service/cast_service.cc", | 48 "service/cast_service.cc", |
49 "service/cast_service.h", | 49 "service/cast_service.h", |
50 "service/cast_service_android.cc", | 50 "service/cast_service_simple.cc", |
51 "service/cast_service_android.h", | 51 "service/cast_service_simple.h", |
52 "url_request_context_factory.cc", | 52 "url_request_context_factory.cc", |
53 "url_request_context_factory.h", | 53 "url_request_context_factory.h", |
54 ] | 54 ] |
55 | 55 |
56 if (chromecast_branding == "public") { | 56 if (chromecast_branding == "public") { |
57 sources += [ | 57 sources += [ |
58 "cast_content_browser_client_simple.cc", | 58 "cast_content_browser_client_simple.cc", |
59 "cast_network_delegate_simple.cc", | 59 "cast_network_delegate_simple.cc", |
60 "devtools/remote_debugging_server_simple.cc", | 60 "devtools/remote_debugging_server_simple.cc", |
61 "pref_service_helper_simple.cc", | 61 "pref_service_helper_simple.cc", |
62 ] | 62 ] |
63 | |
64 if (!is_android) { | |
65 sources += [ | |
66 "service/cast_service_simple.cc", | |
67 "service/cast_service_simple.h", | |
68 ] | |
69 } | |
70 } | 63 } |
71 | 64 |
72 deps = [ | 65 deps = [ |
73 "//base", | 66 "//base", |
74 "//base:prefs", | 67 "//base:prefs", |
75 "//base:i18n", | 68 "//base:i18n", |
76 "//cc", | 69 "//cc", |
77 "//chromecast/app:chromecast_settings", | 70 "//chromecast/app:chromecast_settings", |
78 "//chromecast/app:resources", | 71 "//chromecast/app:resources", |
79 "//chromecast/base", | 72 "//chromecast/base", |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 146 |
154 configs += [ ":browser_test_config" ] | 147 configs += [ ":browser_test_config" ] |
155 | 148 |
156 deps = [ | 149 deps = [ |
157 ":test_support", | 150 ":test_support", |
158 "//base", | 151 "//base", |
159 "//testing/gtest", | 152 "//testing/gtest", |
160 "//url", | 153 "//url", |
161 ] | 154 ] |
162 } | 155 } |
OLD | NEW |