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("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
10 [ rebase_path("views.gyp") ], | 10 [ rebase_path("views.gyp") ], |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 configs += [ "//ui/accessibility:atk" ] | 121 configs += [ "//ui/accessibility:atk" ] |
122 } else if (is_win) { | 122 } else if (is_win) { |
123 sources += gypi_values.views_desktop_aura_win_sources | 123 sources += gypi_values.views_desktop_aura_win_sources |
124 } else if (use_ozone) { | 124 } else if (use_ozone) { |
125 sources += gypi_values.views_desktop_aura_ozone_sources | 125 sources += gypi_values.views_desktop_aura_ozone_sources |
126 } | 126 } |
127 if (is_linux) { | 127 if (is_linux) { |
128 sources += gypi_values.views_desktop_aura_linux_sources | 128 sources += gypi_values.views_desktop_aura_linux_sources |
129 } | 129 } |
130 } | 130 } |
131 if (is_android) { | |
132 sources += gypi_values.views_android_sources | |
133 } | |
134 } | 131 } |
135 | 132 |
136 if (is_mac) { | 133 if (is_mac) { |
137 deps += [ | 134 deps += [ |
138 "//ui/accelerated_widget_mac", | 135 "//ui/accelerated_widget_mac", |
139 "//ui/events:dom_keycode_converter", | 136 "//ui/events:dom_keycode_converter", |
140 ] | 137 ] |
141 libs = [ | 138 libs = [ |
142 # Required by bridged_native_widget.mm. | 139 # Required by bridged_native_widget.mm. |
143 "QuartzCore.framework", | 140 "QuartzCore.framework", |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 "//ui/base:test_support", | 309 "//ui/base:test_support", |
313 "//ui/compositor", | 310 "//ui/compositor", |
314 "//ui/events:test_support", | 311 "//ui/events:test_support", |
315 "//ui/gl:test_support", | 312 "//ui/gl:test_support", |
316 "//ui/resources", | 313 "//ui/resources", |
317 "//ui/resources:ui_test_pak", | 314 "//ui/resources:ui_test_pak", |
318 "//ui/strings", | 315 "//ui/strings", |
319 ] | 316 ] |
320 } | 317 } |
321 } | 318 } |
OLD | NEW |