OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | |
10 'version_py_path': '../tools/build/version.py', | |
11 'version_path': 'VERSION', | |
12 }, | |
13 'version_py_path': '<(version_py_path) -f', | |
14 'version_path': '<(version_path)', | |
15 | |
16 # Keep the archive builder happy. | 9 # Keep the archive builder happy. |
17 'chrome_personalization%': 1, | 10 'chrome_personalization%': 1, |
18 'use_syncapi_stub%': 0, | 11 'use_syncapi_stub%': 0, |
19 | 12 |
20 'conditions': [ | 13 'conditions': [ |
21 ['OS=="win"', { | 14 ['OS=="win"', { |
22 'python': [ | 15 'python': [ |
23 '<(DEPTH)\\third_party\\python_26\\setup_env.bat && python' | 16 '<(DEPTH)\\third_party\\python_26\\setup_env.bat && python' |
24 ], | 17 ], |
25 }, { # OS != win | 18 }, { # OS != win |
26 'python': [ | 19 'python': [ |
27 'python' | 20 'python' |
28 ], | 21 ], |
29 }], | 22 }], |
30 ], | 23 ], |
31 }, | 24 }, |
32 'includes': [ | 25 'includes': [ |
33 '../build/win_precompile.gypi', | 26 '../build/win_precompile.gypi', |
| 27 '../chrome/version.gypi', |
34 ], | 28 ], |
35 'target_defaults': { | 29 'target_defaults': { |
36 'dependencies': [ | 30 'dependencies': [ |
37 '../chrome/chrome_resources.gyp:chrome_resources', | 31 '../chrome/chrome_resources.gyp:chrome_resources', |
38 '../chrome/chrome_resources.gyp:chrome_strings', | 32 '../chrome/chrome_resources.gyp:chrome_strings', |
39 '../chrome/chrome_resources.gyp:packed_resources', | 33 '../chrome/chrome_resources.gyp:packed_resources', |
40 '../chrome/chrome_resources.gyp:theme_resources', | 34 '../chrome/chrome_resources.gyp:theme_resources', |
41 '../skia/skia.gyp:skia', | 35 '../skia/skia.gyp:skia', |
42 ], | 36 ], |
43 'defines': [ 'ISOLATION_AWARE_ENABLED=1' ], | 37 'defines': [ 'ISOLATION_AWARE_ENABLED=1' ], |
44 'include_dirs': [ | 38 'include_dirs': [ |
45 # all our own includes are relative to src/ | 39 # all our own includes are relative to src/ |
46 '..', | 40 '..', |
47 ], | 41 ], |
48 }, | 42 }, |
49 'targets': [ | 43 'targets': [ |
50 { | 44 { |
| 45 'target_name': 'chrome_frame_version_resources', |
| 46 'type': 'none', |
| 47 'conditions': [ |
| 48 ['branding == "Chrome"', { |
| 49 'variables': { |
| 50 'branding_path': '../chrome/app/theme/google_chrome/BRANDING', |
| 51 }, |
| 52 }, { # else branding!="Chrome" |
| 53 'variables': { |
| 54 'branding_path': '../chrome/app/theme/chromium/BRANDING', |
| 55 }, |
| 56 }], |
| 57 ], |
| 58 'variables': { |
| 59 'output_dir': 'chrome_frame', |
| 60 'template_input_path': 'npchrome_frame_version.rc.version', |
| 61 'extra_variable_files_arguments': [ '-f', 'BRANDING' ], |
| 62 'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above |
| 63 }, |
| 64 'direct_dependent_settings': { |
| 65 'include_dirs': [ |
| 66 '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)', |
| 67 ], |
| 68 }, |
| 69 'sources': [ |
| 70 'npchrome_frame_dll.ver', |
| 71 ], |
| 72 'includes': [ |
| 73 '../chrome/version_resource_rules.gypi', |
| 74 ], |
| 75 }, |
| 76 { |
51 # Builds the crash tests in crash_reporting. | 77 # Builds the crash tests in crash_reporting. |
52 'target_name': 'chrome_frame_crash_tests', | 78 'target_name': 'chrome_frame_crash_tests', |
53 'type': 'none', | 79 'type': 'none', |
54 'dependencies': [ | 80 'dependencies': [ |
55 'crash_reporting/crash_reporting.gyp:minidump_test', | 81 'crash_reporting/crash_reporting.gyp:minidump_test', |
56 'crash_reporting/crash_reporting.gyp:vectored_handler_tests', | 82 'crash_reporting/crash_reporting.gyp:vectored_handler_tests', |
57 ], | 83 ], |
58 }, | 84 }, |
59 { | 85 { |
60 # Builds our IDL file to the shared intermediate directory. | 86 # Builds our IDL file to the shared intermediate directory. |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 }, | 207 }, |
182 }], | 208 }], |
183 ], | 209 ], |
184 }, | 210 }, |
185 { | 211 { |
186 'target_name': 'chrome_frame_tests', | 212 'target_name': 'chrome_frame_tests', |
187 'type': 'executable', | 213 'type': 'executable', |
188 'dependencies': [ | 214 'dependencies': [ |
189 '../base/base.gyp:test_support_base', | 215 '../base/base.gyp:test_support_base', |
190 '../build/temp_gyp/googleurl.gyp:googleurl', | 216 '../build/temp_gyp/googleurl.gyp:googleurl', |
191 '../chrome/chrome.gyp:chrome_version_header', | |
192 '../chrome/chrome.gyp:common', | 217 '../chrome/chrome.gyp:common', |
193 '../chrome/chrome.gyp:utility', | 218 '../chrome/chrome.gyp:utility', |
194 '../chrome/chrome.gyp:browser', | 219 '../chrome/chrome.gyp:browser', |
195 '../chrome/chrome.gyp:debugger', | 220 '../chrome/chrome.gyp:debugger', |
196 '../chrome/chrome.gyp:renderer', | 221 '../chrome/chrome.gyp:renderer', |
197 '../chrome/chrome.gyp:test_support_common', | 222 '../chrome/chrome.gyp:test_support_common', |
198 '../chrome/installer/upgrade_test.gyp:alternate_version_generator_lib', | 223 '../chrome/installer/upgrade_test.gyp:alternate_version_generator_lib', |
199 '../content/content.gyp:content_gpu', | 224 '../content/content.gyp:content_gpu', |
200 '../net/net.gyp:net', | 225 '../net/net.gyp:net', |
201 '../net/net.gyp:net_test_support', | 226 '../net/net.gyp:net_test_support', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 'test/test_server.h', | 269 'test/test_server.h', |
245 'test/test_server_test.cc', | 270 'test/test_server_test.cc', |
246 'test/test_with_web_server.cc', | 271 'test/test_with_web_server.cc', |
247 'test/test_with_web_server.h', | 272 'test/test_with_web_server.h', |
248 'test/ui_test.cc', | 273 'test/ui_test.cc', |
249 'test/urlmon_moniker_tests.h', | 274 'test/urlmon_moniker_tests.h', |
250 'test/urlmon_moniker_integration_test.cc', | 275 'test/urlmon_moniker_integration_test.cc', |
251 'test/url_request_test.cc', | 276 'test/url_request_test.cc', |
252 'test/win_event_receiver.cc', | 277 'test/win_event_receiver.cc', |
253 'test/win_event_receiver.h', | 278 'test/win_event_receiver.h', |
254 'chrome_launcher_version.rc', | 279 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_launcher_exe_version.rc'
, |
255 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', | 280 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', |
256 'test_utils.cc', | 281 'test_utils.cc', |
257 'test_utils.h', | 282 'test_utils.h', |
258 ], | 283 ], |
259 'include_dirs': [ | 284 'include_dirs': [ |
260 '<(DEPTH)/third_party/wtl/include', | 285 '<(DEPTH)/third_party/wtl/include', |
261 '<(DEPTH)/breakpad/src', | 286 '<(DEPTH)/breakpad/src', |
262 ], | 287 ], |
263 'resource_include_dirs': [ | 288 'resource_include_dirs': [ |
264 '<(INTERMEDIATE_DIR)', | 289 '<(INTERMEDIATE_DIR)', |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 ], | 869 ], |
845 }, | 870 }, |
846 { | 871 { |
847 'target_name': 'npchrome_frame', | 872 'target_name': 'npchrome_frame', |
848 'type': 'shared_library', | 873 'type': 'shared_library', |
849 'dependencies': [ | 874 'dependencies': [ |
850 '../base/base.gyp:base', | 875 '../base/base.gyp:base', |
851 'chrome_frame_ie', | 876 'chrome_frame_ie', |
852 'chrome_frame_strings', | 877 'chrome_frame_strings', |
853 'chrome_frame_utils', | 878 'chrome_frame_utils', |
| 879 'chrome_frame_version_resources', |
854 'chrome_tab_idl', | 880 'chrome_tab_idl', |
855 'chrome_frame_launcher.gyp:chrome_launcher', | 881 'chrome_frame_launcher.gyp:chrome_launcher', |
856 'chrome_frame_launcher.gyp:chrome_frame_helper', | 882 'chrome_frame_launcher.gyp:chrome_frame_helper', |
857 'chrome_frame_launcher.gyp:chrome_frame_helper_dll', | 883 'chrome_frame_launcher.gyp:chrome_frame_helper_dll', |
858 'locales/locales.gyp:*', | 884 'locales/locales.gyp:*', |
859 '../build/temp_gyp/googleurl.gyp:googleurl', | 885 '../build/temp_gyp/googleurl.gyp:googleurl', |
860 '../chrome/chrome.gyp:chrome', | 886 '../chrome/chrome.gyp:chrome', |
861 '../chrome/chrome.gyp:chrome_dll', | 887 '../chrome/chrome.gyp:chrome_dll', |
862 '../chrome/chrome.gyp:chrome_version_resources', | 888 '../chrome/chrome.gyp:chrome_version_resources', |
863 '../chrome/chrome.gyp:common', | 889 '../chrome/chrome.gyp:common', |
864 ], | 890 ], |
865 'sources': [ | 891 'sources': [ |
866 'chrome_frame_elevation.rgs', | 892 'chrome_frame_elevation.rgs', |
867 'chrome_frame_reporting.cc', | 893 'chrome_frame_reporting.cc', |
868 'chrome_frame_reporting.h', | 894 'chrome_frame_reporting.h', |
869 'chrome_tab.cc', | 895 'chrome_tab.cc', |
870 'chrome_tab.def', | 896 'chrome_tab.def', |
871 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', | 897 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', |
| 898 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/npchrome_frame_dll_version.rc', |
872 # FIXME(slightlyoff): For chrome_tab.tlb. Giant hack until we can | 899 # FIXME(slightlyoff): For chrome_tab.tlb. Giant hack until we can |
873 # figure out something more gyp-ish. | 900 # figure out something more gyp-ish. |
874 'resources/tlb_resource.rc', | 901 'resources/tlb_resource.rc', |
875 'chrome_tab.rgs', | 902 'chrome_tab.rgs', |
876 'chrome_tab_version.rc', | |
877 'resource.h', | 903 'resource.h', |
878 ], | 904 ], |
879 'conditions': [ | 905 'conditions': [ |
880 ['OS=="win"', { | 906 ['OS=="win"', { |
881 # NOTE(slightlyoff): | 907 # NOTE(slightlyoff): |
882 # this is a fix for the include dirs length limit on the resource | 908 # this is a fix for the include dirs length limit on the resource |
883 # compiler, tickled by the xul_include_dirs variable | 909 # compiler, tickled by the xul_include_dirs variable |
884 'resource_include_dirs': [ | 910 'resource_include_dirs': [ |
885 '<(INTERMEDIATE_DIR)' | 911 '<(INTERMEDIATE_DIR)' |
886 ], | 912 ], |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1050 # Use outputs of this action as inputs for the main target build. | 1076 # Use outputs of this action as inputs for the main target build. |
1051 # Seems as a misnomer but makes this happy on Linux (scons). | 1077 # Seems as a misnomer but makes this happy on Linux (scons). |
1052 'process_outputs_as_sources': 1, | 1078 'process_outputs_as_sources': 1, |
1053 }, | 1079 }, |
1054 ], | 1080 ], |
1055 }, | 1081 }, |
1056 ], | 1082 ], |
1057 }, ], # 'coverage!=0' | 1083 }, ], # 'coverage!=0' |
1058 ], # 'conditions' | 1084 ], # 'conditions' |
1059 } | 1085 } |
OLD | NEW |