OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 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 15 matching lines...) Expand all Loading... |
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 # | 29 # |
30 { | 30 { |
31 'includes': [ | 31 'includes': [ |
32 '../build/win/precompile.gypi', | 32 '../build/win/precompile.gypi', |
33 'blink_platform.gypi', | 33 'blink_platform.gypi', |
34 ], | 34 ], |
35 'targets': [{ | 35 'targets': [{ |
| 36 'target_name': 'blink_common', |
| 37 'type': '<(component)', |
| 38 'variables': { 'enable_wexit_time_destructors': 1 }, |
| 39 'dependencies': [ |
| 40 '../config.gyp:config', |
| 41 '../wtf/wtf.gyp:wtf', |
| 42 # FIXME: Can we remove the dependencies on V8 and Skia? |
| 43 '<(DEPTH)/skia/skia.gyp:skia', |
| 44 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 45 ], |
| 46 'export_dependent_settings': [ |
| 47 '<(DEPTH)/skia/skia.gyp:skia', |
| 48 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 49 ], |
| 50 'defines': [ |
| 51 'BLINK_COMMON_IMPLEMENTATION=1', |
| 52 'INSIDE_BLINK', |
| 53 ], |
| 54 'sources': [ |
| 55 'exported/WebCString.cpp', |
| 56 'exported/WebString.cpp', |
| 57 'exported/WebCommon.cpp', |
| 58 ], |
| 59 }, { |
36 'target_name': 'blink_platform', | 60 'target_name': 'blink_platform', |
37 'type': '<(component)', | 61 'type': '<(component)', |
38 'dependencies': [ | 62 'dependencies': [ |
39 '../config.gyp:config', | 63 '../config.gyp:config', |
| 64 '../wtf/wtf.gyp:wtf', |
40 '../weborigin/weborigin.gyp:weborigin', | 65 '../weborigin/weborigin.gyp:weborigin', |
41 '../wtf/wtf.gyp:wtf', | 66 'blink_common', |
42 ], | 67 ], |
43 'defines': [ | 68 'defines': [ |
44 'BLINK_PLATFORM_IMPLEMENTATION=1', | 69 'BLINK_PLATFORM_IMPLEMENTATION=1', |
45 'INSIDE_BLINK', | 70 'INSIDE_BLINK', |
46 ], | 71 ], |
47 'sources': [ | 72 'sources': [ |
48 '<@(platform_files)', | 73 '<@(platform_files)', |
49 ], | 74 ], |
50 }], | 75 }], |
51 } | 76 } |
OLD | NEW |