mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
|
# Copyright 2016 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("//services/service_manager/public/cpp/service.gni")
|
||
|
import("//services/service_manager/public/service_manifest.gni")
|
||
|
|
||
|
source_set("lib") {
|
||
|
sources = [
|
||
|
"data_decoder_service.cc",
|
||
|
"data_decoder_service.h",
|
||
|
"image_decoder_impl.cc",
|
||
|
"image_decoder_impl.h",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
"//base",
|
||
|
"//mojo/public/cpp/bindings",
|
||
|
"//skia",
|
||
|
"//third_party/WebKit/public:blink",
|
||
|
"//ui/gfx",
|
||
|
"//ui/gfx/geometry",
|
||
|
]
|
||
|
|
||
|
public_deps = [
|
||
|
"//services/data_decoder/public/interfaces",
|
||
|
"//services/service_manager/public/cpp",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("tests") {
|
||
|
testonly = true
|
||
|
|
||
|
sources = [
|
||
|
"image_decoder_impl_unittest.cc",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
":lib",
|
||
|
"//base",
|
||
|
"//gin",
|
||
|
"//gin:gin_test",
|
||
|
"//skia",
|
||
|
"//testing/gtest",
|
||
|
"//third_party/WebKit/public:blink",
|
||
|
"//ui/gfx",
|
||
|
]
|
||
|
|
||
|
configs += [ "//v8:external_startup_data" ]
|
||
|
}
|
||
|
|
||
|
service_manifest("manifest") {
|
||
|
name = "data_decoder"
|
||
|
source = "manifest.json"
|
||
|
}
|