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