| OLD | NEW |
| 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 Loading... |
| 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. |
| OLD | NEW |