Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 231 | 231 |
| 232 cflags = [] | 232 cflags = [] |
| 233 libs = [] | 233 libs = [] |
| 234 | 234 |
| 235 deps = [ | 235 deps = [ |
| 236 ":prerequisites", | 236 ":prerequisites", |
| 237 ] | 237 ] |
| 238 | 238 |
| 239 if (is_win) { | 239 if (is_win) { |
| 240 cflags += [ "/wd4334" ] | 240 cflags += [ "/wd4334" ] |
| 241 sources -= [ "layout/LayoutThemeFontProviderDefault.cpp" ] | |
|
pdr.
2016/02/12 06:36:14
I'm a little out of my depth with these build chan
dgozman
2016/02/19 19:15:16
Latest patch makes a 16KB difference on my linux r
| |
| 241 } else { # !is_win | 242 } else { # !is_win |
| 242 sources -= [ | 243 sources -= [ |
| 243 "layout/LayoutThemeFontProviderWin.cpp", | 244 "layout/LayoutThemeFontProviderWin.cpp", |
| 244 "layout/LayoutThemeWin.cpp", | 245 "layout/LayoutThemeWin.cpp", |
| 245 "layout/LayoutThemeWin.h", | 246 "layout/LayoutThemeWin.h", |
| 246 ] | 247 ] |
| 247 } | 248 } |
| 249 | |
| 248 if (!is_linux) { | 250 if (!is_linux) { |
| 249 sources -= [ | 251 sources -= [ |
| 250 "layout/LayoutThemeLinux.cpp", | 252 "layout/LayoutThemeLinux.cpp", |
| 251 "layout/LayoutThemeLinux.h", | 253 "layout/LayoutThemeLinux.h", |
| 252 ] | 254 ] |
| 253 if (!is_android) { | |
| 254 sources -= [ "layout/LayoutThemeFontProviderLinux.cpp" ] | |
| 255 } | |
| 256 } | 255 } |
| 257 | 256 |
| 258 if (!is_android) { | 257 if (!is_android) { |
| 259 sources -= [ | 258 sources -= [ |
| 260 "layout/LayoutThemeAndroid.cpp", | 259 "layout/LayoutThemeAndroid.cpp", |
| 261 "layout/LayoutThemeAndroid.h", | 260 "layout/LayoutThemeAndroid.h", |
| 262 ] | 261 ] |
| 263 } | 262 } |
| 264 | 263 |
| 265 if (is_mac) { | 264 if (is_mac) { |
| 266 sources -= [ | |
| 267 "layout/LayoutThemeDefault.cpp", | |
| 268 "layout/LayoutThemeDefault.h", | |
| 269 "layout/LayoutThemeFontProvider.cpp", | |
| 270 "layout/LayoutThemeFontProvider.h", | |
| 271 "paint/ThemePainterDefault.cpp", | |
| 272 "paint/ThemePainterDefault.h", | |
| 273 ] | |
| 274 libs += [ "Carbon.framework" ] | 265 libs += [ "Carbon.framework" ] |
| 275 } else { # !is_mac | 266 } else { # !is_mac |
| 276 sources -= [ "editing/commands/SmartReplaceCF.cpp" ] | 267 sources -= [ "editing/commands/SmartReplaceCF.cpp" ] |
| 277 } | 268 } |
| 278 } | 269 } |
| 279 | 270 |
| 280 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_rendering | 271 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_rendering |
| 281 source_set("rendering") { | 272 source_set("rendering") { |
| 282 # The files that go here are currently in "remaining". | 273 # The files that go here are currently in "remaining". |
| 283 } | 274 } |
| (...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1027 "$blink_core_output_dir/{{source_name_part}}.h", | 1018 "$blink_core_output_dir/{{source_name_part}}.h", |
| 1028 ] | 1019 ] |
| 1029 args = [ | 1020 args = [ |
| 1030 "{{source}}", | 1021 "{{source}}", |
| 1031 rel_blink_core_gen_dir, | 1022 rel_blink_core_gen_dir, |
| 1032 bison_exe, | 1023 bison_exe, |
| 1033 ] | 1024 ] |
| 1034 | 1025 |
| 1035 deps = make_core_generated_deps | 1026 deps = make_core_generated_deps |
| 1036 } | 1027 } |
| OLD | NEW |