OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/android/rules.gni") |
| 7 import("//build/config/arm.gni") |
| 8 import("//build/config/ui.gni") |
| 9 import("//media/media_options.gni") |
| 10 |
| 11 assert(is_android) |
| 12 |
| 13 source_set("android") { |
| 14 sources = [ |
| 15 "screen_capture_jni_registrar.cc", |
| 16 "screen_capture_jni_registrar.h", |
| 17 "screen_capture_machine_android.cc", |
| 18 "screen_capture_machine_android.h", |
| 19 ] |
| 20 configs += [ |
| 21 "//media:media_config", |
| 22 "//media:media_implementation", |
| 23 ] |
| 24 deps = [ |
| 25 ":screen_capture_jni_headers", |
| 26 "//media/mojo/interfaces:image_capture", |
| 27 "//third_party/libyuv", |
| 28 ] |
| 29 } |
| 30 |
| 31 generate_jni("screen_capture_jni_headers") { |
| 32 sources = [ |
| 33 "java/src/org/chromium/media/ScreenCapture.java", |
| 34 ] |
| 35 jni_package = "media" |
| 36 } |
| 37 |
| 38 android_library("screen_capture_java") { |
| 39 deps = [ |
| 40 "//base:base_java", |
| 41 ] |
| 42 java_files = [ "java/src/org/chromium/media/ScreenCapture.java" ] |
| 43 } |
OLD | NEW |