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

Side by Side Diff: third_party/WebKit/Source/core/BUILD.gn

Issue 1690493002: Switch to LayoutThemeMobile when emulating mobile device in DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Invalidate tapHighlightColor only Created 4 years, 10 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 | « third_party/WebKit/Source/config.gni ('k') | third_party/WebKit/Source/core/core.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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//third_party/WebKit/Source/bindings/bindings.gni") 7 import("//third_party/WebKit/Source/bindings/bindings.gni")
8 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") 8 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni")
9 import("//third_party/WebKit/Source/bindings/modules/modules.gni") 9 import("//third_party/WebKit/Source/bindings/modules/modules.gni")
10 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") 10 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni")
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 cflags = [] 257 cflags = []
258 libs = [] 258 libs = []
259 259
260 deps = [ 260 deps = [
261 ":prerequisites", 261 ":prerequisites",
262 ] 262 ]
263 263
264 if (is_win) { 264 if (is_win) {
265 cflags += [ "/wd4334" ] 265 cflags += [ "/wd4334" ]
266 sources -= [ "layout/LayoutThemeFontProviderDefault.cpp" ]
266 } else { # !is_win 267 } else { # !is_win
267 sources -= [ 268 sources -= [
268 "layout/LayoutThemeFontProviderWin.cpp", 269 "layout/LayoutThemeFontProviderWin.cpp",
269 "layout/LayoutThemeWin.cpp", 270 "layout/LayoutThemeWin.cpp",
270 "layout/LayoutThemeWin.h", 271 "layout/LayoutThemeWin.h",
271 ] 272 ]
272 } 273 }
274
273 if (!is_linux) { 275 if (!is_linux) {
274 sources -= [ 276 sources -= [
275 "layout/LayoutThemeLinux.cpp", 277 "layout/LayoutThemeLinux.cpp",
276 "layout/LayoutThemeLinux.h", 278 "layout/LayoutThemeLinux.h",
277 ] 279 ]
278 if (!is_android) {
279 sources -= [ "layout/LayoutThemeFontProviderLinux.cpp" ]
280 }
281 } 280 }
282 281
283 if (!is_android) { 282 if (!is_android) {
284 sources -= [ 283 sources -= [
285 "layout/LayoutThemeAndroid.cpp", 284 "layout/LayoutThemeAndroid.cpp",
286 "layout/LayoutThemeAndroid.h", 285 "layout/LayoutThemeAndroid.h",
287 ] 286 ]
288 } 287 }
289 288
290 if (is_mac) { 289 if (is_mac) {
291 sources -= [
292 "layout/LayoutThemeDefault.cpp",
293 "layout/LayoutThemeDefault.h",
294 "layout/LayoutThemeFontProvider.cpp",
295 "layout/LayoutThemeFontProvider.h",
296 "paint/ThemePainterDefault.cpp",
297 "paint/ThemePainterDefault.h",
298 ]
299 libs += [ "Carbon.framework" ] 290 libs += [ "Carbon.framework" ]
300 } else { # !is_mac 291 } else { # !is_mac
301 sources -= [ "editing/commands/SmartReplaceCF.cpp" ] 292 sources -= [ "editing/commands/SmartReplaceCF.cpp" ]
302 } 293 }
303 } 294 }
304 295
305 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_rendering 296 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_rendering
306 source_set("rendering") { 297 source_set("rendering") {
307 # The files that go here are currently in "remaining". 298 # The files that go here are currently in "remaining".
308 } 299 }
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 "$blink_core_output_dir/{{source_name_part}}.h", 1022 "$blink_core_output_dir/{{source_name_part}}.h",
1032 ] 1023 ]
1033 args = [ 1024 args = [
1034 "{{source}}", 1025 "{{source}}",
1035 rel_blink_core_gen_dir, 1026 rel_blink_core_gen_dir,
1036 bison_exe, 1027 bison_exe,
1037 ] 1028 ]
1038 1029
1039 deps = make_core_generated_deps 1030 deps = make_core_generated_deps
1040 } 1031 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/config.gni ('k') | third_party/WebKit/Source/core/core.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698