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