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

Side by Side Diff: ash/BUILD.gn

Issue 1250273002: Add precompiled headers to GN build for large targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mergey-wergey Created 5 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 | « no previous file | base/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 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 gypi_values = exec_script("//build/gypi_to_gn.py", 9 gypi_values = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("ash.gyp") ], 10 [ rebase_path("ash.gyp") ],
11 "scope", 11 "scope",
12 [ "ash.gyp" ]) 12 [ "ash.gyp" ])
13 13
14 component("ash") { 14 component("ash") {
15 sources = gypi_values.ash_sources 15 sources = gypi_values.ash_sources
16 16
17 configs += [ "//build/config:precompiled_headers" ]
17 defines = [ "ASH_IMPLEMENTATION" ] 18 defines = [ "ASH_IMPLEMENTATION" ]
18 19
19 public_deps = [ 20 public_deps = [
20 "//ash/resources", 21 "//ash/resources",
21 "//ash/strings", 22 "//ash/strings",
22 ] 23 ]
23 deps = [ 24 deps = [
24 "//base", 25 "//base",
25 "//base:i18n", 26 "//base:i18n",
26 "//base/third_party/dynamic_annotations", 27 "//base/third_party/dynamic_annotations",
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 "//ui/gfx/geometry", 167 "//ui/gfx/geometry",
167 "//ui/resources", 168 "//ui/resources",
168 "//ui/strings", 169 "//ui/strings",
169 "//ui/views", 170 "//ui/views",
170 "//ui/views/controls/webview", 171 "//ui/views/controls/webview",
171 "//ui/web_dialogs", 172 "//ui/web_dialogs",
172 "//url", 173 "//url",
173 ] 174 ]
174 } 175 }
175 176
176 static_library("test_support") { 177 source_set("test_support") {
177 testonly = true 178 testonly = true
178 sources = gypi_values.ash_test_support_sources 179 sources = gypi_values.ash_test_support_sources
180 configs += [ "//build/config:precompiled_headers" ]
179 181
180 public_deps = [ 182 public_deps = [
181 ":ash", 183 ":ash",
182 ] 184 ]
183 deps = [ 185 deps = [
184 "//ash/resources", 186 "//ash/resources",
185 "//content/test:test_support", 187 "//content/test:test_support",
186 "//skia", 188 "//skia",
187 "//testing/gtest", 189 "//testing/gtest",
188 "//ui/accessibility", 190 "//ui/accessibility",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 "//ui/resources", 246 "//ui/resources",
245 "//ui/views", 247 "//ui/views",
246 "//ui/views:test_support", 248 "//ui/views:test_support",
247 "//ui/views/examples:views_examples_lib", 249 "//ui/views/examples:views_examples_lib",
248 "//ui/views/examples:views_examples_with_content_lib", 250 "//ui/views/examples:views_examples_with_content_lib",
249 ] 251 ]
250 } 252 }
251 253
252 test("ash_unittests") { 254 test("ash_unittests") {
253 sources = gypi_values.ash_unittests_sources 255 sources = gypi_values.ash_unittests_sources
256 configs += [ "//build/config:precompiled_headers" ]
254 257
255 deps = [ 258 deps = [
256 ":ash", 259 ":ash",
257 ":ash_with_content", 260 ":ash_with_content",
258 ":test_support", 261 ":test_support",
259 "//ash/resources", 262 "//ash/resources",
260 "//ash/strings", 263 "//ash/strings",
261 "//base", 264 "//base",
262 "//base/allocator", 265 "//base/allocator",
263 "//base/test:test_support", 266 "//base/test:test_support",
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 "//testing/gtest", 395 "//testing/gtest",
393 "//ui/accessibility", 396 "//ui/accessibility",
394 ] 397 ]
395 398
396 if (is_chromeos) { 399 if (is_chromeos) {
397 deps += [ "//ui/display" ] 400 deps += [ "//ui/display" ]
398 } 401 }
399 } 402 }
400 # When adding support for isolates, please have a look at run-time dependencies 403 # When adding support for isolates, please have a look at run-time dependencies
401 # in the ash_unittests_run target in ash.gyp. 404 # in the ash_unittests_run target in ash.gyp.
OLDNEW
« no previous file with comments | « no previous file | base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698