| 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 ] | 232 ] |
| 233 | 233 |
| 234 if (is_win) { | 234 if (is_win) { |
| 235 cflags += [ | 235 cflags += [ |
| 236 "/wd4267", | 236 "/wd4267", |
| 237 "/wd4334", | 237 "/wd4334", |
| 238 ] | 238 ] |
| 239 } else { # !is_win | 239 } else { # !is_win |
| 240 sources -= [ | 240 sources -= [ |
| 241 "rendering/RenderThemeChromiumFontProviderWin.cpp", | 241 "rendering/RenderThemeChromiumFontProviderWin.cpp", |
| 242 "rendering/RenderThemeChromiumWin.cpp", |
| 243 "rendering/RenderThemeChromiumWin.h", |
| 242 ] | 244 ] |
| 243 } | 245 } |
| 244 if (!is_linux && !is_android) { | 246 if (!is_linux) { |
| 245 sources -= [ | 247 sources -= [ |
| 246 "rendering/RenderThemeChromiumFontProviderLinux.cpp", | 248 "rendering/RenderThemeChromiumLinux.cpp", |
| 249 "rendering/RenderThemeChromiumLinux.h", |
| 247 ] | 250 ] |
| 251 if (!is_android) { |
| 252 sources -= [ |
| 253 "rendering/RenderThemeChromiumFontProviderLinux.cpp", |
| 254 ] |
| 255 } |
| 248 } | 256 } |
| 249 | 257 |
| 250 if (is_android) { | 258 if (is_android) { |
| 251 # Due to a bug in gcc 4.6 in android NDK, we got warnings about | 259 # Due to a bug in gcc 4.6 in android NDK, we got warnings about |
| 252 # uninitialized variable. | 260 # uninitialized variable. |
| 253 # TODO: try removing now that we are on GCC 4.8. | 261 # TODO: try removing now that we are on GCC 4.8. |
| 254 cflags += [ "-Wno-uninitialized" ] | 262 cflags += [ "-Wno-uninitialized" ] |
| 255 } else { # !is_android | 263 } else { # !is_android |
| 256 sources -= [ | 264 sources -= [ |
| 257 "rendering/RenderThemeChromiumAndroid.cpp", | 265 "rendering/RenderThemeChromiumAndroid.cpp", |
| (...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1073 "$blink_core_output_dir/{{source_name_part}}.h", | 1081 "$blink_core_output_dir/{{source_name_part}}.h", |
| 1074 ] | 1082 ] |
| 1075 args = [ | 1083 args = [ |
| 1076 "{{source}}", | 1084 "{{source}}", |
| 1077 rel_blink_core_gen_dir, | 1085 rel_blink_core_gen_dir, |
| 1078 bison_exe, | 1086 bison_exe, |
| 1079 ] | 1087 ] |
| 1080 | 1088 |
| 1081 deps = make_core_generated_deps | 1089 deps = make_core_generated_deps |
| 1082 } | 1090 } |
| OLD | NEW |