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 | |
88 if (enable_plugins) { | 84 if (enable_plugins) { |
89 deps += [ | 85 deps += [ |
90 "//ppapi/proxy", | 86 "//ppapi/proxy", |
91 "//ppapi/shared_impl", | 87 "//ppapi/shared_impl", |
92 ] | 88 ] |
93 } else { | 89 } else { |
94 sources -= [ | 90 sources -= [ |
95 "browser_font_resource_trusted.cc", | 91 "browser_font_resource_trusted.cc", |
96 "browser_font_resource_trusted.h", | 92 "browser_font_resource_trusted.h", |
97 ] | 93 ] |
98 } | 94 } |
99 | 95 |
100 configs += [ | 96 configs += [ |
101 "//content:content_implementation", | 97 "//content:content_implementation", |
102 "//build/config/compiler:no_size_t_to_int_warning", | 98 "//build/config/compiler:no_size_t_to_int_warning", |
103 ] | 99 ] |
104 } | 100 } |
105 | 101 |
106 # See comment at the top of //content/BUILD.gn for how this works. | 102 # See comment at the top of //content/BUILD.gn for how this works. |
107 group("for_content_tests") { | 103 group("for_content_tests") { |
108 visibility = [ "//content/test/*" ] | 104 visibility = [ "//content/test/*" ] |
109 if (!is_component_build) { | 105 if (!is_component_build) { |
110 public_deps = [ | 106 public_deps = [ |
111 ":child", | 107 ":child", |
112 ] | 108 ] |
113 } | 109 } |
114 } | 110 } |
OLD | NEW |