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

Side by Side Diff: third_party/cld_2/BUILD.gn

Issue 1415753003: gn format everything. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert freetype-android change Created 5 years, 1 month 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 | « third_party/WebKit/public/BUILD.gn ('k') | third_party/freetype-android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 declare_args() { 7 declare_args() {
8 if (is_android || is_ios) { 8 if (is_android || is_ios) {
9 cld2_table_size = 0 # Small, accurate tables 9 cld2_table_size = 0 # Small, accurate tables
10 } else { 10 } else {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 public_deps += [ ":cld2_dynamic" ] 91 public_deps += [ ":cld2_dynamic" ]
92 } 92 }
93 } 93 }
94 94
95 config("cld2_warnings") { 95 config("cld2_warnings") {
96 if (is_clang) { 96 if (is_clang) {
97 cflags = [ 97 cflags = [
98 # cld_2 contains unused private fields. 98 # cld_2 contains unused private fields.
99 # https://code.google.com/p/cld2/issues/detail?id=37 99 # https://code.google.com/p/cld2/issues/detail?id=37
100 "-Wno-unused-private-field", 100 "-Wno-unused-private-field",
101
101 # offsetmap.cc uses a char as a subscript. 102 # offsetmap.cc uses a char as a subscript.
102 "-Wno-char-subscripts", 103 "-Wno-char-subscripts",
103 ] 104 ]
104 } 105 }
105 } 106 }
106 107
107 static_library("cld2_static") { 108 static_library("cld2_static") {
108 sources = gypi_values.cld2_core_impl_sources 109 sources = gypi_values.cld2_core_impl_sources
109 include_dirs = [ 110 include_dirs = [
110 "src/internal", 111 "src/internal",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 "//build/config/sanitizers:deps", 163 "//build/config/sanitizers:deps",
163 ] 164 ]
164 165
165 configs -= [ "//build/config/compiler:chromium_code" ] 166 configs -= [ "//build/config/compiler:chromium_code" ]
166 configs += [ 167 configs += [
167 ":cld2_dynamic_mode_config", 168 ":cld2_dynamic_mode_config",
168 "//build/config/compiler:no_chromium_code", 169 "//build/config/compiler:no_chromium_code",
169 ] 170 ]
170 } 171 }
171 } 172 }
OLDNEW
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/freetype-android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698