| 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/ui.gni") | 5 import ("//build/config/ui.gni") |
| 6 | 6 |
| 7 component("aura") { | 7 component("aura") { |
| 8 sources = [ | 8 sources = [ |
| 9 "client/aura_constants.cc", | 9 "client/aura_constants.cc", |
| 10 "client/aura_constants.h", | 10 "client/aura_constants.h", |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 deps += [ | 113 deps += [ |
| 114 "//ui/events/platform/x11", | 114 "//ui/events/platform/x11", |
| 115 ] | 115 ] |
| 116 } | 116 } |
| 117 | 117 |
| 118 if (is_win) { | 118 if (is_win) { |
| 119 sources -= [ | 119 sources -= [ |
| 120 "input_state_lookup.cc", | 120 "input_state_lookup.cc", |
| 121 ] | 121 ] |
| 122 | 122 |
| 123 deps = [ | 123 deps += [ |
| 124 "//ui/metro_viewer", | 124 "//ui/metro_viewer", |
| 125 "//ipc", | 125 "//ipc", |
| 126 ] | 126 ] |
| 127 } | 127 } |
| 128 | 128 |
| 129 if (use_ozone) { | 129 if (use_ozone) { |
| 130 sources += [ | 130 sources += [ |
| 131 "window_tree_host_ozone.cc", | 131 "window_tree_host_ozone.cc", |
| 132 "window_tree_host_ozone.h", | 132 "window_tree_host_ozone.h", |
| 133 ] | 133 ] |
| 134 | 134 |
| 135 deps = [ | 135 # TODO(GYP) enable when these targets exist. |
| 136 "//ui/events/ozone", | 136 #deps += [ |
| 137 "//ui/ozone", | 137 # "//ui/events/ozone", |
| 138 ] | 138 # "//ui/ozone", |
| 139 #] |
| 139 } | 140 } |
| 140 } | 141 } |
| 141 | 142 |
| 142 source_set("aura_test_support") { | 143 source_set("aura_test_support") { |
| 143 sources = [ | 144 sources = [ |
| 144 "test/aura_test_base.cc", | 145 "test/aura_test_base.cc", |
| 145 "test/aura_test_base.h", | 146 "test/aura_test_base.h", |
| 146 "test/aura_test_helper.cc", | 147 "test/aura_test_helper.cc", |
| 147 "test/aura_test_helper.h", | 148 "test/aura_test_helper.h", |
| 148 "test/aura_test_utils.cc", | 149 "test/aura_test_utils.cc", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 175 "//ui/base:ui_base_test_support", | 176 "//ui/base:ui_base_test_support", |
| 176 "//ui/compositor:test_support", | 177 "//ui/compositor:test_support", |
| 177 "//ui/events", | 178 "//ui/events", |
| 178 "//ui/events:events_base", | 179 "//ui/events:events_base", |
| 179 "//ui/events:events_test_support", | 180 "//ui/events:events_test_support", |
| 180 "//ui/gfx", | 181 "//ui/gfx", |
| 181 "//ui/gfx/geometry", | 182 "//ui/gfx/geometry", |
| 182 ] | 183 ] |
| 183 | 184 |
| 184 if (is_win) { | 185 if (is_win) { |
| 185 cflags += [ | 186 cflags = [ |
| 186 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 187 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 187 ] | 188 ] |
| 188 } | 189 } |
| 189 | 190 |
| 190 if (use_aura) { | 191 if (use_aura) { |
| 191 if (is_win) { | 192 if (is_win) { |
| 192 sources += [ | 193 sources += [ |
| 193 "test/ui_controls_factory_aurawin.cc", | 194 "test/ui_controls_factory_aurawin.cc", |
| 194 ] | 195 ] |
| 195 } | 196 } |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 # ] | 294 # ] |
| 294 # } | 295 # } |
| 295 # | 296 # |
| 296 # if (is_linux) { # && use_allocator != "none") { | 297 # if (is_linux) { # && use_allocator != "none") { |
| 297 # deps += [ | 298 # deps += [ |
| 298 # # See http://crbug.com/162998#c4 for why this is needed. | 299 # # See http://crbug.com/162998#c4 for why this is needed. |
| 299 # "//base/allocator", | 300 # "//base/allocator", |
| 300 # ] | 301 # ] |
| 301 # } | 302 # } |
| 302 #} | 303 #} |
| OLD | NEW |