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