| Index: tools/gn/format_test_data/062.golden
|
| diff --git a/tools/gn/format_test_data/062.golden b/tools/gn/format_test_data/062.golden
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e939e449a057b69234cfb447328eb898c8c8bca5
|
| --- /dev/null
|
| +++ b/tools/gn/format_test_data/062.golden
|
| @@ -0,0 +1,117 @@
|
| +# Sorting, making sure we don't detach comments.
|
| +
|
| +sources = []
|
| +
|
| +sources = [
|
| + "x.cc",
|
| +]
|
| +
|
| +sources = [
|
| + "/a",
|
| + "/b",
|
| + "/c",
|
| +
|
| + # End of block.
|
| +]
|
| +
|
| +sources += [
|
| + # Start of block, separate.
|
| +
|
| + "a",
|
| + "b",
|
| + "c",
|
| +]
|
| +
|
| +sources += [
|
| + "a",
|
| + "y.cc",
|
| +
|
| + # Attached comment.
|
| + "y.h",
|
| + "y.mm",
|
| + "y.rc",
|
| + "z",
|
| + "z2",
|
| +]
|
| +
|
| +sources += [
|
| + "z",
|
| + "z2",
|
| +
|
| + # Block comment.
|
| +
|
| + "a",
|
| + "y.cc",
|
| + "y.h",
|
| + "y.mm",
|
| + "y.rc",
|
| +]
|
| +
|
| +sources += [
|
| + "z",
|
| + "z2",
|
| +
|
| + #
|
| + # Multiline block comment.
|
| + #
|
| +
|
| + "a",
|
| + "y.cc",
|
| + "y.h",
|
| + "y.mm",
|
| + "y.rc",
|
| +]
|
| +
|
| +# With identifiers.
|
| +sources += [
|
| + "a",
|
| + "b",
|
| + "c",
|
| + abcd,
|
| + some_other_thing,
|
| +]
|
| +
|
| +# With accessors.
|
| +sources += [
|
| + "a",
|
| + "b",
|
| + "c",
|
| + invoker.stuff,
|
| + wee[0],
|
| +]
|
| +
|
| +# Various separated blocks.
|
| +sources -= [
|
| + # Fix this test to build on Windows.
|
| + "focus_cycler_unittest.cc",
|
| +
|
| + # All tests for multiple displays: not supported on Windows Ash.
|
| + "wm/drag_window_resizer_unittest.cc",
|
| +
|
| + # Accelerometer is only available on Chrome OS.
|
| + "wm/maximize_mode/maximize_mode_controller_unittest.cc",
|
| +
|
| + # Can't resize on Windows Ash. http://crbug.com/165962
|
| + "autoclick/autoclick_unittest.cc",
|
| + "magnifier/magnification_controller_unittest.cc",
|
| + "sticky_keys/sticky_keys_overlay_unittest.cc",
|
| + "system/tray/media_security/multi_profile_media_tray_item_unittest.cc",
|
| + "virtual_keyboard_controller_unittest.cc",
|
| +
|
| + # Attached 1.
|
| + # Attached 2.
|
| + "wm/workspace/workspace_window_resizer_unittest.cc",
|
| +
|
| + # Separated at end.
|
| + "zzzzzzzzzzzzzz.cc",
|
| +]
|
| +
|
| +sources += [
|
| + "srtp/crypto/include/xfm.h",
|
| +
|
| + # sources
|
| + "srtp/crypto/rng/prng.c",
|
| + "srtp/crypto/rng/rand_source.c",
|
| + "srtp/srtp/ekt.c",
|
| + "srtp/srtp/srtp.c",
|
| +]
|
|
|