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