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

Side by Side Diff: third_party/freetype-android/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/cld_2/BUILD.gn ('k') | third_party/harfbuzz-ng/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 assert(is_android, "This library is only used on Android") 5 assert(is_android, "This library is only used on Android")
6 6
7 config("freetype_config") { 7 config("freetype_config") {
8 include_dirs = [ 8 include_dirs = [
9 "include", 9 "include",
10 "src/include", 10 "src/include",
(...skipping 24 matching lines...) Expand all
35 "src/src/autofit/autofit.c", 35 "src/src/autofit/autofit.c",
36 "src/src/truetype/truetype.c", 36 "src/src/truetype/truetype.c",
37 "src/src/cff/cff.c", 37 "src/src/cff/cff.c",
38 "src/src/psnames/psnames.c", 38 "src/src/psnames/psnames.c",
39 "src/src/pshinter/pshinter.c", 39 "src/src/pshinter/pshinter.c",
40 ] 40 ]
41 41
42 defines = [ 42 defines = [
43 "FT2_BUILD_LIBRARY", 43 "FT2_BUILD_LIBRARY",
44 "DARWIN_NO_CARBON", 44 "DARWIN_NO_CARBON",
45
45 # Long directory name to avoid accidentally using wrong headers. 46 # Long directory name to avoid accidentally using wrong headers.
46 "FT_CONFIG_MODULES_H=<freetype-android-config/ftmodule.h>", 47 "FT_CONFIG_MODULES_H=<freetype-android-config/ftmodule.h>",
47 "FT_CONFIG_OPTIONS_H=<freetype-android-config/ftoption.h>", 48 "FT_CONFIG_OPTIONS_H=<freetype-android-config/ftoption.h>",
48 ] 49 ]
49 50
50 public_configs = [ ":freetype_config" ] 51 public_configs = [ ":freetype_config" ]
51 configs -= [ "//build/config/compiler:chromium_code" ] 52 configs -= [ "//build/config/compiler:chromium_code" ]
52 configs += [ "//build/config/compiler:no_chromium_code" ] 53 configs += [ "//build/config/compiler:no_chromium_code" ]
53 54
54 deps = [ 55 deps = [
55 "//third_party/libpng", 56 "//third_party/libpng",
56 "//third_party/zlib", 57 "//third_party/zlib",
57 ] 58 ]
58 } 59 }
OLDNEW
« no previous file with comments | « third_party/cld_2/BUILD.gn ('k') | third_party/harfbuzz-ng/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698