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

Side by Side Diff: third_party/WebKit/Source/platform/text/CharacterPropertyDataGenerator.cpp

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO(kojii): This file is compiled with $host_toolchain, which cannot find 5 // TODO(kojii): This file is compiled with $host_toolchain, which cannot find
6 // include files in platform/fonts. The build scripts should include this 6 // include files in platform/fonts. The build scripts should include this
7 // directory, and fix these #include's to "platform/fonts/...". 7 // directory, and fix these #include's to "platform/fonts/...".
8 #include "CharacterPropertyDataGenerator.h" 8 #include "CharacterPropertyDataGenerator.h"
9 9
10 #include "CharacterProperty.h" 10 #include <stdio.h>
11 #include <cassert> 11 #include <cassert>
12 #include <cstring> 12 #include <cstring>
13 #include <memory> 13 #include <memory>
14 #include <stdio.h> 14 #include "CharacterProperty.h"
15 #if !defined(USING_SYSTEM_ICU) 15 #if !defined(USING_SYSTEM_ICU)
16 #define MUTEX_H // Prevent compile failure of utrie2.h on Windows 16 #define MUTEX_H // Prevent compile failure of utrie2.h on Windows
17 #include <utrie2.h> 17 #include <utrie2.h>
18 #endif 18 #endif
19 19
20 namespace blink { 20 namespace blink {
21 21
22 #if defined(USING_SYSTEM_ICU) 22 #if defined(USING_SYSTEM_ICU)
23 static void Generate(FILE*) {} 23 static void Generate(FILE*) {}
24 #else 24 #else
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 if (argc <= 1) { 126 if (argc <= 1) {
127 blink::Generate(stdout); 127 blink::Generate(stdout);
128 } else { 128 } else {
129 FILE* fp = fopen(argv[1], "wb"); 129 FILE* fp = fopen(argv[1], "wb");
130 blink::Generate(fp); 130 blink::Generate(fp);
131 fclose(fp); 131 fclose(fp);
132 } 132 }
133 133
134 return 0; 134 return 0;
135 } 135 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698