| 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") | |
| 6 | |
| 7 source_set("common") { | 5 source_set("common") { |
| 8 sources = [ | 6 sources = [ |
| 9 "cast_content_client.cc", | 7 "cast_content_client.cc", |
| 10 "cast_content_client.h", | 8 "cast_content_client.h", |
| 11 "cast_resource_delegate.cc", | 9 "cast_resource_delegate.cc", |
| 12 "cast_resource_delegate.h", | 10 "cast_resource_delegate.h", |
| 13 "global_descriptors.h", | 11 "global_descriptors.h", |
| 14 ] | 12 ] |
| 15 | 13 |
| 16 deps = [ | 14 deps = [ |
| 17 "//base", | 15 "//base", |
| 18 "//chromecast/base", | 16 "//chromecast/base", |
| 19 "//chromecast/base:cast_version", | 17 "//chromecast/base:cast_version", |
| 20 "//chromecast/common/media", | 18 "//chromecast/common/media", |
| 21 "//content/public/common", | 19 "//content/public/common", |
| 22 "//ui/base", | 20 "//ui/base", |
| 23 "//ui/gfx", | 21 "//ui/gfx", |
| 24 "//url:url", | 22 "//url:url", |
| 25 ] | 23 ] |
| 26 | |
| 27 public_deps = [ | |
| 28 ":platform_client_auth", | |
| 29 ] | |
| 30 } | 24 } |
| 31 | |
| 32 # target for definition and a simple implementation of PlatformClientAuth | |
| 33 # b/30398176 components that depend on PlatformClientAuth should directly | |
| 34 # depend on this target instead of //chromecast/common/ | |
| 35 source_set("platform_client_auth") { | |
| 36 sources = [ | |
| 37 "platform_client_auth.h", | |
| 38 ] | |
| 39 | |
| 40 if (chromecast_branding == "public") { | |
| 41 sources += [ "platform_client_auth_simple.cc" ] | |
| 42 } | |
| 43 } | |
| OLD | NEW |