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: //extensions/browser/api 9 'target_name': 'extensions_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/api/schemas.gypi', 16 ], 17 'dependencies': [ 18 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api', 19 ], 20 'conditions': [ 21 ['enable_extensions==1', { 22 'dependencies': [ 23 '<(DEPTH)/device/serial/serial.gyp:device_serial_mojo', 24 '<(DEPTH)/extensions/common/api/api.gyp:cast_channel_proto', 25 '<(DEPTH)/skia/skia.gyp:skia', 26 ], 27 }], 28 ], 29 }, 30 ], 31 } 32