| 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/build/scripts/scripts.gni") | 6 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| 7 import("//third_party/WebKit/Source/config.gni") | 7 import("//third_party/WebKit/Source/config.gni") |
| 8 | 8 |
| 9 platform_gypi = exec_script( | 9 platform_gypi = exec_script( |
| 10 "//build/gypi_to_gn.py", | 10 "//build/gypi_to_gn.py", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 ] | 29 ] |
| 30 | 30 |
| 31 defines = [ | 31 defines = [ |
| 32 "BLINK_COMMON_IMPLEMENTATION=1", | 32 "BLINK_COMMON_IMPLEMENTATION=1", |
| 33 "INSIDE_BLINK", | 33 "INSIDE_BLINK", |
| 34 ] | 34 ] |
| 35 | 35 |
| 36 configs += [ | 36 configs += [ |
| 37 "//build/config/compiler:wexit_time_destructors", | 37 "//build/config/compiler:wexit_time_destructors", |
| 38 "//third_party/WebKit/Source:config", | 38 "//third_party/WebKit/Source:config", |
| 39 "//third_party/WebKit/Source:non_test_config", |
| 39 ] | 40 ] |
| 40 | 41 |
| 41 deps = [ | 42 deps = [ |
| 42 "//third_party/WebKit/Source/wtf", | 43 "//third_party/WebKit/Source/wtf", |
| 43 ] | 44 ] |
| 44 } | 45 } |
| 45 | 46 |
| 46 # Chromium's version of WebCore includes the following Objective-C classes. The | 47 # Chromium's version of WebCore includes the following Objective-C classes. The |
| 47 # system-provided WebCore framework may also provide these classes. Because of | 48 # system-provided WebCore framework may also provide these classes. Because of |
| 48 # the nature of Objective-C binding (dynamically at runtime), it's possible for | 49 # the nature of Objective-C binding (dynamically at runtime), it's possible for |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 | 163 |
| 163 # Add in the generated files. | 164 # Add in the generated files. |
| 164 sources += | 165 sources += |
| 165 get_target_outputs(":font_family_names") + | 166 get_target_outputs(":font_family_names") + |
| 166 get_target_outputs(":runtime_enabled_features") + | 167 get_target_outputs(":runtime_enabled_features") + |
| 167 get_target_outputs(":color_data") | 168 get_target_outputs(":color_data") |
| 168 | 169 |
| 169 configs += [ | 170 configs += [ |
| 170 ":v8_stub_config", | 171 ":v8_stub_config", |
| 171 "//third_party/WebKit/Source:config", | 172 "//third_party/WebKit/Source:config", |
| 173 "//third_party/WebKit/Source:non_test_config", |
| 172 ] | 174 ] |
| 173 | 175 |
| 174 defines = [ | 176 defines = [ |
| 175 "BLINK_PLATFORM_IMPLEMENTATION=1", | 177 "BLINK_PLATFORM_IMPLEMENTATION=1", |
| 176 "INSIDE_BLINK", | 178 "INSIDE_BLINK", |
| 177 ] | 179 ] |
| 178 | 180 |
| 179 include_dirs = [ | 181 include_dirs = [ |
| 180 #"$angle_path/include", | 182 #"$angle_path/include", |
| 181 "$root_gen_dir/blink", | 183 "$root_gen_dir/blink", |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 "fonts/harfbuzz/HarfBuzzFaceCoreText.cpp", | 264 "fonts/harfbuzz/HarfBuzzFaceCoreText.cpp", |
| 263 "geometry/cg/FloatPointCG.cpp", | 265 "geometry/cg/FloatPointCG.cpp", |
| 264 "geometry/cg/FloatRectCG.cpp", | 266 "geometry/cg/FloatRectCG.cpp", |
| 265 "geometry/cg/FloatSizeCG.cpp", | 267 "geometry/cg/FloatSizeCG.cpp", |
| 266 "geometry/cg/IntPointCG.cpp", | 268 "geometry/cg/IntPointCG.cpp", |
| 267 "geometry/cg/IntRectCG.cpp", | 269 "geometry/cg/IntRectCG.cpp", |
| 268 "geometry/cg/IntSizeCG.cpp", | 270 "geometry/cg/IntSizeCG.cpp", |
| 269 ] | 271 ] |
| 270 } | 272 } |
| 271 | 273 |
| 272 if (!(is_linux || is_android)) { | |
| 273 sources -= [ | |
| 274 "fonts/linux/FontPlatformDataLinuxHarfBuzz.cpp", | |
| 275 ] | |
| 276 } | |
| 277 | |
| 278 if (is_win) { | 274 if (is_win) { |
| 279 sources -= [ | 275 sources -= [ |
| 280 # Uses LocaleWin instead. | 276 # Uses LocaleWin instead. |
| 281 "text/LocaleICU.cpp", | 277 "text/LocaleICU.cpp", |
| 282 "text/LocaleICU.h", | 278 "text/LocaleICU.h", |
| 283 ] | 279 ] |
| 284 cflags = [ | 280 cflags = [ |
| 285 "/wd4267", # Conversion from 'size_t' to 'type', possible loss of data. | 281 "/wd4267", # Conversion from 'size_t' to 'type', possible loss of data. |
| 286 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits. | 282 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits. |
| 287 "/wd4724", # Modulo by 0. | 283 "/wd4724", # Modulo by 0. |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 | 349 |
| 354 deps = [ ":blink_common" ] | 350 deps = [ ":blink_common" ] |
| 355 } | 351 } |
| 356 } | 352 } |
| 357 | 353 |
| 358 # This config is a placeholder to set up the V8 include path while the V8 GN | 354 # This config is a placeholder to set up the V8 include path while the V8 GN |
| 359 # build is being worked on. | 355 # build is being worked on. |
| 360 config("v8_stub_config") { | 356 config("v8_stub_config") { |
| 361 include_dirs = [ "//v8/include" ] | 357 include_dirs = [ "//v8/include" ] |
| 362 } | 358 } |
| OLD | NEW |