| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2013 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 'target_name': 'plugins_common', | |
| 9 'type': 'static_library', | |
| 10 'defines': [ | |
| 11 'WEBKIT_PLUGINS_IMPLEMENTATION', | |
| 12 ], | |
| 13 'include_dirs': [ | |
| 14 '<(INTERMEDIATE_DIR)', | |
| 15 '<(SHARED_INTERMEDIATE_DIR)/ui', | |
| 16 ], | |
| 17 'dependencies': [ | |
| 18 '<(DEPTH)/base/base.gyp:base_i18n', | |
| 19 '<(DEPTH)/base/base.gyp:base', | |
| 20 '<(DEPTH)/base/base.gyp:base_static', | |
| 21 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | |
| 22 '<(DEPTH)/net/net.gyp:net', | |
| 23 '<(DEPTH)/ui/ui.gyp:ui', | |
| 24 '<(DEPTH)/ui/ui.gyp:ui_resources', | |
| 25 ], | |
| 26 'sources': [ | |
| 27 '../plugins/plugin_constants.cc', | |
| 28 '../plugins/plugin_constants.h', | |
| 29 ], | |
| 30 'conditions': [ | |
| 31 ['toolkit_uses_gtk == 1', { | |
| 32 'dependencies': [ | |
| 33 '<(DEPTH)/build/linux/system.gyp:gtk', | |
| 34 ], | |
| 35 'sources/': [['exclude', '_x11\\.cc$']], | |
| 36 }], | |
| 37 ['OS!="win"', { | |
| 38 'sources/': [['exclude', '_win\\.cc$']], | |
| 39 }, { # else: OS=="win" | |
| 40 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 41 'msvs_disabled_warnings': [ 4800, 4267 ], | |
| 42 'sources/': [['exclude', '_posix\\.cc$']], | |
| 43 'include_dirs': [ | |
| 44 '<(DEPTH)/third_party/wtl/include', | |
| 45 ], | |
| 46 }], | |
| 47 ], | |
| 48 }, | |
| 49 ], | |
| 50 } | |
| 51 | |
| OLD | NEW |