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