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