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

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

Issue 1909273002: 🐳 Move linux pkg_config() calls into separate BUILD.gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments & visibility Created 4 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 | « ui/base/BUILD.gn ('k') | ui/gfx/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 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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 source_set("text_input_types") { 8 source_set("text_input_types") {
9 sources = [ 9 sources = [
10 "text_input_flags.h", 10 "text_input_flags.h",
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 } 157 }
158 if (!use_x11) { 158 if (!use_x11) {
159 sources -= [ 159 sources -= [
160 "chromeos/ime_keyboard_x11.cc", 160 "chromeos/ime_keyboard_x11.cc",
161 "chromeos/ime_keyboard_x11.h", 161 "chromeos/ime_keyboard_x11.h",
162 ] 162 ]
163 } 163 }
164 } 164 }
165 165
166 if (use_pango) { 166 if (use_pango) {
167 configs += [ "//build/config/linux:pangocairo" ] 167 configs += [ "//build/config/linux/pangocairo" ]
168 } else { 168 } else {
169 sources -= [ 169 sources -= [
170 "composition_text_util_pango.cc", 170 "composition_text_util_pango.cc",
171 "composition_text_util_pango.h", 171 "composition_text_util_pango.h",
172 ] 172 ]
173 } 173 }
174 if (use_x11) { 174 if (use_x11) {
175 configs += [ "//build/config/linux:x11" ] 175 configs += [ "//build/config/linux:x11" ]
176 deps += [ "//ui/gfx/x" ] 176 deps += [ "//ui/gfx/x" ]
177 } 177 }
178 178
179 if (is_win) { 179 if (is_win) {
180 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w hich is 180 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w hich is
181 # uninteresting. 181 # uninteresting.
182 182
183 libs = [ "imm32.lib" ] 183 libs = [ "imm32.lib" ]
184 } 184 }
185 185
186 if (use_ozone) { 186 if (use_ozone) {
187 deps += [ 187 deps += [
188 "//ui/events/ozone:events_ozone_layout", 188 "//ui/events/ozone:events_ozone_layout",
189 "//ui/ozone", 189 "//ui/ozone",
190 ] 190 ]
191 } 191 }
192 } 192 }
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698