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

Side by Side Diff: ash/BUILD.gn

Issue 1542633006: GN: Add assert that ash/BUILD.gn referenced only on supported platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: switch to use_ash Created 4 years, 12 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 | no next file » | 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 assert(use_ash)
10
9 gypi_values = exec_script("//build/gypi_to_gn.py", 11 gypi_values = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("ash.gyp") ], 12 [ rebase_path("ash.gyp") ],
11 "scope", 13 "scope",
12 [ "ash.gyp" ]) 14 [ "ash.gyp" ])
13 15
14 component("ash") { 16 component("ash") {
15 sources = gypi_values.ash_sources 17 sources = gypi_values.ash_sources
16 18
17 configs += [ "//build/config:precompiled_headers" ] 19 configs += [ "//build/config:precompiled_headers" ]
18 defines = [ "ASH_IMPLEMENTATION" ] 20 defines = [ "ASH_IMPLEMENTATION" ]
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 configs += [ "//build/config/win:windowed" ] 406 configs += [ "//build/config/win:windowed" ]
405 deps += [ "//sandbox" ] 407 deps += [ "//sandbox" ]
406 } 408 }
407 409
408 if (is_chromeos) { 410 if (is_chromeos) {
409 deps += [ "//device/bluetooth" ] 411 deps += [ "//device/bluetooth" ]
410 } 412 }
411 } 413 }
412 # When adding support for isolates, please have a look at run-time dependencies 414 # When adding support for isolates, please have a look at run-time dependencies
413 # in the ash_unittests_run target in ash.gyp. 415 # in the ash_unittests_run target in ash.gyp.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698