mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
|
# Copyright 2016 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("//build/config/android/config.gni")
|
||
|
import("//build/config/android/rules.gni")
|
||
|
import("//build/config/arm.gni")
|
||
|
import("//build/config/ui.gni")
|
||
|
import("//media/media_options.gni")
|
||
|
|
||
|
assert(is_android)
|
||
|
|
||
|
source_set("android") {
|
||
|
sources = [
|
||
|
"screen_capture_machine_android.cc",
|
||
|
"screen_capture_machine_android.h",
|
||
|
"thread_safe_capture_oracle.cc",
|
||
|
"thread_safe_capture_oracle.h",
|
||
|
]
|
||
|
configs += [ "//media:media_config" ]
|
||
|
deps = [
|
||
|
":screen_capture_jni_headers",
|
||
|
"//media",
|
||
|
"//media/capture:capture_device_specific",
|
||
|
"//media/capture/mojom:image_capture",
|
||
|
"//third_party/libyuv",
|
||
|
"//ui/gfx:color_space",
|
||
|
"//ui/gfx/geometry",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
generate_jni("screen_capture_jni_headers") {
|
||
|
sources = [
|
||
|
"java/src/org/chromium/media/ScreenCapture.java",
|
||
|
]
|
||
|
jni_package = "media"
|
||
|
}
|
||
|
|
||
|
android_library("screen_capture_java") {
|
||
|
deps = [
|
||
|
"//base:base_java",
|
||
|
]
|
||
|
java_files = [ "java/src/org/chromium/media/ScreenCapture.java" ]
|
||
|
}
|