| 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("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 import("//third_party/skia/gn/shared_sources.gni") | 8 import("//third_party/skia/gn/shared_sources.gni") |
| 9 | 9 |
| 10 if (current_cpu == "arm") { | 10 if (current_cpu == "arm") { |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 sources += skia_null_gpu_sources | 222 sources += skia_null_gpu_sources |
| 223 } | 223 } |
| 224 | 224 |
| 225 # Remove unused util files include in utils.gypi | 225 # Remove unused util files include in utils.gypi |
| 226 sources -= [ | 226 sources -= [ |
| 227 "//third_party/skia/src/utils/SkBoundaryPatch.cpp", | 227 "//third_party/skia/src/utils/SkBoundaryPatch.cpp", |
| 228 "//third_party/skia/src/utils/SkCamera.cpp", | 228 "//third_party/skia/src/utils/SkCamera.cpp", |
| 229 "//third_party/skia/src/utils/SkDumpCanvas.cpp", | 229 "//third_party/skia/src/utils/SkDumpCanvas.cpp", |
| 230 "//third_party/skia/src/utils/SkFrontBufferedStream.cpp", | 230 "//third_party/skia/src/utils/SkFrontBufferedStream.cpp", |
| 231 "//third_party/skia/src/utils/SkInterpolator.cpp", | 231 "//third_party/skia/src/utils/SkInterpolator.cpp", |
| 232 "//third_party/skia/src/utils/SkLayer.cpp", | |
| 233 "//third_party/skia/src/utils/SkMeshUtils.cpp", | 232 "//third_party/skia/src/utils/SkMeshUtils.cpp", |
| 234 "//third_party/skia/src/utils/SkParsePath.cpp", | 233 "//third_party/skia/src/utils/SkParsePath.cpp", |
| 235 ] | 234 ] |
| 236 | 235 |
| 237 if (is_win) { | 236 if (is_win) { |
| 238 sources -= [ | 237 sources -= [ |
| 239 # Keeping _win.cpp | 238 # Keeping _win.cpp |
| 240 "//third_party/skia/src/utils/SkThreadUtils_pthread.cpp", | 239 "//third_party/skia/src/utils/SkThreadUtils_pthread.cpp", |
| 241 ] | 240 ] |
| 242 } else { | 241 } else { |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 | 495 |
| 497 configs -= [ "//build/config/compiler:chromium_code" ] | 496 configs -= [ "//build/config/compiler:chromium_code" ] |
| 498 configs += [ | 497 configs += [ |
| 499 ":skia_config", | 498 ":skia_config", |
| 500 ":skia_library_config", | 499 ":skia_library_config", |
| 501 "//build/config/compiler:no_chromium_code", | 500 "//build/config/compiler:no_chromium_code", |
| 502 ] | 501 ] |
| 503 | 502 |
| 504 visibility = [ ":skia" ] | 503 visibility = [ ":skia" ] |
| 505 } | 504 } |
| OLD | NEW |