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

Side by Side Diff: gn/BUILDCONFIG.gn

Issue 2200833010: GN: build sfntly, icu, harfbuzz (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-08-03 (Wednesday) 17:32:27 EDT Created 4 years, 4 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
« no previous file with comments | « gn/BUILD.gn ('k') | third_party/harfbuzz/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 2016 Google Inc. 1 # Copyright 2016 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # It's best to keep the names and defaults of is_foo flags consistent with Chrom e. 6 # It's best to keep the names and defaults of is_foo flags consistent with Chrom e.
7 7
8 declare_args() { 8 declare_args() {
9 is_debug = true 9 is_debug = true
10 is_component_build = false 10 is_component_build = false
(...skipping 22 matching lines...) Expand all
33 if (is_component_build) { 33 if (is_component_build) {
34 _component_mode = "shared_library" 34 _component_mode = "shared_library"
35 } 35 }
36 36
37 target(_component_mode, target_name) { 37 target(_component_mode, target_name) {
38 forward_variables_from(invoker, "*") 38 forward_variables_from(invoker, "*")
39 } 39 }
40 } 40 }
41 41
42 # Default configs 42 # Default configs
43 _default_configs = [ "//gn:default" ] 43 default_configs = [
44 "//gn:default",
45 "//gn:no_rtti",
46 ]
44 if (!is_debug) { 47 if (!is_debug) {
45 _default_configs += [ "//gn:release" ] 48 default_configs += [ "//gn:release" ]
46 } 49 }
47 50
48 set_defaults("executable") { 51 set_defaults("executable") {
49 configs = _default_configs + [ "//gn:executable" ] 52 configs = default_configs + [ "//gn:executable" ]
50 } 53 }
51 54
52 set_defaults("source_set") { 55 set_defaults("source_set") {
53 configs = _default_configs 56 configs = default_configs
54 } 57 }
55 58
56 set_defaults("static_library") { 59 set_defaults("static_library") {
57 configs = _default_configs 60 configs = default_configs
58 } 61 }
59 62
60 set_defaults("shared_library") { 63 set_defaults("shared_library") {
61 configs = _default_configs 64 configs = default_configs
62 } 65 }
63 66
64 set_defaults("component") { 67 set_defaults("component") {
65 configs = _default_configs 68 configs = default_configs
66 } 69 }
67 70
68 # For now, we support GCC-like toolchains, including Clang. 71 # For now, we support GCC-like toolchains, including Clang.
69 set_default_toolchain("//gn:gcc_like") 72 set_default_toolchain("//gn:gcc_like")
OLDNEW
« no previous file with comments | « gn/BUILD.gn ('k') | third_party/harfbuzz/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698