Index: test/win/linker_flags/opt-comdat.gyp |
diff --git a/test/win/linker_flags/opt-comdat.gyp b/test/win/linker_flags/opt-comdat.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e6af2f5b108c9b61a8a317d5444eba23cd0f3194 |
--- /dev/null |
+++ b/test/win/linker_flags/opt-comdat.gyp |
@@ -0,0 +1,44 @@ |
+# Copyright (c) 2012 Google Inc. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'test_comdat_default', |
+ 'product_name': 'test_comdat_default', |
+ 'type': 'executable', |
+ 'msvs_settings': { |
+ }, |
+ 'sources': [ |
+ 'hello.cc' |
+ ] |
+ }, |
+ { |
+ 'target_name': 'test_comdat_no', |
+ 'product_name': 'test_comdat_no', |
+ 'type': 'executable', |
+ 'msvs_settings': { |
+ 'VCLinkerTool': { |
+ 'EnableCOMDATFolding': '1', |
+ } |
+ }, |
+ 'sources': [ |
+ 'hello.cc' |
+ ] |
+ }, |
+ { |
+ 'target_name': 'test_comdat_yes', |
+ 'product_name': 'test_comdat_yes', |
+ 'type': 'executable', |
+ 'msvs_settings': { |
+ 'VCLinkerTool': { |
+ 'EnableCOMDATFolding': '2', |
+ }, |
+ }, |
+ 'sources': [ |
+ 'hello.cc' |
+ ] |
+ }, |
+ ] |
+} |