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

Unified Diff: Source/config.gyp

Issue 16066003: Add wtf_unittests target that links unit tests outside DLL (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add base dependency for allocator target 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/bindings.gyp ('k') | Source/core/core.gyp/core.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/config.gyp
diff --git a/Source/config.gyp b/Source/config.gyp
index a24b5f04b72e8cec44d2542ae71efccaa6a9d6c5..dcbd430568019cc6ed7d1951fc93121d4b834f5b 100644
--- a/Source/config.gyp
+++ b/Source/config.gyp
@@ -33,12 +33,13 @@
# size of the binary and increasing the speed of gdb. gcc only.
'remove_webcore_debug_symbols%': 0,
},
- 'targets': [{
+ 'targets': [
+ {
'target_name': 'config',
'type': 'none',
'direct_dependent_settings': {
- 'defines': [
- 'WEBKIT_IMPLEMENTATION=1',
+ 'include_dirs': [
+ '.'
],
'msvs_disabled_warnings': [
4138, 4244, 4291, 4305, 4344, 4355, 4521, 4099,
@@ -76,5 +77,26 @@
}],
],
},
- }],
+ },
+ {
+ 'target_name': 'unittest_config',
+ 'type': 'none',
+ 'dependencies': [
+ 'config',
+ '<(DEPTH)/testing/gmock.gyp:gmock',
+ '<(DEPTH)/testing/gtest.gyp:gtest',
+ ],
+ 'export_dependent_settings': [
+ 'config',
+ '<(DEPTH)/testing/gmock.gyp:gmock',
+ '<(DEPTH)/testing/gtest.gyp:gtest',
+ ],
+ 'direct_dependent_settings': {
+ 'cflags!': ['-Wglobal-constructors'],
+ 'xcode_settings': {
+ 'WARNING_CFLAGS!': ['-Wglobal-constructors'],
+ },
+ },
+ }
+ ],
}
« no previous file with comments | « Source/bindings/bindings.gyp ('k') | Source/core/core.gyp/core.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698