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

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

Issue 231813002: Improve GN public header file checking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « BUILD.gn ('k') | tools/gn/c_include_iterator.h » ('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 (c) 2014 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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_linux, "This file should only be depended on from Linux.")
6
5 config("freetype2_config") { 7 config("freetype2_config") {
6 include_dirs = [ "include", "src/include" ] 8 include_dirs = [ "include", "src/include" ]
7 } 9 }
8 10
9 shared_library("freetype2") { 11 shared_library("freetype2") {
10 output_name = "freetype" 12 output_name = "freetype"
11 output_extension = "so.6" 13 output_extension = "so.6"
12 14
13 sources = [ 15 sources = [
14 "src/src/autofit/autofit.c", 16 "src/src/autofit/autofit.c",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 ] 63 ]
62 64
63 configs -= [ "//build/config/compiler:chromium_code" ] 65 configs -= [ "//build/config/compiler:chromium_code" ]
64 configs += [ "//build/config/compiler:no_chromium_code" ] 66 configs += [ "//build/config/compiler:no_chromium_code" ]
65 configs += [ ":freetype2_config" ] 67 configs += [ ":freetype2_config" ]
66 68
67 direct_dependent_configs = [ ":freetype2_config" ] 69 direct_dependent_configs = [ ":freetype2_config" ]
68 70
69 libs = [ "z" ] 71 libs = [ "z" ]
70 } 72 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | tools/gn/c_include_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698