diff options
Diffstat (limited to 'content/content_common_child.gypi')
-rw-r--r-- | content/content_common_child.gypi | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/content/content_common_child.gypi b/content/content_common_child.gypi new file mode 100644 index 0000000..9bf78a3 --- /dev/null +++ b/content/content_common_child.gypi @@ -0,0 +1,50 @@ +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'dependencies': [ + '../base/base.gyp:base', + '../build/temp_gyp/googleurl.gyp:googleurl', + '../components/tracing.gyp:tracing', + '../ui/ui.gyp:ui', + ], + 'include_dirs': [ + '..', + ], + 'export_dependent_settings': [ + '../base/base.gyp:base', + ], + 'sources': [ + 'common_child/np_channel_base.cc', + 'common_child/np_channel_base.h', + 'common_child/npobject_base.h', + 'common_child/npobject_proxy.cc', + 'common_child/npobject_proxy.h', + 'common_child/npobject_stub.cc', + 'common_child/npobject_stub.h', + 'common_child/npobject_util.cc', + 'common_child/npobject_util.h', + 'common_child/plugin_messages.h', + 'common_child/plugin_param_traits.cc', + 'common_child/plugin_param_traits.h', + 'common_child/plugin_message_generator.cc', + 'common_child/plugin_message_generator.h', + ], + 'conditions': [ + ['OS=="ios"', { + 'sources/': [ + # iOS only needs a small portion of content; exclude all the + # implementation, and re-include what is used. + ['exclude', '\\.(cc|mm)$'], + ], + }, { # OS!="ios" + 'dependencies': [ + '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', + '../third_party/npapi/npapi.gyp:npapi', + '../webkit/support/webkit_support.gyp:glue', + '../webkit/support/webkit_support.gyp:webkit_base', + ], + }], + ], +} |