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

Side by Side Diff: tools/gn/BUILD.gn

Issue 46313003: Implement target visibility in GN (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 | « no previous file | tools/gn/builder.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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 defines = [ "GN_BUILD" ] 5 defines = [ "GN_BUILD" ]
6 6
7 static_library("gn_lib") { 7 static_library("gn_lib") {
8 sources = [ 8 sources = [
9 "action_target_generator.cc", 9 "action_target_generator.cc",
10 "action_target_generator.h", 10 "action_target_generator.h",
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 "toolchain.cc", 136 "toolchain.cc",
137 "toolchain.h", 137 "toolchain.h",
138 "trace.cc", 138 "trace.cc",
139 "trace.h", 139 "trace.h",
140 "value.cc", 140 "value.cc",
141 "value.h", 141 "value.h",
142 "value_extractors.cc", 142 "value_extractors.cc",
143 "value_extractors.h", 143 "value_extractors.h",
144 "variables.cc", 144 "variables.cc",
145 "variables.h", 145 "variables.h",
146 "visibility.cc",
147 "visibility.h",
146 ] 148 ]
147 149
148 deps = [ 150 deps = [
149 "//base", 151 "//base",
150 "//base/third_party/dynamic_annotations", 152 "//base/third_party/dynamic_annotations",
151 ] 153 ]
152 } 154 }
153 155
154 executable("gn") { 156 executable("gn") {
155 sources = [ 157 sources = [
(...skipping 28 matching lines...) Expand all
184 "pattern_unittest.cc", 186 "pattern_unittest.cc",
185 "scope_per_file_provider_unittest.cc", 187 "scope_per_file_provider_unittest.cc",
186 "scope_unittest.cc", 188 "scope_unittest.cc",
187 "source_dir_unittest.cc", 189 "source_dir_unittest.cc",
188 "string_utils_unittest.cc", 190 "string_utils_unittest.cc",
189 "target_generator_unittest.cc", 191 "target_generator_unittest.cc",
190 "target_unittest.cc", 192 "target_unittest.cc",
191 "test_with_scope.cc", 193 "test_with_scope.cc",
192 "test_with_scope.h", 194 "test_with_scope.h",
193 "tokenizer_unittest.cc", 195 "tokenizer_unittest.cc",
196 "visibility_unittest.cc",
194 ] 197 ]
195 deps = [ 198 deps = [
196 ":gn_lib", 199 ":gn_lib",
197 "//base/test:run_all_unittests", 200 "//base/test:run_all_unittests",
198 "//base/test:test_support_base", 201 "//base/test:test_support_base",
199 "//testing/gtest", 202 "//testing/gtest",
200 ] 203 ]
201 } 204 }
202 205
203 executable("generate_test_gn_data") { 206 executable("generate_test_gn_data") {
204 sources = [ "generate_test_gn_data.cc" ] 207 sources = [ "generate_test_gn_data.cc" ]
205 deps = [ "//base" ] 208 deps = [ "//base" ]
206 } 209 }
OLDNEW
« no previous file with comments | « no previous file | tools/gn/builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698