| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//components/webui_generator/generator/wug.gni") | |
| 6 import("//tools/grit/grit_rule.gni") | |
| 7 | |
| 8 wug("oobe_wug_generated") { | |
| 9 source = "declarations/oobe.json" | |
| 10 } | |
| 11 | |
| 12 grit("resources") { | |
| 13 source = "oobe_resources.grd" | |
| 14 outputs = [ | |
| 15 "grit/oobe_resources.h", | |
| 16 "grit/oobe_resources_map.cc", | |
| 17 "grit/oobe_resources_map.h", | |
| 18 "oobe_resources.pak", | |
| 19 "oobe_resources.rc", | |
| 20 ] | |
| 21 } | |
| 22 | |
| 23 group("oobe_gen") { | |
| 24 public_deps = [ | |
| 25 ":oobe_wug_generated", | |
| 26 "//components/webui_generator", | |
| 27 ] | |
| 28 } | |
| 29 | |
| 30 component("oobe") { | |
| 31 sources = [ | |
| 32 "oobe_export.h", | |
| 33 "oobe_md_ui.cc", | |
| 34 "oobe_md_ui.h", | |
| 35 ] | |
| 36 | |
| 37 defines = [ "OOBE_IMPLEMENTATION" ] | |
| 38 | |
| 39 deps = [ | |
| 40 "//base", | |
| 41 ":resources", | |
| 42 ":oobe_gen", | |
| 43 ] | |
| 44 | |
| 45 public_deps = [ | |
| 46 "//content/public/browser", | |
| 47 ] | |
| 48 } | |
| OLD | NEW |