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