| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 ".", | 209 ".", |
| 210 "//chrome") | 210 "//chrome") |
| 211 } | 211 } |
| 212 if (use_athena) { | 212 if (use_athena) { |
| 213 sources += rebase_path(gypi_values.chrome_browser_ui_athena_sources, | 213 sources += rebase_path(gypi_values.chrome_browser_ui_athena_sources, |
| 214 ".", | 214 ".", |
| 215 "//chrome") | 215 "//chrome") |
| 216 } else { # Not athena. | 216 } else { # Not athena. |
| 217 if (!is_android) { | 217 if (!is_android) { |
| 218 sources += rebase_path( | 218 sources += rebase_path( |
| 219 gypi_values.chrome_browser_ui_non_athena_non_android_sources, | 219 gypi_values.chrome_browser_ui_non_athena_non_mobile_sources, |
| 220 ".", | 220 ".", |
| 221 "//chrome") | 221 "//chrome") |
| 222 } | 222 } |
| 223 if (use_ash) { | 223 if (use_ash) { |
| 224 sources += | 224 sources += |
| 225 rebase_path(gypi_values.chrome_browser_ui_ash_non_athena_sources, | 225 rebase_path(gypi_values.chrome_browser_ui_ash_non_athena_sources, |
| 226 ".", | 226 ".", |
| 227 "//chrome") | 227 "//chrome") |
| 228 } | 228 } |
| 229 } | 229 } |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 "//chrome/browser/ui/views", | 320 "//chrome/browser/ui/views", |
| 321 "//components/feedback/proto", | 321 "//components/feedback/proto", |
| 322 "//third_party/libusb", | 322 "//third_party/libusb", |
| 323 "//ui/events", | 323 "//ui/events", |
| 324 ] | 324 ] |
| 325 sources += rebase_path(gypi_values.chrome_browser_ui_android_sources, | 325 sources += rebase_path(gypi_values.chrome_browser_ui_android_sources, |
| 326 ".", | 326 ".", |
| 327 "//chrome") | 327 "//chrome") |
| 328 | 328 |
| 329 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] | 329 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] |
| 330 } else { # Non-Android. | |
| 331 sources += rebase_path(gypi_values.chrome_browser_ui_non_android_sources, | |
| 332 ".", | |
| 333 "//chrome") | |
| 334 } | 330 } |
| 335 | 331 |
| 336 if (is_mac) { | 332 if (is_mac) { |
| 337 sources += | 333 sources += |
| 338 rebase_path(gypi_values.chrome_browser_ui_mac_sources, ".", "//chrome") | 334 rebase_path(gypi_values.chrome_browser_ui_mac_sources, ".", "//chrome") |
| 339 sources -= [ | 335 sources -= [ |
| 340 # Mac has its own way of drawing tabs. | 336 # Mac has its own way of drawing tabs. |
| 341 "tabs/tab_resources.cc", | 337 "tabs/tab_resources.cc", |
| 342 "tabs/tab_resources.h", | 338 "tabs/tab_resources.h", |
| 343 ] | 339 ] |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 "//chrome/browser", | 523 "//chrome/browser", |
| 528 "//content/public/browser", | 524 "//content/public/browser", |
| 529 "//content/public/common", | 525 "//content/public/common", |
| 530 "//content/test:test_support", | 526 "//content/test:test_support", |
| 531 "//net:test_support", | 527 "//net:test_support", |
| 532 "//skia", | 528 "//skia", |
| 533 "//testing/gtest", | 529 "//testing/gtest", |
| 534 "//ui/base", | 530 "//ui/base", |
| 535 ] | 531 ] |
| 536 } | 532 } |
| OLD | NEW |