| 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("//device/vr/features/features.gni") |
| 8 import("//printing/features/features.gni") | 9 import("//printing/features/features.gni") |
| 9 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| 10 import("//third_party/skia/gn/shared_sources.gni") | 11 import("//third_party/skia/gn/shared_sources.gni") |
| 11 | 12 |
| 12 if (current_cpu == "arm") { | 13 if (current_cpu == "arm") { |
| 13 import("//build/config/arm.gni") | 14 import("//build/config/arm.gni") |
| 14 } | 15 } |
| 15 if (current_cpu == "mipsel" || current_cpu == "mips64el") { | 16 if (current_cpu == "mipsel" || current_cpu == "mips64el") { |
| 16 import("//build/config/mips.gni") | 17 import("//build/config/mips.gni") |
| 17 } | 18 } |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 deps += [ | 424 deps += [ |
| 424 "//third_party/android_tools:cpu_features", | 425 "//third_party/android_tools:cpu_features", |
| 425 "//third_party/expat", | 426 "//third_party/expat", |
| 426 ] | 427 ] |
| 427 } | 428 } |
| 428 | 429 |
| 429 if (is_win || is_android) { | 430 if (is_win || is_android) { |
| 430 deps += [ "//build/config/freetype" ] | 431 deps += [ "//build/config/freetype" ] |
| 431 } | 432 } |
| 432 | 433 |
| 434 if (is_android && enable_vr) { |
| 435 sources -= [ |
| 436 "//third_party/skia/src/gpu/gl/GrGLCreateNativeInterface_none.cpp", |
| 437 "//third_party/skia/src/gpu/gl/GrGLDefaultInterface_none.cpp", |
| 438 ] |
| 439 sources += [ |
| 440 "//third_party/skia/src/gpu/gl/GrGLDefaultInterface_native.cpp", |
| 441 "//third_party/skia/src/gpu/gl/android/GrGLCreateNativeInterface_android.c
pp", |
| 442 ] |
| 443 libs = [ |
| 444 "EGL", |
| 445 "GLESv2", |
| 446 ] |
| 447 } |
| 448 |
| 433 if (skia_support_pdf) { | 449 if (skia_support_pdf) { |
| 434 deps += [ | 450 deps += [ |
| 435 "//third_party/sfntly", | 451 "//third_party/sfntly", |
| 436 "//third_party/zlib", | 452 "//third_party/zlib", |
| 437 ] | 453 ] |
| 438 sources += skia_pdf_sources | 454 sources += skia_pdf_sources |
| 439 } else { | 455 } else { |
| 440 sources += [ "//third_party/skia/src/pdf/SkDocument_PDF_None.cpp" ] | 456 sources += [ "//third_party/skia/src/pdf/SkDocument_PDF_None.cpp" ] |
| 441 } | 457 } |
| 442 | 458 |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 | 725 |
| 710 deps = [ | 726 deps = [ |
| 711 ":skia", | 727 ":skia", |
| 712 "//base", | 728 "//base", |
| 713 "//base/test:test_support", | 729 "//base/test:test_support", |
| 714 "//build/config/sanitizers:deps", | 730 "//build/config/sanitizers:deps", |
| 715 "//build/win:default_exe_manifest", | 731 "//build/win:default_exe_manifest", |
| 716 ] | 732 ] |
| 717 } | 733 } |
| 718 } | 734 } |
| OLD | NEW |