OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/child/child.gni") | 7 import("//content/child/child.gni") |
8 | 8 |
9 source_set("child") { | 9 source_set("child") { |
10 # Targets external to content should always link to the public API. | 10 # Targets external to content should always link to the public API. |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 sources -= [ | 73 sources -= [ |
74 "webthemeengine_impl_default.cc", | 74 "webthemeengine_impl_default.cc", |
75 "webthemeengine_impl_default.h", | 75 "webthemeengine_impl_default.h", |
76 ] | 76 ] |
77 } | 77 } |
78 | 78 |
79 if (is_android) { | 79 if (is_android) { |
80 deps += [ "//third_party/android_tools:cpu_features" ] | 80 deps += [ "//third_party/android_tools:cpu_features" ] |
81 } | 81 } |
82 | 82 |
| 83 if (is_win) { |
| 84 libs = [ "dwrite.lib" ] |
| 85 } |
| 86 |
83 if (enable_plugins) { | 87 if (enable_plugins) { |
84 deps += [ | 88 deps += [ |
85 "//ppapi/proxy", | 89 "//ppapi/proxy", |
86 "//ppapi/shared_impl", | 90 "//ppapi/shared_impl", |
87 ] | 91 ] |
88 } else { | 92 } else { |
89 sources -= [ | 93 sources -= [ |
90 "browser_font_resource_trusted.cc", | 94 "browser_font_resource_trusted.cc", |
91 "browser_font_resource_trusted.h", | 95 "browser_font_resource_trusted.h", |
92 ] | 96 ] |
93 } | 97 } |
94 | 98 |
95 configs += [ | 99 configs += [ |
96 "//content:content_implementation", | 100 "//content:content_implementation", |
97 "//build/config/compiler:no_size_t_to_int_warning", | 101 "//build/config/compiler:no_size_t_to_int_warning", |
98 ] | 102 ] |
99 } | 103 } |
100 | 104 |
101 # See comment at the top of //content/BUILD.gn for how this works. | 105 # See comment at the top of //content/BUILD.gn for how this works. |
102 group("for_content_tests") { | 106 group("for_content_tests") { |
103 visibility = [ "//content/test/*" ] | 107 visibility = [ "//content/test/*" ] |
104 if (!is_component_build) { | 108 if (!is_component_build) { |
105 public_deps = [ | 109 public_deps = [ |
106 ":child", | 110 ":child", |
107 ] | 111 ] |
108 } | 112 } |
109 } | 113 } |
OLD | NEW |