| # Copyright 2019 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("image_decoder") { |
| deps = [ |
| "//base", |
| "//build:chromeos_buildflags", |
| "//content/public/browser", |
| "//ipc", |
| "//services/data_decoder/public/cpp", |
| "//services/service_manager/public/cpp", |
| "//skia", |
| "//ui/gfx", |
| ] |
| |
| sources = [ |
| "image_decoder.cc", |
| "image_decoder.h", |
| ] |
| } |
| |
| if (!is_android) { |
| source_set("browser_tests") { |
| testonly = true |
| |
| configs += [ "//build/config:precompiled_headers" ] |
| defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| |
| deps = [ |
| ":image_decoder", |
| "//base", |
| "//build:chromeos_buildflags", |
| "//chrome/app:generated_resources", |
| "//chrome/test:test_support", |
| "//chrome/test:test_support_ui", |
| "//content/public/browser", |
| "//content/test:test_support", |
| "//ui/base", |
| ] |
| |
| sources = [ "image_decoder_browsertest.cc" ] |
| } |
| } |