Chromium Code Reviews| 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/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 Loading... | |
| 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", |
|
jamesr
2014/06/27 06:01:15
i can't find this one in gyp but it's clearly bein
| |
| 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 Loading... | |
| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 263 ] | 267 ] |
| 264 } | 268 } |
| 265 } | 269 } |
| 266 } | 270 } |
| 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 } |
| OLD | NEW |