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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 "//ui/gfx/geometry", | 62 "//ui/gfx/geometry", |
63 "//ui/resources", | 63 "//ui/resources", |
64 "//ui/strings", | 64 "//ui/strings", |
65 "//url", | 65 "//url", |
66 "//webkit:resources", | 66 "//webkit:resources", |
67 "//webkit/browser:storage", | 67 "//webkit/browser:storage", |
68 "//webkit/common:storage", | 68 "//webkit/common:storage", |
69 #"debugger", TODO(GYP) | 69 #"debugger", TODO(GYP) |
70 #"installer_util", TODO(GYP) | 70 #"installer_util", TODO(GYP) |
71 #"../components/components.gyp:omaha_query_params", TODO(GYP) | 71 #"../components/components.gyp:omaha_query_params", TODO(GYP) |
72 #"../device/hid/hid.gyp:device_hid", TODO(GYP) | |
73 #"../extensions/extensions.gyp:extensions_browser", TODO(GYP) | 72 #"../extensions/extensions.gyp:extensions_browser", TODO(GYP) |
74 #"../third_party/webrtc/modules/modules.gyp:desktop_capture", TODO(GYP) | 73 #"../third_party/webrtc/modules/modules.gyp:desktop_capture", TODO(GYP) |
75 ] | 74 ] |
76 | 75 |
77 forward_dependent_configs_from = [ | 76 forward_dependent_configs_from = [ |
78 "//chrome/common/extensions/api", | 77 "//chrome/common/extensions/api", |
79 "//content/public/browser", | 78 "//content/public/browser", |
80 ] | 79 ] |
81 | 80 |
82 if (is_chromeos) { | 81 if (is_chromeos) { |
(...skipping 20 matching lines...) Expand all Loading... |
103 } | 102 } |
104 | 103 |
105 # TODO(thestig) This conditional should be removed when extensions are | 104 # TODO(thestig) This conditional should be removed when extensions are |
106 # no longer enabled on mobile. | 105 # no longer enabled on mobile. |
107 if (enable_extensions) { | 106 if (enable_extensions) { |
108 sources += rebase_path( | 107 sources += rebase_path( |
109 gypi_values.chrome_browser_extensions_enabled_sources, | 108 gypi_values.chrome_browser_extensions_enabled_sources, |
110 ".", "//chrome") | 109 ".", "//chrome") |
111 deps += [ | 110 deps += [ |
112 #'../device/bluetooth/bluetooth.gyp:device_bluetooth', TODO(GYP) | 111 #'../device/bluetooth/bluetooth.gyp:device_bluetooth', TODO(GYP) |
| 112 #"../device/hid/hid.gyp:device_hid", TODO(GYP) |
113 ] | 113 ] |
114 | 114 |
115 if (is_chromeos) { | 115 if (is_chromeos) { |
116 deps += [ "//third_party/protobuf:protobuf_lite" ] | 116 deps += [ "//third_party/protobuf:protobuf_lite" ] |
117 } else { | 117 } else { |
118 sources += rebase_path( | 118 sources += rebase_path( |
119 gypi_values.chrome_browser_extensions_non_chromeos_sources, | 119 gypi_values.chrome_browser_extensions_non_chromeos_sources, |
120 ".", "//chrome") | 120 ".", "//chrome") |
121 } | 121 } |
122 if (!is_linux) { | 122 if (!is_linux) { |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 ".", "//chrome") | 216 ".", "//chrome") |
217 } | 217 } |
218 | 218 |
219 if (enable_app_list) { | 219 if (enable_app_list) { |
220 sources += rebase_path( | 220 sources += rebase_path( |
221 gypi_values.chrome_browser_extensions_app_list_sources, | 221 gypi_values.chrome_browser_extensions_app_list_sources, |
222 ".", "//chrome") | 222 ".", "//chrome") |
223 } | 223 } |
224 } | 224 } |
225 } | 225 } |
OLD | NEW |