OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../../../../build/common.gypi', | 10 '../../../../build/common.gypi', |
11 '../../../../ceee/common.gypi', | 11 '../../../../ceee/common.gypi', |
12 ], | 12 ], |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'scripting', | 15 'target_name': 'scripting', |
16 'type': 'static_library', | 16 'type': 'static_library', |
17 'dependencies': [ | 17 'dependencies': [ |
18 'javascript_bindings', | 18 'javascript_bindings', |
19 '../../common/common.gyp:ie_common', | 19 '<(DEPTH)/base/base.gyp:base', |
20 '../../common/common.gyp:ie_common_settings', | 20 '<(DEPTH)/ceee/common/common.gyp:ceee_common', |
21 '../toolband/toolband.gyp:toolband_idl', | 21 '<(DEPTH)/ceee/common/common.gyp:initializing_coclass', |
22 '../../../../base/base.gyp:base', | 22 '<(DEPTH)/ceee/ie/common/common.gyp:ie_common', |
23 '../../../../ceee/common/common.gyp:ceee_common', | 23 '<(DEPTH)/ceee/ie/common/common.gyp:ie_common_settings', |
24 '../../../../ceee/common/common.gyp:initializing_coclass', | 24 '<(DEPTH)/ceee/ie/plugin/toolband/toolband.gyp:toolband_idl', |
| 25 '<(DEPTH)/chrome/chrome.gyp:chrome_version_header', |
25 ], | 26 ], |
26 'sources': [ | 27 'sources': [ |
27 'base.js', | 28 'base.js', |
28 'ceee_bootstrap.js', | 29 'ceee_bootstrap.js', |
29 'json.js', | 30 'json.js', |
30 'content_script_manager.cc', | 31 'content_script_manager.cc', |
31 'content_script_manager.h', | 32 'content_script_manager.h', |
32 'content_script_manager.rc', | 33 'content_script_manager.rc', |
33 'content_script_native_api.cc', | 34 'content_script_native_api.cc', |
34 'content_script_native_api.h', | 35 'content_script_native_api.h', |
35 'script_host.cc', | 36 'script_host.cc', |
36 'script_host.h', | 37 'script_host.h', |
37 'userscripts_librarian.cc', | 38 'userscripts_librarian.cc', |
38 'userscripts_librarian.h', | 39 'userscripts_librarian.h', |
39 'userscripts_docs.h', | 40 'userscripts_docs.h', |
40 ], | 41 ], |
| 42 'include_dirs': [ |
| 43 # For version.h |
| 44 '<(SHARED_INTERMEDIATE_DIR)', |
| 45 ], |
41 }, | 46 }, |
42 { | 47 { |
43 'target_name': 'javascript_bindings', | 48 'target_name': 'javascript_bindings', |
44 'type': 'none', | 49 'type': 'none', |
45 'variables': { | 50 'variables': { |
46 'chrome_renderer_path' : '../../../../chrome/renderer', | 51 'chrome_renderer_path' : '../../../../chrome/renderer', |
47 'input_js_files': [ | 52 'input_js_files': [ |
48 '<(chrome_renderer_path)/resources/event_bindings.js', | 53 '<(chrome_renderer_path)/resources/event_bindings.js', |
49 '<(chrome_renderer_path)/resources/renderer_extension_bindings.js', | 54 '<(chrome_renderer_path)/resources/renderer_extension_bindings.js', |
50 ], | 55 ], |
(...skipping 27 matching lines...) Expand all Loading... |
78 }, | 83 }, |
79 ], | 84 ], |
80 # Make sure our dependents can refer to the transformed | 85 # Make sure our dependents can refer to the transformed |
81 # files from their .rc file(s). | 86 # files from their .rc file(s). |
82 'direct_dependent_settings': { | 87 'direct_dependent_settings': { |
83 'resource_include_dirs': ['<(SHARED_INTERMEDIATE_DIR)'], | 88 'resource_include_dirs': ['<(SHARED_INTERMEDIATE_DIR)'], |
84 }, | 89 }, |
85 }, | 90 }, |
86 ] | 91 ] |
87 } | 92 } |
OLD | NEW |