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

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

Issue 1128203009: Fix link errors with Skia in libui_touch_selection.so (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN file was updated 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/touch_selection/ui_touch_selection.gyp » ('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 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
11 11
12 component("touch_selection") { 12 component("touch_selection") {
13 output_name = "ui_touch_selection" 13 output_name = "ui_touch_selection"
14 14
15 sources = [ 15 sources = [
16 "selection_event_type.h", 16 "selection_event_type.h",
17 "touch_handle.cc", 17 "touch_handle.cc",
18 "touch_handle.h", 18 "touch_handle.h",
19 "touch_handle_drawable_aura.cc", 19 "touch_handle_drawable_aura.cc",
20 "touch_handle_drawable_aura.h", 20 "touch_handle_drawable_aura.h",
21 "touch_handle_orientation.h", 21 "touch_handle_orientation.h",
22 "touch_selection_controller.cc", 22 "touch_selection_controller.cc",
23 "touch_selection_controller.h", 23 "touch_selection_controller.h",
24 "ui_touch_selection_export.h", 24 "ui_touch_selection_export.h",
25 ] 25 ]
26 26
27 defines = [ "UI_TOUCH_SELECTION_IMPLEMENTATION" ] 27 defines = [ "UI_TOUCH_SELECTION_IMPLEMENTATION" ]
28 28
29 deps = [ 29 deps = [
30 "//skia:skia",
30 "//base:base", 31 "//base:base",
31 "//ui/aura:aura", 32 "//ui/aura:aura",
32 "//ui/aura_extra:aura_extra", 33 "//ui/aura_extra:aura_extra",
33 "//ui/base:base", 34 "//ui/base:base",
34 "//ui/compositor:compositor", 35 "//ui/compositor:compositor",
35 "//ui/events:events", 36 "//ui/events:events",
36 "//ui/events:gesture_detection", 37 "//ui/events:gesture_detection",
37 "//ui/gfx:gfx", 38 "//ui/gfx:gfx",
38 "//ui/gfx/geometry:geometry", 39 "//ui/gfx/geometry:geometry",
39 ] 40 ]
40 41
41 if (!use_aura) { 42 if (!use_aura) {
42 deps -= [ 43 deps -= [
44 "//skia:skia",
43 "//ui/aura:aura", 45 "//ui/aura:aura",
44 "//ui/aura_extra:aura_extra", 46 "//ui/aura_extra:aura_extra",
45 "//ui/compositor:compositor", 47 "//ui/compositor:compositor",
46 "//ui/gfx:gfx", 48 "//ui/gfx:gfx",
47 ] 49 ]
48 50
49 sources -= [ 51 sources -= [
50 "touch_handle_drawable_aura.cc", 52 "touch_handle_drawable_aura.cc",
51 "touch_handle_drawable_aura.h", 53 "touch_handle_drawable_aura.h",
52 ] 54 ]
(...skipping 29 matching lines...) Expand all
82 } 84 }
83 java_cpp_enum("ui_touch_handle_orientation_srcjar") { 85 java_cpp_enum("ui_touch_handle_orientation_srcjar") {
84 sources = [ 86 sources = [
85 "touch_handle_orientation.h", 87 "touch_handle_orientation.h",
86 ] 88 ]
87 outputs = [ 89 outputs = [
88 "org/chromium/ui/touch_selection/TouchHandleOrientation.java", 90 "org/chromium/ui/touch_selection/TouchHandleOrientation.java",
89 ] 91 ]
90 } 92 }
91 } 93 }
OLDNEW
« no previous file with comments | « no previous file | ui/touch_selection/ui_touch_selection.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698