| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
| 8 import("//printing/features/features.gni") | 8 import("//printing/features/features.gni") |
| 9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
| 10 import("//third_party/skia/gn/shared_sources.gni") | 10 import("//third_party/skia/gn/shared_sources.gni") |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp", | 357 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp", |
| 358 "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp", | 358 "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp", |
| 359 | 359 |
| 360 # Retain the files for the SkFontMgr_Android on linux to emulate android | 360 # Retain the files for the SkFontMgr_Android on linux to emulate android |
| 361 # fonts. See content/zygote/zygote_main_linux.cc | 361 # fonts. See content/zygote/zygote_main_linux.cc |
| 362 "//third_party/skia/src/ports/SkFontMgr_android.cpp", | 362 "//third_party/skia/src/ports/SkFontMgr_android.cpp", |
| 363 "//third_party/skia/src/ports/SkFontMgr_android_parser.cpp", | 363 "//third_party/skia/src/ports/SkFontMgr_android_parser.cpp", |
| 364 ] | 364 ] |
| 365 } | 365 } |
| 366 | 366 |
| 367 # Select the right BitmapPlatformDevice. | |
| 368 if (is_win) { | 367 if (is_win) { |
| 369 sources += [ "ext/bitmap_platform_device_win.cc" ] | 368 sources += [ "ext/raster_handle_allocator_win.cc" ] |
| 370 } | 369 } |
| 371 | 370 |
| 372 if (is_clang && !is_nacl) { | 371 if (is_clang && !is_nacl) { |
| 373 # Skia won't compile with some of the more strict clang warnings. | 372 # Skia won't compile with some of the more strict clang warnings. |
| 374 # e.g. it does: | 373 # e.g. it does: |
| 375 # SkASSERT(!"sk_out_of_memory"); | 374 # SkASSERT(!"sk_out_of_memory"); |
| 376 configs -= [ "//build/config/clang:extra_warnings" ] | 375 configs -= [ "//build/config/clang:extra_warnings" ] |
| 377 } | 376 } |
| 378 | 377 |
| 379 configs -= [ "//build/config/compiler:chromium_code" ] | 378 configs -= [ "//build/config/compiler:chromium_code" ] |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 | 697 |
| 699 deps = [ | 698 deps = [ |
| 700 ":skia", | 699 ":skia", |
| 701 "//base", | 700 "//base", |
| 702 "//base/test:test_support", | 701 "//base/test:test_support", |
| 703 "//build/config/sanitizers:deps", | 702 "//build/config/sanitizers:deps", |
| 704 "//build/win:default_exe_manifest", | 703 "//build/win:default_exe_manifest", |
| 705 ] | 704 ] |
| 706 } | 705 } |
| 707 } | 706 } |
| OLD | NEW |