Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1126)

Unified Diff: media/capture/content/android/BUILD.gn

Issue 1917023003: ScreenCapture for Android phase1, part I (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dependency Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..f9a3c34d0c3623ce9dbc8070c12b17e010d307d1
--- /dev/null
+++ b/media/capture/content/android/BUILD.gn
@@ -0,0 +1,42 @@
+# 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",
+ "screen_capture_machine_android.cc",
+ "screen_capture_machine_android.h",
+ ]
+ configs += [
+ "//media:media_config",
+ "//media:media_implementation",
+ ]
+ deps = [
+ ":screen_capture_jni_headers",
+ "//third_party/libyuv",
+ ]
+}
+
+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" ]
+}
« no previous file with comments | « media/capture/BUILD.gn ('k') | media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698