| Index: media/capture/content/android/BUILD.gn
|
| diff --git a/media/capture/content/android/BUILD.gn b/media/capture/content/android/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b4b0f6cb7f892ea385f0668907009ab55ff45bfc
|
| --- /dev/null
|
| +++ b/media/capture/content/android/BUILD.gn
|
| @@ -0,0 +1,39 @@
|
| +# 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_jni_registrar.cc",
|
| + "screen_capture_jni_registrar.h",
|
| + ]
|
| + configs += [
|
| + "//media:media_config",
|
| + "//media:media_implementation",
|
| + ]
|
| + deps = [
|
| + ":screen_capture_jni_headers",
|
| + ]
|
| +}
|
| +
|
| +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" ]
|
| +}
|
|
|