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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.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("../../chrome_browser_ui.gypi") ], | 10 [ rebase_path("../../chrome_browser_ui.gypi") ], |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 gypi_values.chrome_browser_ui_views_extensions_non_mac_sources, | 243 gypi_values.chrome_browser_ui_views_extensions_non_mac_sources, |
244 ".", | 244 ".", |
245 "//chrome") | 245 "//chrome") |
246 } | 246 } |
247 } | 247 } |
248 if (use_ash) { | 248 if (use_ash) { |
249 sources += rebase_path(gypi_values.chrome_browser_ui_ash_views_sources, | 249 sources += rebase_path(gypi_values.chrome_browser_ui_ash_views_sources, |
250 ".", | 250 ".", |
251 "//chrome") | 251 "//chrome") |
252 } | 252 } |
| 253 if (is_android) { |
| 254 sources += |
| 255 rebase_path(gypi_values.chrome_browser_ui_views_android_sources, |
| 256 ".", |
| 257 "//chrome") |
| 258 } |
253 } else { | 259 } else { |
254 # !toolkit_views | 260 # !toolkit_views |
255 if (!is_ios) { | 261 if (!is_ios) { |
256 deps -= [ "//chrome/browser/ui/views" ] | 262 deps -= [ "//chrome/browser/ui/views" ] |
257 } | 263 } |
258 } | 264 } |
259 if (use_aura && !use_ozone && is_desktop_linux) { | 265 if (use_aura && !use_ozone && is_desktop_linux) { |
260 deps += [ | 266 deps += [ |
261 "//build/linux:gio", | 267 "//build/linux:gio", |
262 | 268 |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 "//chrome/browser", | 591 "//chrome/browser", |
586 "//content/public/browser", | 592 "//content/public/browser", |
587 "//content/public/common", | 593 "//content/public/common", |
588 "//content/test:test_support", | 594 "//content/test:test_support", |
589 "//net:test_support", | 595 "//net:test_support", |
590 "//skia", | 596 "//skia", |
591 "//testing/gtest", | 597 "//testing/gtest", |
592 "//ui/base", | 598 "//ui/base", |
593 ] | 599 ] |
594 } | 600 } |
OLD | NEW |