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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 gypi_values = exec_script( | 7 gypi_values = exec_script( |
8 "//build/gypi_to_gn.py", | 8 "//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_common.gypi") ], | 9 [ rebase_path("../chrome_common.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 "//third_party/re2", | 97 "//third_party/re2", |
98 "//third_party/widevine/cdm:version_h", | 98 "//third_party/widevine/cdm:version_h", |
99 ] | 99 ] |
100 } | 100 } |
101 | 101 |
102 if (enable_extensions) { | 102 if (enable_extensions) { |
103 sources += rebase_path( | 103 sources += rebase_path( |
104 gypi_values.chrome_common_extensions_sources, | 104 gypi_values.chrome_common_extensions_sources, |
105 ".", "//chrome") | 105 ".", "//chrome") |
106 deps += [ | 106 deps += [ |
107 "//device/bluetooth", # TODO(thestig) Still needed? Not in gyp version. | |
108 "//device/usb", | 107 "//device/usb", |
109 "//chrome/common/extensions/api", | 108 "//chrome/common/extensions/api", |
110 "//extensions/common", | 109 "//extensions/common", |
111 "//extensions/common/api", | 110 "//extensions/common/api", |
112 "//extensions:extensions_resources", | 111 "//extensions:extensions_resources", |
113 "//extensions/strings", | 112 "//extensions/strings", |
114 ] | 113 ] |
115 } | 114 } |
116 | 115 |
117 if (is_win || is_mac) { | 116 if (is_win || is_mac) { |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 } | 310 } |
312 | 311 |
313 if (enable_extensions) { | 312 if (enable_extensions) { |
314 sources += [ | 313 sources += [ |
315 "extensions/extension_test_util.cc", | 314 "extensions/extension_test_util.cc", |
316 "extensions/extension_test_util.h", | 315 "extensions/extension_test_util.h", |
317 ] | 316 ] |
318 } | 317 } |
319 | 318 |
320 } | 319 } |
OLD | NEW |