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

Side by Side Diff: ui/base/ime/BUILD.gn

Issue 389083002: GN: Add //ui/base/ime, fix up printing on mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/views/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
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/ui.gni")
6
7 source_set("ime") {
8 # GYP version: ui/base/ime/ime.gypi, which is included into ui_base
tfarina 2014/07/24 00:06:09 Why? I have said in the gn-dev snippets I was work
tfarina 2014/07/24 00:06:56 ime.gypi is gone. I did all the work to remove it
9 sources = [
10 "candidate_window.cc",
11 "candidate_window.h",
12 "chromeos/character_composer.cc",
13 "chromeos/character_composer.h",
14 "chromeos/ime_bridge.cc",
15 "chromeos/ime_bridge.h",
16 "chromeos/ime_keymap.cc",
17 "chromeos/ime_keymap.h",
18 "chromeos/mock_ime_candidate_window_handler.cc",
19 "chromeos/mock_ime_candidate_window_handler.h",
20 "chromeos/mock_ime_engine_handler.cc",
21 "chromeos/mock_ime_engine_handler.h",
22 "chromeos/mock_ime_input_context_handler.cc",
23 "chromeos/mock_ime_input_context_handler.h",
24 "composition_text.cc",
25 "composition_text.h",
26 "composition_text_util_pango.cc",
27 "composition_text_util_pango.h",
28 "composition_underline.h",
29 "dummy_input_method_delegate.cc",
30 "dummy_input_method_delegate.h",
31 "infolist_entry.cc",
32 "infolist_entry.h",
33 "input_method.h",
34 "input_method_auralinux.cc",
35 "input_method_auralinux.h",
36 "input_method_base.cc",
37 "input_method_base.h",
38 "input_method_chromeos.cc",
39 "input_method_chromeos.h",
40 "input_method_delegate.h",
41 "input_method_factory.cc",
42 "input_method_factory.h",
43 "input_method_initializer.cc",
44 "input_method_initializer.h",
45 "input_method_mac.h",
46 "input_method_mac.mm",
47 "input_method_minimal.cc",
48 "input_method_minimal.h",
49 "input_method_observer.h",
50 "input_method_win.cc",
51 "input_method_win.h",
52 "linux/fake_input_method_context.cc",
53 "linux/fake_input_method_context.h",
54 "linux/fake_input_method_context_factory.cc",
55 "linux/fake_input_method_context_factory.h",
56 "linux/linux_input_method_context.h",
57 "linux/linux_input_method_context_factory.cc",
58 "linux/linux_input_method_context_factory.h",
59 "mock_input_method.cc",
60 "mock_input_method.h",
61 "remote_input_method_delegate_win.h",
62 "remote_input_method_win.cc",
63 "remote_input_method_win.h",
64 "text_input_client.cc",
65 "text_input_client.h",
66 "text_input_focus_manager.cc",
67 "text_input_focus_manager.h",
68 "text_input_type.h",
69 "win/imm32_manager.cc",
70 "win/imm32_manager.h",
71 "win/tsf_input_scope.cc",
72 "win/tsf_input_scope.h",
73 ]
74
75 defines = [ "UI_BASE_IMPLEMENTATION" ]
76
77 deps = [
78 "//skia",
79 "//ui/events",
80 ]
81
82 if (!toolkit_views && !use_aura) {
83 sources -= [
84 "input_method_factory.cc",
85 "input_method_factory.h",
86 "input_method_minimal.cc",
87 "input_method_minimal.h",
88 ]
89 }
90 if (is_chromeos) {
91 deps += [
92 "//chromeos",
93 ]
94 }
95 if (!use_aura || (!is_linux && !use_ozone)) {
96 sources -= [
97 "input_method_auralinux.cc",
98 "input_method_auralinux.h",
99 ]
100 }
101 if (use_pango) {
102 configs += [ "//build/config/linux:pangocairo" ]
103 } else {
104 sources -= [
105 "composition_text_util_pango.cc",
106 "composition_text_util_pango.h",
107 ]
108 }
109
110 if (is_android) {
111 deps -= [ "//ui/events" ]
112 }
113 }
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698