Commit 04249584 authored by tfarina@chromium.org's avatar tfarina@chromium.org

Add the BUILD files for content_resources.

- Add GN build file (BUILD.gn) for content_resources target
(//content/app/resources).
- Add GRD file for grit (content_resources.grd).
- Add GYP file (content_resources.gyp) to generate the grit header file
from content_resources.grd

Not hooked up yet, this will come in the next CL.

BUG=338338
TEST=None
R=avi@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/475223004

Cr-Commit-Position: refs/heads/master@{#290150}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290150 0039d316-1c4b-4281-b951-d872f2087c98
parent b8cabd0c
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//tools/grit/grit_rule.gni")
grit("resources") {
source = "content_resources.grd"
outputs = [
"grit/content_resources.h",
"content_resources_100_percent.pak",
"content_resources_200_percent.pak",
]
}
This diff is collapsed.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
# GN version: //content/app/resources
'target_name': 'content_resources',
'type': 'none',
'variables': {
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/',
},
'actions': [
{
'action_name': 'generate_content_resources',
'variables': {
'grit_grd_file': 'content_resources.grd',
},
'includes': [ '../../../build/grit_action.gypi' ],
},
],
'includes': [ '../../../build/grit_target.gypi' ],
},
]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment