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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 "//third_party/re2", | 93 "//third_party/re2", |
94 "//third_party/widevine/cdm:version_h", | 94 "//third_party/widevine/cdm:version_h", |
95 ] | 95 ] |
96 } | 96 } |
97 | 97 |
98 if (enable_extensions) { | 98 if (enable_extensions) { |
99 sources += rebase_path( | 99 sources += rebase_path( |
100 gypi_values.chrome_common_extensions_sources, | 100 gypi_values.chrome_common_extensions_sources, |
101 ".", "//chrome") | 101 ".", "//chrome") |
102 deps += [ | 102 deps += [ |
103 "//device/bluetooth", | 103 "//device/bluetooth", # TODO(thestig) Still needed? Not in gyp version. |
104 "//device/usb", | 104 "//device/usb", |
105 "//extensions/common", | 105 "//extensions/common", |
106 "//extensions/common/api", | 106 "//extensions/common/api", |
107 "//extensions/strings", | 107 "//extensions/strings", |
108 "//extensions:extensions_resources", | 108 "//extensions:extensions_resources", |
109 ] | 109 ] |
110 } | 110 } |
111 | 111 |
112 if (is_win || is_mac) { | 112 if (is_win || is_mac) { |
113 sources += rebase_path( | 113 sources += rebase_path( |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 if (is_win || is_mac) { | 310 if (is_win || is_mac) { |
311 sources += [ | 311 sources += [ |
312 "media_galleries/picasa_test_util.cc", | 312 "media_galleries/picasa_test_util.cc", |
313 "media_galleries/picasa_test_util.cc", | 313 "media_galleries/picasa_test_util.cc", |
314 "media_galleries/pmp_test_util.cc", | 314 "media_galleries/pmp_test_util.cc", |
315 "media_galleries/pmp_test_util.h", | 315 "media_galleries/pmp_test_util.h", |
316 ] | 316 ] |
317 } | 317 } |
318 | 318 |
319 } | 319 } |
OLD | NEW |