Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: Source/bindings/bindings.gyp

Issue 15923004: WebCorePrefix.h is only used for Mac OS X. Clean up dead code and remove including wtf/Platform.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename WebCorePrefix.h to WebCorePrefixMac.h Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 'include_dirs': [ 63 'include_dirs': [
64 # FIXME: Remove <(SHARED_INTERMEDIATE_DIR)/webcore when we 64 # FIXME: Remove <(SHARED_INTERMEDIATE_DIR)/webcore when we
65 # can entice gyp into letting us put both the .cpp and .h 65 # can entice gyp into letting us put both the .cpp and .h
66 # files in the same output directory. 66 # files in the same output directory.
67 '<(SHARED_INTERMEDIATE_DIR)/webcore', 67 '<(SHARED_INTERMEDIATE_DIR)/webcore',
68 ], 68 ],
69 'xcode_settings': { 69 'xcode_settings': {
70 # Some Mac-specific parts of WebKit won't compile without having this 70 # Some Mac-specific parts of WebKit won't compile without having this
71 # prefix header injected. 71 # prefix header injected.
72 # FIXME: make this a first-class setting. 72 # FIXME: make this a first-class setting.
73 'GCC_PREFIX_HEADER': '../core/WebCorePrefix.h', 73 'GCC_PREFIX_HEADER': '../core/WebCorePrefixMac.h',
74 }, 74 },
75 'sources': [ 75 'sources': [
76 '<@(derived_sources_aggregate_files)', 76 '<@(derived_sources_aggregate_files)',
77 '<@(bindings_files)', 77 '<@(bindings_files)',
78 ], 78 ],
79 'conditions': [ 79 'conditions': [
80 ['OS=="win"', { 80 ['OS=="win"', {
81 # In generated bindings code: 'switch contains default but no case'. 81 # In generated bindings code: 'switch contains default but no case'.
82 # Disable c4267 warnings until we fix size_t to int truncations. 82 # Disable c4267 warnings until we fix size_t to int truncations.
83 'msvs_disabled_warnings': [ 4065, 4267 ], 83 'msvs_disabled_warnings': [ 4065, 4267 ],
84 }], 84 }],
85 ['OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_def ines', { 85 ['OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_def ines', {
86 'cflags': [ 86 'cflags': [
87 '<!@(pkg-config --cflags-only-I ipp)', 87 '<!@(pkg-config --cflags-only-I ipp)',
88 ], 88 ],
89 }], 89 }],
90 ], 90 ],
91 }, 91 },
92 ], 92 ],
93 } 93 }
OLDNEW
« no previous file with comments | « no previous file | Source/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698