summaryrefslogtreecommitdiffstats
path: root/ceee/common/common.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'ceee/common/common.gyp')
-rw-r--r--ceee/common/common.gyp106
1 files changed, 106 insertions, 0 deletions
diff --git a/ceee/common/common.gyp b/ceee/common/common.gyp
new file mode 100644
index 0000000..ce8cc2b
--- /dev/null
+++ b/ceee/common/common.gyp
@@ -0,0 +1,106 @@
+# Copyright (c) 2010 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.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'includes': [
+ '../../build/common.gypi',
+ '../../ceee/common.gypi',
+ ],
+ 'target_defaults': {
+ 'include_dirs': [
+ '../..',
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'initializing_coclass',
+ 'type': 'none',
+ 'sources': [
+ 'initializing_coclass.h',
+ 'initializing_coclass.py',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'make_initializing_coclass',
+ 'msvs_cygwin_shell': 0,
+ 'msvs_quote_cmd': 0,
+ 'inputs': [
+ 'initializing_coclass.py',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/initializing_coclass_gen.inl',
+ ],
+ 'action': [
+ '<@(python)',
+ 'initializing_coclass.py',
+ '"<(SHARED_INTERMEDIATE_DIR)/initializing_coclass_gen.inl"',
+ ],
+ },
+ ],
+ # All who use this need to be able to find the .inl file we generate.
+ 'all_dependent_settings': {
+ 'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)'],
+ },
+ },
+ {
+ 'target_name': 'ceee_common',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'initializing_coclass',
+ '../../base/base.gyp:base',
+ '../../testing/gmock.gyp:gmock',
+ '../../third_party/npapi/npapi.gyp:npapi',
+ ],
+ 'msvs_guid': '4BAB6049-29A7-47C2-A754-14CA3FBF5BD9',
+ 'sources': [
+ 'com_utils.cc',
+ 'com_utils.h',
+ 'initializing_coclass.h',
+ 'install_utils.cc',
+ 'install_utils.h',
+ 'np_browser_functions.cc',
+ 'np_browser_functions.h',
+ 'npobject_impl.cc',
+ 'npobject_impl.h',
+ 'npplugin_impl.cc',
+ 'npplugin_impl.h',
+ 'process_utils_win.cc',
+ 'process_utils_win.h',
+ 'sidestep_integration.cc',
+ 'windows_constants.cc',
+ 'windows_constants.h',
+ 'window_utils.cc',
+ 'window_utils.h',
+ ],
+ },
+ {
+ 'target_name': 'ceee_common_unittests',
+ 'type': 'executable',
+ 'msvs_guid': 'A6DF7E24-63DF-47E6-BA72-423FCA8AC36D',
+ 'sources': [
+ 'com_utils_unittest.cc',
+ 'common_unittest_main.cc',
+ 'initializing_coclass_unittest.cc',
+ 'install_utils_unittest.cc',
+ 'npobject_impl_unittest.cc',
+ 'npplugin_impl_unittest.cc',
+ 'process_utils_win_unittest.cc',
+ 'sidestep_unittest.cc',
+ 'window_utils_unittest.cc',
+ ],
+ 'dependencies': [
+ 'ceee_common',
+ '<(DEPTH)/ceee/testing/sidestep/sidestep.gyp:sidestep',
+ '../testing/utils/test_utils.gyp:test_utils',
+ '../../base/base.gyp:base',
+ '../../testing/gmock.gyp:gmock',
+ '../../testing/gtest.gyp:gtest',
+ '../../third_party/npapi/npapi.gyp:npapi',
+ ],
+ }
+ ]
+}