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