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

Side by Side Diff: ui/android/BUILD.gn

Issue 2416403002: Reland of Android: support multiple displays on C++ side (Closed)
Patch Set: Took web_contents_view_android.cc changes away, addressed comments Created 4 years, 1 month 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 | « content/test/BUILD.gn ('k') | ui/android/DEPS » ('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 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 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 assert(is_android) 8 assert(is_android)
9 9
10 component("android") { 10 component("android") {
11 output_name = "ui_android" 11 output_name = "ui_android"
12 sources = [ 12 sources = [
13 "animation_utils.h", 13 "animation_utils.h",
14 "context_provider_factory.cc", 14 "context_provider_factory.cc",
15 "context_provider_factory.h", 15 "context_provider_factory.h",
16 "delegated_frame_host_android.cc", 16 "delegated_frame_host_android.cc",
17 "delegated_frame_host_android.h", 17 "delegated_frame_host_android.h",
18 "display_android_manager.cc",
19 "display_android_manager.h",
18 "edge_effect.cc", 20 "edge_effect.cc",
19 "edge_effect.h", 21 "edge_effect.h",
20 "edge_effect_base.cc", 22 "edge_effect_base.cc",
21 "edge_effect_base.h", 23 "edge_effect_base.h",
22 "edge_effect_l.cc", 24 "edge_effect_l.cc",
23 "edge_effect_l.h", 25 "edge_effect_l.h",
24 "overscroll_glow.cc", 26 "overscroll_glow.cc",
25 "overscroll_glow.h", 27 "overscroll_glow.h",
26 "overscroll_refresh.cc", 28 "overscroll_refresh.cc",
27 "overscroll_refresh.h", 29 "overscroll_refresh.h",
28 "resources/crushed_sprite_resource.cc", 30 "resources/crushed_sprite_resource.cc",
29 "resources/crushed_sprite_resource.h", 31 "resources/crushed_sprite_resource.h",
30 "resources/resource_manager.cc", 32 "resources/resource_manager.cc",
31 "resources/resource_manager.h", 33 "resources/resource_manager.h",
32 "resources/resource_manager_impl.cc", 34 "resources/resource_manager_impl.cc",
33 "resources/resource_manager_impl.h", 35 "resources/resource_manager_impl.h",
34 "resources/ui_resource_provider.h", 36 "resources/ui_resource_provider.h",
37 "screen_android.h",
35 "ui_android_export.h", 38 "ui_android_export.h",
36 "ui_android_jni_registrar.cc", 39 "ui_android_jni_registrar.cc",
37 "ui_android_jni_registrar.h", 40 "ui_android_jni_registrar.h",
38 "view_android.cc", 41 "view_android.cc",
39 "view_android.h", 42 "view_android.h",
40 "window_android.cc", 43 "window_android.cc",
41 "window_android.h", 44 "window_android.h",
42 "window_android_compositor.h", 45 "window_android_compositor.h",
43 "window_android_observer.h", 46 "window_android_observer.h",
44 ] 47 ]
45 48
46 defines = [ "UI_ANDROID_IMPLEMENTATION" ] 49 defines = [ "UI_ANDROID_IMPLEMENTATION" ]
47 50
48 deps = [ 51 deps = [
49 ":java_enums_srcjar", 52 ":java_enums_srcjar",
50 ":ui_android_jni_headers", 53 ":ui_android_jni_headers",
51 "//base", 54 "//base",
52 "//cc", 55 "//cc",
53 "//cc/surfaces", 56 "//cc/surfaces",
54 "//skia", 57 "//skia",
55 "//ui/display", 58 "//ui/display",
56 "//ui/gfx", 59 "//ui/gfx",
57 "//ui/gfx/geometry", 60 "//ui/gfx/geometry",
58 ] 61 ]
59 } 62 }
60 63
64 static_library("test_support") {
65 testonly = true
66 sources = [
67 "dummy_screen_android.cc",
68 "screen_android_for_tests.h",
boliu 2016/11/14 20:49:59 just match the cc file, so dummy_screen_android.h
Tima Vaisburd 2016/11/14 22:19:38 Done, I also renamed the creation function to Crea
69 ]
70
71 deps = [
72 "//ui/android",
73 "//ui/display",
74 ]
75 }
76
61 generate_jni("ui_android_jni_headers") { 77 generate_jni("ui_android_jni_headers") {
62 sources = [ 78 sources = [
63 "java/src/org/chromium/ui/base/ViewAndroidDelegate.java", 79 "java/src/org/chromium/ui/base/ViewAndroidDelegate.java",
64 "java/src/org/chromium/ui/base/WindowAndroid.java", 80 "java/src/org/chromium/ui/base/WindowAndroid.java",
81 "java/src/org/chromium/ui/display/DisplayAndroidManager.java",
65 "java/src/org/chromium/ui/resources/ResourceManager.java", 82 "java/src/org/chromium/ui/resources/ResourceManager.java",
66 ] 83 ]
67 jni_package = "ui_android" 84 jni_package = "ui_android"
68 } 85 }
69 86
70 java_cpp_enum("java_enums_srcjar") { 87 java_cpp_enum("java_enums_srcjar") {
71 sources = [ 88 sources = [
72 "../base/ime/text_input_type.h", 89 "../base/ime/text_input_type.h",
73 "../base/page_transition_types.h", 90 "../base/page_transition_types.h",
74 "../base/touch/touch_device.h", 91 "../base/touch/touch_device.h",
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 "//cc", 244 "//cc",
228 "//cc:test_support", 245 "//cc:test_support",
229 "//skia", 246 "//skia",
230 "//testing/gmock", 247 "//testing/gmock",
231 "//testing/gtest", 248 "//testing/gtest",
232 "//ui/base", 249 "//ui/base",
233 "//ui/gfx", 250 "//ui/gfx",
234 "//ui/resources:ui_test_pak", 251 "//ui/resources:ui_test_pak",
235 ] 252 ]
236 } 253 }
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | ui/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698