| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 "//components/password_manager/core/browser", | 54 "//components/password_manager/core/browser", |
| 55 "//components/resources", | 55 "//components/resources", |
| 56 "//components/strings", | 56 "//components/strings", |
| 57 "//components/update_client", | 57 "//components/update_client", |
| 58 "//content/public/browser", | 58 "//content/public/browser", |
| 59 "//content/public/common", | 59 "//content/public/common", |
| 60 "//crypto", | 60 "//crypto", |
| 61 "//skia", | 61 "//skia", |
| 62 "//third_party/cacheinvalidation", | 62 "//third_party/cacheinvalidation", |
| 63 "//third_party/icu", | 63 "//third_party/icu", |
| 64 "//third_party/libusb", | |
| 65 "//third_party/libxml", | 64 "//third_party/libxml", |
| 66 "//third_party/zlib", | 65 "//third_party/zlib", |
| 67 "//ui/accessibility", | 66 "//ui/accessibility", |
| 68 "//ui/base", | 67 "//ui/base", |
| 69 "//ui/content_accelerators", | 68 "//ui/content_accelerators", |
| 70 "//ui/events", | 69 "//ui/events", |
| 71 "//ui/events:gesture_detection", | 70 "//ui/events:gesture_detection", |
| 72 "//ui/gfx", | 71 "//ui/gfx", |
| 73 "//ui/gfx/geometry", | 72 "//ui/gfx/geometry", |
| 74 "//ui/message_center", | 73 "//ui/message_center", |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 127 |
| 129 if (!is_android && !is_ios) { | 128 if (!is_android && !is_ios) { |
| 130 sources += rebase_path(gypi_values.chrome_browser_ui_non_mobile_sources, | 129 sources += rebase_path(gypi_values.chrome_browser_ui_non_mobile_sources, |
| 131 ".", | 130 ".", |
| 132 "//chrome") | 131 "//chrome") |
| 133 sources += | 132 sources += |
| 134 rebase_path(gypi_values.chrome_browser_ui_omnibox_non_mobile_sources, | 133 rebase_path(gypi_values.chrome_browser_ui_omnibox_non_mobile_sources, |
| 135 ".", | 134 ".", |
| 136 "//chrome") | 135 "//chrome") |
| 137 deps += [ | 136 deps += [ |
| 137 "//components/copresence", |
| 138 "//device/bluetooth", | 138 "//device/bluetooth", |
| 139 "//components/copresence", | 139 "//third_party/libusb", |
| 140 ] | 140 ] |
| 141 } | 141 } |
| 142 | 142 |
| 143 if (enable_basic_printing || enable_print_preview) { | 143 if (enable_basic_printing || enable_print_preview) { |
| 144 deps += [ "//printing" ] | 144 deps += [ "//printing" ] |
| 145 } | 145 } |
| 146 | 146 |
| 147 if (enable_one_click_signin) { | 147 if (enable_one_click_signin) { |
| 148 sources += | 148 sources += |
| 149 rebase_path(gypi_values.chrome_browser_ui_one_click_signin_sources, | 149 rebase_path(gypi_values.chrome_browser_ui_one_click_signin_sources, |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 if (is_android) { | 310 if (is_android) { |
| 311 deps += [ | 311 deps += [ |
| 312 "//chrome/browser:jni_headers", | 312 "//chrome/browser:jni_headers", |
| 313 "//crypto:platform", | 313 "//crypto:platform", |
| 314 | 314 |
| 315 #'../components/components.gyp:web_contents_delegate_android', TODO(GYP) | 315 #'../components/components.gyp:web_contents_delegate_android', TODO(GYP) |
| 316 ] | 316 ] |
| 317 deps -= [ | 317 deps -= [ |
| 318 "//chrome/browser/ui/views", | 318 "//chrome/browser/ui/views", |
| 319 "//components/feedback/proto", | 319 "//components/feedback/proto", |
| 320 "//third_party/libusb", | |
| 321 "//ui/events", | 320 "//ui/events", |
| 322 ] | 321 ] |
| 323 sources += rebase_path(gypi_values.chrome_browser_ui_android_sources, | 322 sources += rebase_path(gypi_values.chrome_browser_ui_android_sources, |
| 324 ".", | 323 ".", |
| 325 "//chrome") | 324 "//chrome") |
| 326 | 325 |
| 327 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] | 326 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] |
| 328 } | 327 } |
| 329 | 328 |
| 330 if (is_mac) { | 329 if (is_mac) { |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 "//chrome/browser", | 517 "//chrome/browser", |
| 519 "//content/public/browser", | 518 "//content/public/browser", |
| 520 "//content/public/common", | 519 "//content/public/common", |
| 521 "//content/test:test_support", | 520 "//content/test:test_support", |
| 522 "//net:test_support", | 521 "//net:test_support", |
| 523 "//skia", | 522 "//skia", |
| 524 "//testing/gtest", | 523 "//testing/gtest", |
| 525 "//ui/base", | 524 "//ui/base", |
| 526 ] | 525 ] |
| 527 } | 526 } |
| OLD | NEW |