Index: content/app/strings/content_strings.gyp |
diff --git a/content/app/strings/content_strings.gyp b/content/app/strings/content_strings.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..429f24c11921c697b744dd6c22da42b06acc27f0 |
--- /dev/null |
+++ b/content/app/strings/content_strings.gyp |
@@ -0,0 +1,41 @@ |
+# 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/strings |
+ 'target_name': 'content_strings', |
+ 'type': 'none', |
+ 'variables': { |
+ 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content/app/strings', |
+ }, |
+ 'actions': [ |
+ { |
+ 'action_name': 'generate_content_strings', |
+ 'variables': { |
+ 'grit_grd_file': 'content_strings.grd', |
+ }, |
+ 'includes': [ '../../../build/grit_action.gypi' ], |
+ }, |
+ { |
+ 'action_name': 'rm_old_file', |
+ 'inputs': [ |
+ '../../../build/whitespace_file.txt', # Dummy input. |
+ |
+ ], |
+ 'outputs': [ |
+ '<(INTERMEDIATE_DIR)/dummy_stamp', |
+ ], |
+ 'action': [ |
+ 'python', |
+ './rm_old_file.py', |
+ '<(SHARED_INTERMEDIATE_DIR)/webkit/grit/webkit_strings.h' |
+ ], |
+ }, |
+ ], |
+ 'includes': [ '../../../build/grit_target.gypi' ], |
+ }, |
+ ] |
+} |