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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 if (!enable_themes) { | 324 if (!enable_themes) { |
325 sources -= [ "webui/theme_source.cc" ] | 325 sources -= [ "webui/theme_source.cc" ] |
326 } | 326 } |
327 if (enable_print_preview) { | 327 if (enable_print_preview) { |
328 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, | 328 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, |
329 ".", | 329 ".", |
330 "//chrome") | 330 "//chrome") |
331 } | 331 } |
332 | 332 |
333 if (is_android) { | 333 if (is_android) { |
334 deps += [ | 334 deps += [ "//crypto:platform" ] |
335 "//chrome/browser:jni_headers", | |
336 "//crypto:platform", | |
337 ] | |
338 | 335 |
339 defines += [ "CHROME_BUILD_ID=\"$android_chrome_build_id\"" ] | 336 defines += [ "CHROME_BUILD_ID=\"$android_chrome_build_id\"" ] |
340 | 337 |
341 if (!use_aura) { | 338 if (android_java_ui) { |
342 sources += | 339 sources += |
343 rebase_path(gypi_values.chrome_browser_ui_android_non_aura_sources, | 340 rebase_path(gypi_values.chrome_browser_ui_android_java_ui_sources, |
344 ".", | 341 ".", |
345 "//chrome") | 342 "//chrome") |
346 deps += [ "//components/web_contents_delegate_android" ] | 343 deps += [ |
| 344 "//chrome/browser:jni_headers", |
| 345 "//components/web_contents_delegate_android", |
| 346 ] |
347 deps -= [ "//ui/events" ] | 347 deps -= [ "//ui/events" ] |
348 } | 348 } |
349 } | 349 } |
350 | 350 |
351 if (is_mac) { | 351 if (is_mac) { |
352 sources += | 352 sources += |
353 rebase_path(gypi_values.chrome_browser_ui_mac_sources, ".", "//chrome") | 353 rebase_path(gypi_values.chrome_browser_ui_mac_sources, ".", "//chrome") |
354 deps += [ | 354 deps += [ |
355 ":generate_localizer", | 355 ":generate_localizer", |
356 "//third_party/apple_sample_code", | 356 "//third_party/apple_sample_code", |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 "//chrome/browser", | 603 "//chrome/browser", |
604 "//content/public/browser", | 604 "//content/public/browser", |
605 "//content/public/common", | 605 "//content/public/common", |
606 "//content/test:test_support", | 606 "//content/test:test_support", |
607 "//net:test_support", | 607 "//net:test_support", |
608 "//skia", | 608 "//skia", |
609 "//testing/gtest", | 609 "//testing/gtest", |
610 "//ui/base", | 610 "//ui/base", |
611 ] | 611 ] |
612 } | 612 } |
OLD | NEW |