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/json_schema_api.gni") | 5 import("//build/json_schema_api.gni") |
6 import("schemas.gni") | 6 import("schemas.gni") |
7 | 7 |
8 assert(enable_extensions) | 8 assert(enable_extensions) |
9 | 9 |
10 # GYP version: chrome/common/extensions/api/api.gyp:chrome_api | 10 # GYP version: chrome/common/extensions/api/api.gyp:chrome_api |
(...skipping 21 matching lines...) Expand all Loading... |
32 "//components/copresence/proto", | 32 "//components/copresence/proto", |
33 "//components/metrics/proto", | 33 "//components/metrics/proto", |
34 "//skia", | 34 "//skia", |
35 "//sync", | 35 "//sync", |
36 "//ui/accessibility:ax_gen", | 36 "//ui/accessibility:ax_gen", |
37 ] | 37 ] |
38 if (is_chromeos) { | 38 if (is_chromeos) { |
39 # deps += [ "<(DEPTH)/chrome/chrome.gyp:drive_proto" ] TODO(GYP) | 39 # deps += [ "<(DEPTH)/chrome/chrome.gyp:drive_proto" ] TODO(GYP) |
40 } | 40 } |
41 deps += schema_dependencies | 41 deps += schema_dependencies |
| 42 |
| 43 # This must be a static library because the generated schemas have |
| 44 # dependencies into both the browser and child processes, and this won't link |
| 45 # in the multi DLL build. In the child DLL, only some files are needed, and |
| 46 # these have no dependencies into the browser, so a static library solves the |
| 47 # problem. |
| 48 generate_static_library = true |
42 } | 49 } |
OLD | NEW |