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 "//third_party/libyuv", | |
27 ] | |
28 } | |
29 | |
30 generate_jni("screen_capture_jni_headers") { | |
31 sources = [ | |
32 "java/src/org/chromium/media/ScreenCapture.java", | |
33 ] | |
34 jni_package = "media" | |
35 } | |
36 | |
37 android_library("screen_capture_java") { | |
38 deps = [ | |
39 "//base:base_java", | |
40 ] | |
41 java_files = [ "java/src/org/chromium/media/ScreenCapture.java" ] | |
42 } | |
OLD | NEW |