summaryrefslogtreecommitdiffstats
path: root/content/content_resources.gypi
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2014-08-26 03:01:34 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-26 10:02:51 +0000
commitbce0267e0d1abfb8a279c00be1497d941020a6a5 (patch)
tree4ecbd304e5dad3c1e3720ac9f418322b682b7135 /content/content_resources.gypi
parent548625f2e2adf08641439345f8713789c98b1431 (diff)
downloadchromium_src-bce0267e0d1abfb8a279c00be1497d941020a6a5.zip
chromium_src-bce0267e0d1abfb8a279c00be1497d941020a6a5.tar.gz
chromium_src-bce0267e0d1abfb8a279c00be1497d941020a6a5.tar.bz2
Cleanup: Rename content_resources.gyp to content_resources.gypi and include in content.gyp.
TBR=benwells@chromium.org Review URL: https://codereview.chromium.org/498673005 Cr-Commit-Position: refs/heads/master@{#291876}
Diffstat (limited to 'content/content_resources.gypi')
-rw-r--r--content/content_resources.gypi33
1 files changed, 33 insertions, 0 deletions
diff --git a/content/content_resources.gypi b/content/content_resources.gypi
new file mode 100644
index 0000000..d61642f
--- /dev/null
+++ b/content/content_resources.gypi
@@ -0,0 +1,33 @@
+# Copyright (c) 2012 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:resources
+ 'target_name': 'content_resources',
+ 'type': 'none',
+ 'variables': {
+ 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content',
+ },
+ 'actions': [
+ {
+ 'action_name': 'generate_content_resources',
+ 'variables': {
+ 'grit_grd_file': 'content_resources.grd',
+ },
+ 'includes': [ '../build/grit_action.gypi' ],
+ },
+ ],
+ 'copies': [
+ {
+ 'destination': '<(PRODUCT_DIR)',
+ 'files': [
+ '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak'
+ ],
+ },
+ ],
+ },
+ ],
+}