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 if (is_component_build) { | 9 if (is_component_build) { |
10 link_target_type = "source_set" | 10 link_target_type = "source_set" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 sources -= [ | 83 sources -= [ |
84 "webthemeengine_impl_default.cc", | 84 "webthemeengine_impl_default.cc", |
85 "webthemeengine_impl_default.h", | 85 "webthemeengine_impl_default.h", |
86 ] | 86 ] |
87 } | 87 } |
88 | 88 |
89 if (is_android) { | 89 if (is_android) { |
90 deps += [ "//third_party/android_tools:cpu_features" ] | 90 deps += [ "//third_party/android_tools:cpu_features" ] |
91 } | 91 } |
92 | 92 |
| 93 if (is_win) { |
| 94 libs = [ "dwrite.lib" ] |
| 95 } |
| 96 |
93 if (enable_plugins) { | 97 if (enable_plugins) { |
94 deps += [ | 98 deps += [ |
95 "//ppapi/proxy", | 99 "//ppapi/proxy", |
96 "//ppapi/shared_impl", | 100 "//ppapi/shared_impl", |
97 ] | 101 ] |
98 } else { | 102 } else { |
99 sources -= [ | 103 sources -= [ |
100 "browser_font_resource_trusted.cc", | 104 "browser_font_resource_trusted.cc", |
101 "browser_font_resource_trusted.h", | 105 "browser_font_resource_trusted.h", |
102 ] | 106 ] |
103 } | 107 } |
104 | 108 |
105 configs += [ | 109 configs += [ |
106 "//content:content_implementation", | 110 "//content:content_implementation", |
107 "//build/config/compiler:no_size_t_to_int_warning", | 111 "//build/config/compiler:no_size_t_to_int_warning", |
108 ] | 112 ] |
109 } | 113 } |
110 | 114 |
111 # See comment at the top of //content/BUILD.gn for how this works. | 115 # See comment at the top of //content/BUILD.gn for how this works. |
112 group("for_content_tests") { | 116 group("for_content_tests") { |
113 visibility = [ "//content/test/*" ] | 117 visibility = [ "//content/test/*" ] |
114 if (!is_component_build) { | 118 if (!is_component_build) { |
115 public_deps = [ | 119 public_deps = [ |
116 ":child", | 120 ":child", |
117 ] | 121 ] |
118 } | 122 } |
119 } | 123 } |
OLD | NEW |