blob: 154675f84cabd4638b31f070831a1b21cfa2b8f5 [file] [log] [blame]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//chromecast/chromecast.gni")
import("//media/media_options.gni")
# These targets shall only be referenced on Android builds.
assert(is_android)
cast_shared_library("libcast_shell_android") {
sources = [
"//chromecast/app/android/cast_jni_loader.cc",
]
deps = [
"//base",
"//chromecast:cast_shell_jni_registration",
"//chromecast:cast_shell_lib",
"//chromecast:chromecast_buildflags",
"//chromecast/app",
"//chromecast/app:cast_crash_client",
"//chromecast/base",
"//chromecast/base:cast_sys_info",
"//chromecast/base:jni_headers",
"//chromecast/base/metrics",
"//chromecast/browser",
"//components/crash/android:crash_android",
"//components/minidump_uploader",
"//content/public/app:both",
"//content/public/browser",
"//skia",
]
# Explicit dependencies required for JNI registration to be able to find the
# native side functions.
if (is_component_build) {
deps += [
"//device/bluetooth",
"//device/gamepad",
"//media/midi",
"//ui/android",
"//ui/events/devices",
"//ui/shell_dialogs",
]
}
if (is_cast_using_cma_backend) {
deps += [ "//chromecast/media/cma/backend/android:cast_media_android" ]
}
}