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

Unified Diff: components/external_video_surface.gypi

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/components.gyp ('k') | components/external_video_surface/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/external_video_surface.gypi
diff --git a/components/external_video_surface.gypi b/components/external_video_surface.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..b6abe3dcd926006b9cf7fcae845db5347ff88c8a
--- /dev/null
+++ b/components/external_video_surface.gypi
@@ -0,0 +1,49 @@
+# 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.
+
+{
+ 'variables': {
+ 'chromium_code': 1
+ },
+ 'targets': [
+ {
+ 'target_name': 'external_video_surface',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../content/content.gyp:content_browser',
+ 'external_video_surface_jni_headers',
+ ],
+ 'sources': [
+ 'external_video_surface/browser/android/external_video_surface_container_impl.cc',
+ 'external_video_surface/browser/android/external_video_surface_container_impl.h',
+ 'external_video_surface/component_jni_registrar.cc',
+ 'external_video_surface/component_jni_registrar.h',
+ ],
+ },
+ {
+ 'target_name': 'external_video_surface_java',
+ 'type': 'none',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../content/content.gyp:content_java',
+ ],
+ 'variables': {
+ 'java_in_dir': 'external_video_surface/android/java',
+ },
+ 'includes': [ '../build/java.gypi' ],
+ },
+ {
+ 'target_name': 'external_video_surface_jni_headers',
+ 'type': 'none',
+ 'sources': [
+ 'external_video_surface/android/java/src/org/chromium/components/external_video_surface/ExternalVideoSurfaceContainer.java',
+ ],
+ 'variables': {
+ 'jni_gen_package': 'external_video_surface',
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ },
+ ],
+}
« no previous file with comments | « components/components.gyp ('k') | components/external_video_surface/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698