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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 if (enable_google_now && !is_android) { | 419 if (enable_google_now && !is_android) { |
420 sources += rebase_path( | 420 sources += rebase_path( |
421 gypi_values.chrome_browser_ui_google_now_non_android_sources, | 421 gypi_values.chrome_browser_ui_google_now_non_android_sources, |
422 ".", | 422 ".", |
423 "//chrome") | 423 "//chrome") |
424 } | 424 } |
425 if (enable_media_router) { | 425 if (enable_media_router) { |
426 sources += rebase_path(gypi_values.chrome_browser_ui_media_router_sources, | 426 sources += rebase_path(gypi_values.chrome_browser_ui_media_router_sources, |
427 ".", | 427 ".", |
428 "//chrome") | 428 "//chrome") |
429 deps += [ "//chrome/browser/media/router:router_core" ] | 429 deps += [ "//chrome/browser/media/router:core" ] |
430 defines += [ "ENABLE_MEDIA_ROUTER=1" ] | 430 defines += [ "ENABLE_MEDIA_ROUTER=1" ] |
431 } | 431 } |
432 if (enable_webrtc) { | 432 if (enable_webrtc) { |
433 sources += rebase_path(gypi_values.chrome_browser_ui_webrtc_sources, | 433 sources += rebase_path(gypi_values.chrome_browser_ui_webrtc_sources, |
434 ".", | 434 ".", |
435 "//chrome") | 435 "//chrome") |
436 } | 436 } |
437 if (enable_service_discovery) { | 437 if (enable_service_discovery) { |
438 sources += | 438 sources += |
439 rebase_path(gypi_values.chrome_browser_ui_service_discovery_sources, | 439 rebase_path(gypi_values.chrome_browser_ui_service_discovery_sources, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 "//chrome/browser", | 505 "//chrome/browser", |
506 "//content/public/browser", | 506 "//content/public/browser", |
507 "//content/public/common", | 507 "//content/public/common", |
508 "//content/test:test_support", | 508 "//content/test:test_support", |
509 "//net:test_support", | 509 "//net:test_support", |
510 "//skia", | 510 "//skia", |
511 "//testing/gtest", | 511 "//testing/gtest", |
512 "//ui/base", | 512 "//ui/base", |
513 ] | 513 ] |
514 } | 514 } |
OLD | NEW |