diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/chromecast/system | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-c30a6232df03e1efbd9f3b226777b07e087a1122.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/chromecast/system')
-rw-r--r-- | chromium/chromecast/system/reboot/BUILD.gn | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/chromium/chromecast/system/reboot/BUILD.gn b/chromium/chromecast/system/reboot/BUILD.gn index a2bbb938a07..c36ba2a540a 100644 --- a/chromium/chromecast/system/reboot/BUILD.gn +++ b/chromium/chromecast/system/reboot/BUILD.gn @@ -13,10 +13,12 @@ cast_source_set("reboot_util") { deps = [ "//base" ] - if (chromecast_branding == "google" && !is_fuchsia) { - deps += [ "//chromecast/internal/system/reboot:reboot_util" ] - } else { - sources += [ "reboot_util_dummy.cc" ] + if (!is_fuchsia) { + if (chromecast_branding == "google") { + deps += [ "//chromecast/internal/system/reboot:reboot_util" ] + } else { + sources += [ "reboot_util_dummy.cc" ] + } } if (is_android && chromecast_branding != "public") { @@ -41,6 +43,19 @@ test("cast_reboot_unittests") { "//testing/gmock", "//testing/gtest", ] + + if (is_fuchsia) { + sources += [ "reboot_fuchsia_test.cc" ] + deps += [ + ":fuchsia", + "//chromecast/public", + "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.feedback", + "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.hardware.power.statecontrol", + "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.io", + "//third_party/fuchsia-sdk/sdk/pkg/fidl_cpp", + "//third_party/fuchsia-sdk/sdk/pkg/sys_cpp", + ] + } } # Target for OEM partners to override reboot shared library, i.e. @@ -53,13 +68,19 @@ cast_shared_library("libcast_reboot_1.0") { if (is_fuchsia) { cast_source_set("fuchsia") { - sources = [ "reboot_fuchsia.cc" ] + sources = [ + "reboot_fuchsia.cc", + "reboot_fuchsia.h", + "reboot_util.h", + ] public_deps = [ "//chromecast/public" ] deps = [ "//base", + "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.feedback", "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.hardware.power.statecontrol", "//third_party/fuchsia-sdk/sdk/pkg/fidl", "//third_party/fuchsia-sdk/sdk/pkg/fidl_cpp", + "//third_party/fuchsia-sdk/sdk/pkg/sys_cpp", ] } } |