Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(849)

Side by Side Diff: skia/BUILD.gn

Issue 305993002: Update skia and ui GN builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gesture detection updates Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/BUILD.gn ('k') | skia/skia_gn_files.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 if (cpu_arch == "arm") { 7 if (cpu_arch == "arm") {
8 import("//build/config/arm.gni") 8 import("//build/config/arm.gni")
9 } 9 }
10 10
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 "//third_party/skia/src/ports/SkOSFile_posix.cpp", 327 "//third_party/skia/src/ports/SkOSFile_posix.cpp",
328 "//third_party/skia/src/ports/SkTime_Unix.cpp", 328 "//third_party/skia/src/ports/SkTime_Unix.cpp",
329 "//third_party/skia/src/ports/SkTLS_pthread.cpp", 329 "//third_party/skia/src/ports/SkTLS_pthread.cpp",
330 ] 330 ]
331 } else { 331 } else {
332 sources -= [ 332 sources -= [
333 "//third_party/skia/src/ports/SkFontHost_win.cpp", 333 "//third_party/skia/src/ports/SkFontHost_win.cpp",
334 "//third_party/skia/src/ports/SkFontHost_win_dw.cpp", 334 "//third_party/skia/src/ports/SkFontHost_win_dw.cpp",
335 "//third_party/skia/src/ports/SkFontMgr_default_gdi.cpp", 335 "//third_party/skia/src/ports/SkFontMgr_default_gdi.cpp",
336 "//third_party/skia/src/ports/SkOSFile_win.cpp", 336 "//third_party/skia/src/ports/SkOSFile_win.cpp",
337 "//third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp",
337 "//third_party/skia/src/ports/SkTLS_win.cpp", 338 "//third_party/skia/src/ports/SkTLS_win.cpp",
338 "//third_party/skia/src/utils/SkThreadUtils_win.cpp",
339 ] 339 ]
340 } 340 }
341 if (!is_android) { 341 if (!is_android) {
342 sources -= [ 342 sources -= [
343 "//third_party/skia/src/ports/SkFontConfigInterface_android.cpp", 343 "//third_party/skia/src/ports/SkFontConfigInterface_android.cpp",
344 "//third_party/skia/src/ports/SkFontConfigParser_android.cpp", 344 "//third_party/skia/src/ports/SkFontConfigParser_android.cpp",
345 ] 345 ]
346 } 346 }
347 if (!is_mac) { 347 if (!is_mac) {
348 sources -= [ 348 sources -= [
349 "//third_party/skia/src/ports/SkFontHost_mac.cpp", 349 "//third_party/skia/src/ports/SkFontHost_mac.cpp",
350 "//third_party/skia/src/utils/SkThreadUtils_pthread_mach.cpp",
351 ] 350 ]
352 } 351 }
352
353 if (!is_linux) { 353 if (!is_linux) {
354 sources -= [ 354 sources -= [
355 "//third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp", 355 "//third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp",
356 "//third_party/skia/src/ports/SkFontConfigInterface_direct.cpp", 356 "//third_party/skia/src/ports/SkFontConfigInterface_direct.cpp",
357 "//third_party/skia/src/ports/SkFontHost_fontconfig.cpp",
358 "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp",
357 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp", 359 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp",
358 "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp",
359 "//third_party/skia/src/ports/SkFontHost_fontconfig.cpp",
360 "//third_party/skia/src/ports/SkFontHost_linux.cpp",
361 "//third_party/skia/src/utils/SkThreadUtils_pthread_linux.cpp",
362 ]
363 } else if (!is_android) {
364 sources -= [
365 "//third_party/skia/src/ports/SkFontConfigInterface_direct.cpp",
366 "//third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp",
367 ] 360 ]
368 } 361 }
369 if (!is_posix) {
370 sources -= [
371 "//third_party/skia/src/utils/SkThreadUtils_pthread.cpp",
372 ]
373 }
374
375 sources -= [
376 # This file is a stub for systems that use pthreads but aren't covered by
377 # one of the more specific pthread files. We don't support any such
378 # systems.
379 "//third_party/skia/src/utils/SkThreadUtils_pthread_other.cpp",
380 ]
381 362
382 if (!use_cairo) { 363 if (!use_cairo) {
383 sources -= [ 364 sources -= [
384 "ext/bitmap_platform_device_cairo.cc", 365 "ext/bitmap_platform_device_cairo.cc",
385 "ext/bitmap_platform_device_cairo.h", 366 "ext/bitmap_platform_device_cairo.h",
386 ] 367 ]
387 } 368 }
388 369
389 if (is_clang) { 370 if (is_clang) {
390 # Skia won't compile with some of the more strict clang warnings. 371 # Skia won't compile with some of the more strict clang warnings.
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 ":skia_config", 542 ":skia_config",
562 "//build/config/compiler:no_chromium_code" 543 "//build/config/compiler:no_chromium_code"
563 ] 544 ]
564 545
565 deps = [ 546 deps = [
566 "//base", 547 "//base",
567 ] 548 ]
568 549
569 visibility = ":skia" 550 visibility = ":skia"
570 } 551 }
OLDNEW
« no previous file with comments | « ppapi/BUILD.gn ('k') | skia/skia_gn_files.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698