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( | 9 gypi_values = exec_script( |
10 "//build/gypi_to_gn.py", | 10 "//build/gypi_to_gn.py", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 if (!is_ios) { | 80 if (!is_ios) { |
81 sources += rebase_path(gypi_values.chrome_browser_ui_non_ios_sources, | 81 sources += rebase_path(gypi_values.chrome_browser_ui_non_ios_sources, |
82 ".", "//chrome") | 82 ".", "//chrome") |
83 deps += [ | 83 deps += [ |
84 "//chrome/browser/devtools", | 84 "//chrome/browser/devtools", |
85 "//chrome/browser/ui/views", | 85 "//chrome/browser/ui/views", |
86 "//chrome/browser/ui/webui/omnibox:mojo_bindings", | 86 "//chrome/browser/ui/webui/omnibox:mojo_bindings", |
87 "//chrome/installer/util", | 87 "//chrome/installer/util", |
88 "//components/autofill/content/browser:risk_proto", | 88 "//components/autofill/content/browser:risk_proto", |
89 "//components/power", | 89 "//components/power", |
90 "//device/bluetooth", | |
91 "//device/nfc", | 90 "//device/nfc", |
92 "//media", | 91 "//media", |
93 "//mojo/edk/system", | 92 "//mojo/edk/system", |
94 "//net:net_with_v8", | 93 "//net:net_with_v8", |
95 "//storage/browser", | 94 "//storage/browser", |
96 "//storage/common", | 95 "//storage/common", |
97 "//third_party/WebKit/public:resources", | 96 "//third_party/WebKit/public:resources", |
98 "//third_party/adobe/flash:flapper_version_h", | 97 "//third_party/adobe/flash:flapper_version_h", |
99 "//third_party/expat", | 98 "//third_party/expat", |
100 "//third_party/hunspell", | 99 "//third_party/hunspell", |
(...skipping 15 matching lines...) Expand all Loading... |
116 # '<@(nacl_defines)', | 115 # '<@(nacl_defines)', |
117 # ], | 116 # ], |
118 # }, | 117 # }, |
119 } else { | 118 } else { |
120 # iOS. | 119 # iOS. |
121 sources += rebase_path(gypi_values.chrome_browser_ui_ios_sources, | 120 sources += rebase_path(gypi_values.chrome_browser_ui_ios_sources, |
122 ".", "//chrome") | 121 ".", "//chrome") |
123 deps += [ "//net" ] | 122 deps += [ "//net" ] |
124 } | 123 } |
125 | 124 |
| 125 if (!is_android && !is_ios) { |
| 126 sources += rebase_path(gypi_values.chrome_browser_ui_non_mobile_sources, |
| 127 ".", "//chrome") |
| 128 deps += [ "//device/bluetooth" ] |
| 129 } |
| 130 |
126 if (printing_mode != 0) { | 131 if (printing_mode != 0) { |
127 deps += [ "//printing" ] | 132 deps += [ "//printing" ] |
128 } | 133 } |
129 | 134 |
130 if (enable_one_click_signin) { | 135 if (enable_one_click_signin) { |
131 sources += rebase_path( | 136 sources += rebase_path( |
132 gypi_values.chrome_browser_ui_one_click_signin_sources, | 137 gypi_values.chrome_browser_ui_one_click_signin_sources, |
133 ".", "//chrome") | 138 ".", "//chrome") |
134 } | 139 } |
135 if (enable_task_manager) { | 140 if (enable_task_manager) { |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 "//chrome/browser", | 479 "//chrome/browser", |
475 "//content/public/browser", | 480 "//content/public/browser", |
476 "//content/public/common", | 481 "//content/public/common", |
477 "//content/test:test_support", | 482 "//content/test:test_support", |
478 "//net:test_support", | 483 "//net:test_support", |
479 "//skia", | 484 "//skia", |
480 "//testing/gtest", | 485 "//testing/gtest", |
481 "//ui/base", | 486 "//ui/base", |
482 ] | 487 ] |
483 } | 488 } |
OLD | NEW |