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

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

Issue 407093015: GN: Make chrome/{browser,common,renderer} compile on mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: line wrap and remove gpu_memory_buffer_factory_x11.cc from non-x11 builds Created 6 years, 4 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 | « components/breakpad/browser/BUILD.gn ('k') | media/media_options.gni » ('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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 ] 156 ]
157 include_dirs += [ "//third_party/khronos" ] 157 include_dirs += [ "//third_party/khronos" ]
158 configs += [ "//build/config/linux:xcomposite" ] 158 configs += [ "//build/config/linux:xcomposite" ]
159 159
160 if (cpu_arch != "arm" || !is_chromeos) { 160 if (cpu_arch != "arm" || !is_chromeos) {
161 sources +=[ 161 sources +=[
162 "gpu/x_util.cc", 162 "gpu/x_util.cc",
163 "gpu/x_util.h", 163 "gpu/x_util.h",
164 ] 164 ]
165 } 165 }
166 } else {
167 sources -= [
168 "gpu/gpu_memory_buffer_factory_x11.cc",
169 ]
166 } 170 }
167 171
168 if (enable_plugins) { 172 if (enable_plugins) {
169 deps += [ 173 deps += [
170 "//ppapi:ppapi_shared", 174 "//ppapi:ppapi_shared",
171 ] 175 ]
172 } else { 176 } else {
173 sources -= [ 177 sources -= [
174 "pepper_plugin_list.cc", 178 "pepper_plugin_list.cc",
175 "pepper_plugin_list.h", 179 "pepper_plugin_list.h",
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 272
269 mojom("mojo_bindings") { 273 mojom("mojo_bindings") {
270 sources = [ 274 sources = [
271 "render_frame_setup.mojom", 275 "render_frame_setup.mojom",
272 ] 276 ]
273 277
274 deps = [ 278 deps = [
275 "//mojo/public/interfaces/service_provider:service_provider", 279 "//mojo/public/interfaces/service_provider:service_provider",
276 ] 280 ]
277 } 281 }
OLDNEW
« no previous file with comments | « components/breakpad/browser/BUILD.gn ('k') | media/media_options.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698