| 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 import("//chrome/common/features.gni") | 8 import("//chrome/common/features.gni") |
| 9 | 9 |
| 10 gypi_values = exec_script("//build/gypi_to_gn.py", | 10 gypi_values = exec_script("//build/gypi_to_gn.py", |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 gypi_values.chrome_browser_ui_views_extensions_non_mac_sources, | 253 gypi_values.chrome_browser_ui_views_extensions_non_mac_sources, |
| 254 ".", | 254 ".", |
| 255 "//chrome") | 255 "//chrome") |
| 256 } | 256 } |
| 257 } | 257 } |
| 258 if (use_ash) { | 258 if (use_ash) { |
| 259 sources += rebase_path(gypi_values.chrome_browser_ui_ash_views_sources, | 259 sources += rebase_path(gypi_values.chrome_browser_ui_ash_views_sources, |
| 260 ".", | 260 ".", |
| 261 "//chrome") | 261 "//chrome") |
| 262 } | 262 } |
| 263 if (is_android) { | |
| 264 sources += | |
| 265 rebase_path(gypi_values.chrome_browser_ui_views_android_sources, | |
| 266 ".", | |
| 267 "//chrome") | |
| 268 } | |
| 269 } else { | 263 } else { |
| 270 # !toolkit_views | 264 # !toolkit_views |
| 271 if (!is_ios) { | 265 if (!is_ios) { |
| 272 deps -= [ "//chrome/browser/ui/views" ] | 266 deps -= [ "//chrome/browser/ui/views" ] |
| 273 } | 267 } |
| 274 } | 268 } |
| 275 if (use_aura && !use_ozone && is_desktop_linux) { | 269 if (use_aura && !use_ozone && is_desktop_linux) { |
| 276 deps += [ | 270 deps += [ |
| 277 "//build/linux:gio", | 271 "//build/linux:gio", |
| 278 | 272 |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 "//chrome/browser", | 607 "//chrome/browser", |
| 614 "//content/public/browser", | 608 "//content/public/browser", |
| 615 "//content/public/common", | 609 "//content/public/common", |
| 616 "//content/test:test_support", | 610 "//content/test:test_support", |
| 617 "//net:test_support", | 611 "//net:test_support", |
| 618 "//skia", | 612 "//skia", |
| 619 "//testing/gtest", | 613 "//testing/gtest", |
| 620 "//ui/base", | 614 "//ui/base", |
| 621 ] | 615 ] |
| 622 } | 616 } |
| OLD | NEW |