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/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//third_party/WebKit/Source/bindings/bindings.gni") | 6 import("//third_party/WebKit/Source/bindings/bindings.gni") |
7 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") | 7 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") |
8 import("//third_party/WebKit/Source/bindings/modules/modules.gni") | 8 import("//third_party/WebKit/Source/bindings/modules/modules.gni") |
9 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") | 9 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") |
10 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") | 10 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 if (is_win) { | 233 if (is_win) { |
234 cflags += [ | 234 cflags += [ |
235 "/wd4267", | 235 "/wd4267", |
236 "/wd4334", | 236 "/wd4334", |
237 ] | 237 ] |
238 } else { # !is_win | 238 } else { # !is_win |
239 sources -= [ | 239 sources -= [ |
240 "rendering/RenderThemeChromiumFontProviderWin.cpp", | 240 "rendering/RenderThemeChromiumFontProviderWin.cpp", |
241 ] | 241 ] |
242 } | 242 } |
243 if (!is_linux) { | 243 if (!is_linux && !is_android) { |
244 sources -= [ | 244 sources -= [ |
245 "rendering/RenderThemeChromiumFontProviderLinux.cpp", | 245 "rendering/RenderThemeChromiumFontProviderLinux.cpp", |
246 ] | 246 ] |
247 } | 247 } |
248 | 248 |
249 if (is_android) { | 249 if (is_android) { |
250 # Due to a bug in gcc 4.6 in android NDK, we got warnings about | 250 # Due to a bug in gcc 4.6 in android NDK, we got warnings about |
251 # uninitialized variable. | 251 # uninitialized variable. |
252 # TODO: try removing now that we are on GCC 4.8. | 252 # TODO: try removing now that we are on GCC 4.8. |
253 cflags += [ "-Wno-uninitialized" ] | 253 cflags += [ "-Wno-uninitialized" ] |
(...skipping 16 matching lines...) Expand all Loading... |
270 # prefix header injected. | 270 # prefix header injected. |
271 cflags = [ | 271 cflags = [ |
272 "-include", | 272 "-include", |
273 rebase_path("../build/mac/Prefix.h", root_build_dir), | 273 rebase_path("../build/mac/Prefix.h", root_build_dir), |
274 ] | 274 ] |
275 } else { # !is_mac | 275 } else { # !is_mac |
276 sources -= [ | 276 sources -= [ |
277 "editing/SmartReplaceCF.cpp", | 277 "editing/SmartReplaceCF.cpp", |
278 ] | 278 ] |
279 } | 279 } |
280 | |
281 if (!use_default_render_theme) { | |
282 sources -= [ | |
283 "rendering/RenderThemeChromiumDefault.cpp", | |
284 "rendering/RenderThemeChromiumDefault.h", | |
285 ] | |
286 } | |
287 } | 280 } |
288 | 281 |
289 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_rendering | 282 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_rendering |
290 source_set("rendering") { | 283 source_set("rendering") { |
291 # The files that go here are currently in "remaining". | 284 # The files that go here are currently in "remaining". |
292 } | 285 } |
293 | 286 |
294 # GYP version: WebKit/Source/core/core.gyp:webcore_testing | 287 # GYP version: WebKit/Source/core/core.gyp:webcore_testing |
295 source_set("testing") { | 288 source_set("testing") { |
296 configs += [ | 289 configs += [ |
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1070 "$blink_core_output_dir/{{source_name_part}}.h", | 1063 "$blink_core_output_dir/{{source_name_part}}.h", |
1071 ] | 1064 ] |
1072 args = [ | 1065 args = [ |
1073 "{{source}}", | 1066 "{{source}}", |
1074 rel_blink_core_gen_dir, | 1067 rel_blink_core_gen_dir, |
1075 bison_exe, | 1068 bison_exe, |
1076 ] | 1069 ] |
1077 | 1070 |
1078 deps = make_core_generated_deps | 1071 deps = make_core_generated_deps |
1079 } | 1072 } |
OLD | NEW |