1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/util/version.gni")
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",
"CHROME_VERSION_MAJOR=" + chrome_version_major,
]
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" ]
}
}
|