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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //chrome/browser/extensions/api:api_registration | 8 # GN version: //chrome/browser/extensions/api:api_registration |
9 'target_name': 'chrome_api_registration', | 9 'target_name': 'chrome_api_registration', |
10 'type': 'static_library', | 10 'type': 'static_library', |
11 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 11 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
12 'msvs_disabled_warnings': [ 4267 ], | 12 'msvs_disabled_warnings': [ 4267 ], |
13 'includes': [ | 13 'includes': [ |
14 '../../../../build/json_schema_bundle_registration_compile.gypi', | 14 '../../../../build/json_schema_bundle_registration_compile.gypi', |
15 '../../../common/extensions/api/schemas.gypi', | 15 '../../../common/extensions/api/schemas.gypi', |
16 ], | 16 ], |
17 'dependencies': [ | 17 'dependencies': [ |
18 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', | 18 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', |
| 19 |
| 20 # Different APIs include headers from these targets. |
| 21 "<(DEPTH)/content/content.gyp:content_browser", |
| 22 |
19 # Different APIs include some headers from chrome/common that in turn | 23 # Different APIs include some headers from chrome/common that in turn |
20 # include generated headers from these targets. | 24 # include generated headers from these targets. |
21 # TODO(brettw) this should be made unnecessary if possible. | 25 # TODO(brettw) this should be made unnecessary if possible. |
22 '<(DEPTH)/components/components.gyp:component_metrics_proto', | 26 '<(DEPTH)/components/components.gyp:component_metrics_proto', |
23 '<(DEPTH)/components/components.gyp:copresence_proto', | 27 '<(DEPTH)/components/components.gyp:copresence_proto', |
24 '<(DEPTH)/skia/skia.gyp:skia', | 28 '<(DEPTH)/skia/skia.gyp:skia', |
25 '<(DEPTH)/sync/sync.gyp:sync', | 29 '<(DEPTH)/sync/sync.gyp:sync', |
26 '<(DEPTH)/ui/accessibility/accessibility.gyp:ax_gen', | 30 '<(DEPTH)/ui/accessibility/accessibility.gyp:ax_gen', |
27 ], | 31 ], |
28 'conditions': [ | 32 'conditions': [ |
29 ['chromeos==1', { | 33 ['chromeos==1', { |
30 'dependencies': [ | 34 'dependencies': [ |
31 '<(DEPTH)/chrome/chrome.gyp:drive_proto', | 35 '<(DEPTH)/chrome/chrome.gyp:drive_proto', |
32 ], | 36 ], |
33 }], | 37 }], |
34 ], | 38 ], |
35 }, | 39 }, |
36 ], | 40 ], |
37 } | 41 } |
OLD | NEW |