| 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 | 19 |
| 20 # Different APIs include headers from these targets. | 20 # Different APIs include headers from these targets. |
| 21 "<(DEPTH)/content/content.gyp:content_browser", | 21 "<(DEPTH)/content/content.gyp:content_browser", |
| 22 | 22 |
| 23 # Different APIs include some headers from chrome/common that in turn | 23 # Different APIs include some headers from chrome/common that in turn |
| 24 # include generated headers from these targets. | 24 # include generated headers from these targets. |
| 25 # TODO(brettw) this should be made unnecessary if possible. | 25 # TODO(brettw) this should be made unnecessary if possible. |
| 26 '<(DEPTH)/components/components.gyp:component_metrics_proto', | 26 '<(DEPTH)/components/components.gyp:component_metrics_proto', |
| 27 '<(DEPTH)/skia/skia.gyp:skia', | 27 '<(DEPTH)/skia/skia.gyp:skia', |
| 28 '<(DEPTH)/sync/sync.gyp:sync', | 28 '<(DEPTH)/components/sync.gyp:sync', |
| 29 '<(DEPTH)/ui/accessibility/accessibility.gyp:ax_gen', | 29 '<(DEPTH)/ui/accessibility/accessibility.gyp:ax_gen', |
| 30 ], | 30 ], |
| 31 'conditions': [ | 31 'conditions': [ |
| 32 ['chromeos==1', { | 32 ['chromeos==1', { |
| 33 'dependencies': [ | 33 'dependencies': [ |
| 34 '<(DEPTH)/components/components.gyp:drive_proto', | 34 '<(DEPTH)/components/components.gyp:drive_proto', |
| 35 ], | 35 ], |
| 36 }], | 36 }], |
| 37 ], | 37 ], |
| 38 }, | 38 }, |
| 39 ], | 39 ], |
| 40 } | 40 } |
| OLD | NEW |