| OLD | NEW |
| 1 # | 1 # |
| 2 # Copyright (C) 2011 Google Inc. All rights reserved. | 2 # Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 }, | 49 }, |
| 50 }, | 50 }, |
| 51 'targets': [ | 51 'targets': [ |
| 52 { | 52 { |
| 53 'target_name': 'blink_web', | 53 'target_name': 'blink_web', |
| 54 'type': '<(component)', | 54 'type': '<(component)', |
| 55 'variables': { 'enable_wexit_time_destructors': 1, }, | 55 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 56 'dependencies': [ | 56 'dependencies': [ |
| 57 '../config.gyp:config', | 57 '../config.gyp:config', |
| 58 '../platform/blink_platform.gyp:blink_common', | 58 '../platform/blink_platform.gyp:blink_common', |
| 59 '../core/core.gyp:webcore', |
| 59 '../modules/modules.gyp:modules', | 60 '../modules/modules.gyp:modules', |
| 60 '<(DEPTH)/skia/skia.gyp:skia', | 61 '<(DEPTH)/skia/skia.gyp:skia', |
| 61 '<(angle_path)/src/angle.gyp:translator', | 62 '<(angle_path)/src/angle.gyp:translator', |
| 62 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 63 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 63 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 64 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
| 64 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 65 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 65 ], | 66 ], |
| 66 'export_dependent_settings': [ | 67 'export_dependent_settings': [ |
| 67 '<(DEPTH)/skia/skia.gyp:skia', | 68 '<(DEPTH)/skia/skia.gyp:skia', |
| 68 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 69 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 69 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 70 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
| 70 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 71 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 71 ], | 72 ], |
| 72 'include_dirs': [ | 73 'include_dirs': [ |
| 73 '<(angle_path)/include', | 74 '<(angle_path)/include', |
| 74 '<(DEPTH)/third_party/skia/include/utils', | 75 '<(DEPTH)/third_party/skia/include/utils', |
| 75 ], | 76 ], |
| 76 'defines': [ | 77 'defines': [ |
| 77 'BLINK_IMPLEMENTATION=1', | 78 'BLINK_IMPLEMENTATION=1', |
| 78 'INSIDE_BLINK', | 79 'INSIDE_BLINK', |
| 79 ], | 80 ], |
| 80 'sources': [ | 81 'sources': [ |
| 81 '<@(web_files)', | 82 '<@(web_files)', |
| 82 ], | 83 ], |
| 83 'conditions': [ | 84 'conditions': [ |
| 84 ['component=="shared_library"', { | 85 ['component=="shared_library"', { |
| 85 'dependencies': [ | 86 'dependencies': [ |
| 87 '../core/core.gyp:webcore_generated', |
| 88 '../core/core.gyp:webcore_testing', |
| 89 '../modules/modules.gyp:modules_testing', |
| 86 '../wtf/wtf_tests.gyp:wtf_unittest_helpers', | 90 '../wtf/wtf_tests.gyp:wtf_unittest_helpers', |
| 87 '<(DEPTH)/base/base.gyp:test_support_base', | 91 '<(DEPTH)/base/base.gyp:test_support_base', |
| 88 '<(DEPTH)/testing/gmock.gyp:gmock', | 92 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 89 '<(DEPTH)/testing/gtest.gyp:gtest', | 93 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 90 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 94 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 91 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | 95 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 92 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', | 96 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', |
| 93 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', | 97 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', |
| 98 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', |
| 99 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt', |
| 94 '<(DEPTH)/third_party/modp_b64/modp_b64.gyp:modp_b64', | 100 '<(DEPTH)/third_party/modp_b64/modp_b64.gyp:modp_b64', |
| 95 '<(DEPTH)/third_party/ots/ots.gyp:ots', | 101 '<(DEPTH)/third_party/ots/ots.gyp:ots', |
| 96 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', | 102 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', |
| 97 '<(DEPTH)/url/url.gyp:url_lib', | 103 '<(DEPTH)/url/url.gyp:url_lib', |
| 98 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 104 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 99 '<(libjpeg_gyp_path):libjpeg', | 105 '<(libjpeg_gyp_path):libjpeg', |
| 100 # We must not add webkit_support here because of cyclic
dependency. | 106 # We must not add webkit_support here because of cyclic
dependency. |
| 101 ], | 107 ], |
| 102 'export_dependent_settings': [ | 108 'export_dependent_settings': [ |
| 103 '<(DEPTH)/url/url.gyp:url_lib', | 109 '<(DEPTH)/url/url.gyp:url_lib', |
| (...skipping 17 matching lines...) Expand all Loading... |
| 121 '<@(platform_web_unittest_files)', | 127 '<@(platform_web_unittest_files)', |
| 122 '<@(web_unittest_files)', | 128 '<@(web_unittest_files)', |
| 123 'WebTestingSupport.cpp', | 129 'WebTestingSupport.cpp', |
| 124 ], | 130 ], |
| 125 'conditions': [ | 131 'conditions': [ |
| 126 ['use_openssl==0 and (OS=="win" or OS=="mac")', { | 132 ['use_openssl==0 and (OS=="win" or OS=="mac")', { |
| 127 'dependencies': [ | 133 'dependencies': [ |
| 128 '<(DEPTH)/third_party/nss/nss.gyp:*', | 134 '<(DEPTH)/third_party/nss/nss.gyp:*', |
| 129 ], | 135 ], |
| 130 }], | 136 }], |
| 131 ['link_core_modules_separately==1', { | |
| 132 'dependencies': [ | |
| 133 # webcore_shared has dependencies: | |
| 134 # webcore_generated and webcore_testing. | |
| 135 # So no need to add webcore_testing here. | |
| 136 '../core/core.gyp:webcore_shared', | |
| 137 '../platform/blink_platform.gyp:blink_common', | |
| 138 '../platform/blink_platform.gyp:blink_platform', | |
| 139 '../wtf/wtf.gyp:wtf', | |
| 140 ], | |
| 141 }, { | |
| 142 'dependencies': [ | |
| 143 '../core/core.gyp:webcore', | |
| 144 '../core/core.gyp:webcore_testing', | |
| 145 '../modules/modules.gyp:modules_testing', | |
| 146 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', | |
| 147 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxsl
t', | |
| 148 ], | |
| 149 }] | |
| 150 ], | 137 ], |
| 151 'msvs_settings': { | 138 'msvs_settings': { |
| 152 'VCLinkerTool': { | 139 'VCLinkerTool': { |
| 153 'conditions': [ | 140 'conditions': [ |
| 154 ['incremental_chrome_dll==1', { | 141 ['incremental_chrome_dll==1', { |
| 155 'UseLibraryDependencyInputs': "true", | 142 'UseLibraryDependencyInputs': "true", |
| 156 }], | 143 }], |
| 157 ], | 144 ], |
| 158 }, | 145 }, |
| 159 }, | 146 }, |
| 160 }, { | |
| 161 # component=="static_library" | |
| 162 'dependencies': [ | |
| 163 # webcore has dependencies: webcore_generated and | |
| 164 # webcore_testing. | |
| 165 '../core/core.gyp:webcore', | |
| 166 ], | |
| 167 }], | 147 }], |
| 168 ['OS == "linux"', { | 148 ['OS == "linux"', { |
| 169 'dependencies': [ | 149 'dependencies': [ |
| 170 '<(DEPTH)/build/linux/system.gyp:fontconfig', | 150 '<(DEPTH)/build/linux/system.gyp:fontconfig', |
| 171 ], | 151 ], |
| 172 }, { | 152 }, { |
| 173 'sources/': [ | 153 'sources/': [ |
| 174 ['exclude', 'linux/'], | 154 ['exclude', 'linux/'], |
| 175 ], | 155 ], |
| 176 }], | 156 }], |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 { | 208 { |
| 229 # GN version: //third_party/WebKit/Source/web:test_support | 209 # GN version: //third_party/WebKit/Source/web:test_support |
| 230 'target_name': 'blink_web_test_support', | 210 'target_name': 'blink_web_test_support', |
| 231 'conditions': [ | 211 'conditions': [ |
| 232 ['component=="shared_library"', { | 212 ['component=="shared_library"', { |
| 233 'type': 'none', | 213 'type': 'none', |
| 234 }, { | 214 }, { |
| 235 'type': 'static_library', | 215 'type': 'static_library', |
| 236 'dependencies': [ | 216 'dependencies': [ |
| 237 '../config.gyp:config', | 217 '../config.gyp:config', |
| 218 '../core/core.gyp:webcore_generated', |
| 238 '../core/core.gyp:webcore_testing', | 219 '../core/core.gyp:webcore_testing', |
| 239 '../modules/modules.gyp:modules_testing', | 220 '../modules/modules.gyp:modules_testing', |
| 240 '../wtf/wtf.gyp:wtf', | 221 '../wtf/wtf.gyp:wtf', |
| 241 '<(DEPTH)/skia/skia.gyp:skia', | 222 '<(DEPTH)/skia/skia.gyp:skia', |
| 242 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 223 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 243 ], | 224 ], |
| 244 'include_dirs': [ | 225 'include_dirs': [ |
| 245 '../../', | 226 '../../', |
| 246 '<(SHARED_INTERMEDIATE_DIR)/blink', # gen/blink | 227 '<(SHARED_INTERMEDIATE_DIR)/blink', # gen/blink |
| 247 ], | 228 ], |
| (...skipping 20 matching lines...) Expand all Loading... |
| 268 'dependencies': ['<(DEPTH)/third_party/mesa/mesa.gyp:osmesa'
], | 249 'dependencies': ['<(DEPTH)/third_party/mesa/mesa.gyp:osmesa'
], |
| 269 'copies': [{ | 250 'copies': [{ |
| 270 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Conten
ts/MacOS/', | 251 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Conten
ts/MacOS/', |
| 271 'files': ['<(PRODUCT_DIR)/osmesa.so'], | 252 'files': ['<(PRODUCT_DIR)/osmesa.so'], |
| 272 }], | 253 }], |
| 273 }, | 254 }, |
| 274 ], | 255 ], |
| 275 }], | 256 }], |
| 276 ], # conditions | 257 ], # conditions |
| 277 } | 258 } |
| OLD | NEW |