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

Side by Side Diff: components/external_video_surface/BUILD.gn

Issue 1410203002: Start adding gn build for android_webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comment Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « android_webview/native/webview_native.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 } 7 }
8 8
9 static_library("external_video_surface") { 9 source_set("external_video_surface") {
10 if (is_android) { 10 if (is_android) {
11 sources += [ 11 sources = [
12 "browser/android/external_video_surface_container_impl.cc", 12 "browser/android/external_video_surface_container_impl.cc",
13 "browser/android/external_video_surface_container_impl.h", 13 "browser/android/external_video_surface_container_impl.h",
14 "component_jni_registrar.cc", 14 "component_jni_registrar.cc",
15 "component_jni_registrar.h", 15 "component_jni_registrar.h",
16 ] 16 ]
17 17
18 deps = [ 18 deps = [
19 ":jni_headers", 19 ":jni_headers",
20 "//base", 20 "//base",
21 "//content/public/browser", 21 "//content/public/browser",
22 ] 22 ]
23 } 23 }
24 } 24 }
25 25
26 if (is_android) { 26 if (is_android) {
27 android_library("java") { 27 android_library("java") {
28 java_files = [ "android/java/src/org/chromium/components/external_video_surf ace/ExternalVideoSurfaceContainer.java" ] 28 java_files = [ "android/java/src/org/chromium/components/external_video_surf ace/ExternalVideoSurfaceContainer.java" ]
29 deps = [ 29 deps = [
30 "//base:base_java", 30 "//base:base_java",
31 "//content/public/android:content_java", 31 "//content/public/android:content_java",
32 ] 32 ]
33 } 33 }
34 generate_jni("jni_headers") { 34 generate_jni("jni_headers") {
35 sources = [ 35 sources = [
36 "android/java/src/org/chromium/components/external_video_surface/ExternalV ideoSurfaceContainer.java", 36 "android/java/src/org/chromium/components/external_video_surface/ExternalV ideoSurfaceContainer.java",
37 ] 37 ]
38 jni_package = "external_video_surface" 38 jni_package = "external_video_surface"
39 } 39 }
40 } 40 }
OLDNEW
« no previous file with comments | « android_webview/native/webview_native.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698