Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: content/common/BUILD.gn

Issue 353113002: GN: content/content_tests.gypi support targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/common/common.gni") 7 import("//content/common/common.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 9
10 source_set("common") { 10 source_set("common") {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 if (is_mac) { 87 if (is_mac) {
88 sources += [ 88 sources += [
89 "gpu/client/gpu_memory_buffer_impl_io_surface.cc", 89 "gpu/client/gpu_memory_buffer_impl_io_surface.cc",
90 "gpu/client/gpu_memory_buffer_impl_io_surface.h", 90 "gpu/client/gpu_memory_buffer_impl_io_surface.h",
91 ] 91 ]
92 sources -= [ 92 sources -= [
93 "plugin_list_posix.cc", 93 "plugin_list_posix.cc",
94 ] 94 ]
95 95
96 # TODO(GYP) enable when converted to GN. 96 deps += [
97 #deps += [ 97 "//webkit:resources",
98 # "//webkit:webkit_resources", 98 "//content:resources",
99 #] 99 ]
100 libs += [ "QuartzCore.framework" ] 100 libs += [ "QuartzCore.framework" ]
101 } 101 }
102 102
103 if (is_android) { 103 if (is_android) {
104 sources += [ 104 sources += [
105 "gpu/client/gpu_memory_buffer_impl_surface_texture.cc", 105 "gpu/client/gpu_memory_buffer_impl_surface_texture.cc",
106 "gpu/client/gpu_memory_buffer_impl_surface_texture.h", 106 "gpu/client/gpu_memory_buffer_impl_surface_texture.h",
107 ] 107 ]
108 108
109 # TODO(GYP) enable when these targets are converted. 109 # TODO(GYP) enable when these targets are converted.
(...skipping 10 matching lines...) Expand all
120 assert(false, "Need to add lots of conditions here") 120 assert(false, "Need to add lots of conditions here")
121 } 121 }
122 122
123 if (!use_ozone) { 123 if (!use_ozone) {
124 sources -= [ 124 sources -= [
125 "cursors/webcursor_ozone.cc", 125 "cursors/webcursor_ozone.cc",
126 "font_list_ozone.cc", 126 "font_list_ozone.cc",
127 ] 127 ]
128 } 128 }
129 129
130 if (!use_aura) {
131 sources -= [ "cursors/webcursor_aura.cc" ]
132 }
133
130 if (!use_aura || !use_x11) { 134 if (!use_aura || !use_x11) {
131 sources -= [ "cursors/webcursor_aurax11.cc" ] 135 sources -= [ "cursors/webcursor_aurax11.cc" ]
132 } 136 }
133 137
134 if (use_pango) { 138 if (use_pango) {
135 configs += [ "//build/config/linux:pangocairo" ] 139 configs += [ "//build/config/linux:pangocairo" ]
136 if (use_ozone) { 140 if (use_ozone) {
137 # If we're using pango, never use this ozone file (it was removed in all 141 # If we're using pango, never use this ozone file (it was removed in all
138 # non-ozone cases above). 142 # non-ozone cases above).
139 sources -= [ "font_list_ozone.cc" ] 143 sources -= [ "font_list_ozone.cc" ]
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 271
268 mojom("mojo_bindings") { 272 mojom("mojo_bindings") {
269 sources = [ 273 sources = [
270 "render_frame_setup.mojom", 274 "render_frame_setup.mojom",
271 ] 275 ]
272 276
273 deps = [ 277 deps = [
274 "//mojo/public/interfaces/service_provider:service_provider", 278 "//mojo/public/interfaces/service_provider:service_provider",
275 ] 279 ]
276 } 280 }
OLDNEW
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698