Clarify and update GN build flags docs.
[chromium-blink-merge.git] / components / chrome_apps / BUILD.gn
bloba5595001f2ab2043b61e8fa4587693a89344a69e
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.
5 import("//tools/grit/grit_rule.gni")
7 grit("resources") {
8   source = "chrome_apps_resources.grd"
9   outputs = [
10     "grit/chrome_apps_resources.h",
11     "grit/chrome_apps_resources_map.cc",
12     "grit/chrome_apps_resources_map.h",
13     "chrome_apps_resources.pak",
14     "chrome_apps_resources.rc",
15   ]
18 component("chrome_apps") {
19   sources = [
20     "chrome_apps_export.h",
21     "chrome_apps_resource_util.cc",
22     "chrome_apps_resource_util.h",
23   ]
24   deps = [
25     "//base",
26     ":resources",
27   ]
28   defines = [ "CHROME_APPS_IMPLEMENTATION" ]