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

Unified Diff: components/external_video_surface/BUILD.gn

Issue 1123993002: Componentizes external_video_surface to reduce webview/Cast duplication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: java DEPS, round 2 Created 5 years, 7 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
« no previous file with comments | « components/external_video_surface.gypi ('k') | components/external_video_surface/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/external_video_surface/BUILD.gn
diff --git a/components/external_video_surface/BUILD.gn b/components/external_video_surface/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..553234a1cb324564bc7cecf428519ae4d4c7c83e
--- /dev/null
+++ b/components/external_video_surface/BUILD.gn
@@ -0,0 +1,40 @@
+# Copyright 2015 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.
+
+if (is_android) {
+ import("//build/config/android/rules.gni")
+}
+
+static_library("external_video_surface") {
+ if (is_android) {
+ sources += [
+ "browser/android/external_video_surface_container_impl.cc",
+ "browser/android/external_video_surface_container_impl.h",
+ "component_jni_registrar.cc",
+ "component_jni_registrar.h",
+ ]
+
+ deps = [
+ ":jni_headers",
+ "//base",
+ "//content/public/browser",
+ ]
+ }
+}
+
+if (is_android) {
+ android_library("java") {
+ java_files = [ "android/java/src/org/chromium/components/external_video_surface/ExternalVideoSurfaceContainer.java" ]
+ deps = [
+ "//base:base_java",
+ "//content/public/android:content_java",
+ ]
+ }
+ generate_jni("jni_headers") {
+ sources = [
+ "android/java/src/org/chromium/components/external_video_surface/ExternalVideoSurfaceContainer.java",
+ ]
+ jni_package = "external_video_surface"
+ }
+}
« no previous file with comments | « components/external_video_surface.gypi ('k') | components/external_video_surface/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698