OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 if (is_component_build) { | 5 source_set("service") { |
6 link_target_type = "source_set" | |
7 } else { | |
8 link_target_type = "static_library" | |
9 } | |
10 target(link_target_type, "service") { | |
11 visibility = [ | 6 visibility = [ |
12 "//media/*", | 7 "//media/*", |
13 "//content/gpu/*", | 8 "//content/gpu/*", |
14 "//content/public/gpu/*", | 9 "//content/public/gpu/*", |
15 "//services/ui/gpu/*", | 10 "//services/ui/gpu/*", |
16 ] | 11 ] |
17 | 12 |
18 sources = [ | 13 sources = [ |
19 "gpu_jpeg_decode_accelerator.cc", | 14 "gpu_jpeg_decode_accelerator.cc", |
20 "gpu_jpeg_decode_accelerator.h", | 15 "gpu_jpeg_decode_accelerator.h", |
(...skipping 29 matching lines...) Expand all Loading... |
50 } | 45 } |
51 | 46 |
52 if (is_win) { | 47 if (is_win) { |
53 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 48 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
54 } | 49 } |
55 | 50 |
56 if (is_mac) { | 51 if (is_mac) { |
57 deps += [ "//third_party/webrtc/common_video:common_video" ] | 52 deps += [ "//third_party/webrtc/common_video:common_video" ] |
58 } | 53 } |
59 } | 54 } |
OLD | NEW |