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

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

Issue 1180573004: android: Introduce a ui::PlatformWindow implementation for android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix-win-gn Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/view_manager/native_viewport/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//mojo/public/mojo_application.gni") 7 import("//mojo/public/mojo_application.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
11 import("//build/config/android/rules.gni") 11 import("//build/config/android/rules.gni")
12 12
13 group("view_manager") { 13 group("view_manager") {
14 deps = [ 14 deps = [
15 ":jni_headers",
16 ":lib", 15 ":lib",
17 ":loader", 16 ":loader",
18 ":view_manager_java",
19 "native_viewport", 17 "native_viewport",
20 ] 18 ]
21 } 19 }
22 20
23 android_library("view_manager_java") {
24 java_files = [ "native_viewport/android/src/org/chromium/mojo/PlatformViewpo rtAndroid.java" ]
25
26 deps = [
27 "//base:base_java",
28 ]
29 }
30
31 generate_jni("jni_headers") {
32 sources = [
33 "native_viewport/android/src/org/chromium/mojo/PlatformViewportAndroid.jav a",
34 ]
35
36 jni_package = "mojo"
37 }
38
39 source_set("loader") { 21 source_set("loader") {
40 sources = [ 22 sources = [
41 "android_loader.cc", 23 "android_loader.cc",
42 "android_loader.h", 24 "android_loader.h",
43 ] 25 ]
44 26
45 deps = [ 27 deps = [
46 "public/interfaces", 28 "public/interfaces",
47 "//third_party/mojo/src/mojo/public/cpp/bindings", 29 "//third_party/mojo/src/mojo/public/cpp/bindings",
48 ] 30 ]
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 "//base/test:test_config", 204 "//base/test:test_config",
223 "//components/view_manager/public/cpp", 205 "//components/view_manager/public/cpp",
224 "//components/view_manager/public/interfaces", 206 "//components/view_manager/public/interfaces",
225 "//mojo/application/public/cpp:test_support", 207 "//mojo/application/public/cpp:test_support",
226 "//ui/mojo/geometry:interfaces", 208 "//ui/mojo/geometry:interfaces",
227 "//ui/mojo/geometry:util", 209 "//ui/mojo/geometry:util",
228 ] 210 ]
229 211
230 data_deps = [ ":view_manager" ] 212 data_deps = [ ":view_manager" ]
231 } 213 }
OLDNEW
« no previous file with comments | « no previous file | components/view_manager/native_viewport/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698