| 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 rebase_path(gypi_values.chrome_browser_ui_nss_sources, ".", "//chrome") | 257 rebase_path(gypi_values.chrome_browser_ui_nss_sources, ".", "//chrome") |
| 258 } | 258 } |
| 259 if (!enable_themes) { | 259 if (!enable_themes) { |
| 260 sources -= [ "webui/theme_source.cc" ] | 260 sources -= [ "webui/theme_source.cc" ] |
| 261 } | 261 } |
| 262 if (enable_print_preview) { | 262 if (enable_print_preview) { |
| 263 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, | 263 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, |
| 264 ".", | 264 ".", |
| 265 "//chrome") | 265 "//chrome") |
| 266 } | 266 } |
| 267 if (is_linux || is_android) { | |
| 268 sources += rebase_path(gypi_values.chrome_browser_ui_android_linux_sources, | |
| 269 ".", | |
| 270 "//chrome") | |
| 271 } | |
| 272 | 267 |
| 273 if (is_android) { | 268 if (is_android) { |
| 274 deps += [ | 269 deps += [ |
| 275 "//chrome/browser:jni_headers", | 270 "//chrome/browser:jni_headers", |
| 276 "//crypto:platform", | 271 "//crypto:platform", |
| 277 "//components/web_contents_delegate_android", | 272 "//components/web_contents_delegate_android", |
| 278 ] | 273 ] |
| 279 deps -= [ | 274 deps -= [ |
| 280 "//chrome/browser/ui/views", | 275 "//chrome/browser/ui/views", |
| 281 "//ui/events", | 276 "//ui/events", |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 "//chrome/browser", | 494 "//chrome/browser", |
| 500 "//content/public/browser", | 495 "//content/public/browser", |
| 501 "//content/public/common", | 496 "//content/public/common", |
| 502 "//content/test:test_support", | 497 "//content/test:test_support", |
| 503 "//net:test_support", | 498 "//net:test_support", |
| 504 "//skia", | 499 "//skia", |
| 505 "//testing/gtest", | 500 "//testing/gtest", |
| 506 "//ui/base", | 501 "//ui/base", |
| 507 ] | 502 ] |
| 508 } | 503 } |
| OLD | NEW |