Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: content/app/strings/content_strings.gyp

Issue 423613003: Move strings from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: action Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright 2014 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 {
6 'targets': [
7 {
8 # GN version: //content/app/strings
9 'target_name': 'content_strings',
10 'type': 'none',
11 'variables': {
12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content/app/strings',
13 },
14 'actions': [
15 {
16 'action_name': 'generate_content_strings',
17 'variables': {
18 'grit_grd_file': 'content_strings.grd',
19 },
20 'includes': [ '../../../build/grit_action.gypi' ],
21 },
22 {
23 'action_name': 'rm_old_file',
tfarina 2014/08/03 14:16:57 is it fine to have it here?
jochen (gone - plz use gerrit) 2014/08/04 08:32:38 i don't think we should have such magic in our gyp
Nico 2014/08/04 16:57:41 How is a PSA better than things Just Working autom
Ken Russell (switch to Gerrit) 2014/08/05 01:07:10 I think whatever magic is needed to make this work
24 'inputs': [
25 '<(DEPTH)/build/whitespace_file.txt', # Dummy input.
26 ],
27 'outputs': [
28 '<(INTERMEDIATE_DIR)/dummy_stamp',
tfarina 2014/08/03 14:16:57 this is necessary, otherwise the ninja rule will b
tfarina 2014/08/03 14:17:32 s/will build/will be
29 ],
30 'action': [
31 'python',
32 '-c',
33 'import os, sys; os.remove(sys.argv[1])',
tfarina 2014/08/03 14:30:12 we also need os.path.exists(sys.argv[1]), otherwis
34 '<(SHARED_INTERMEDIATE_DIR)/webkit/grit/webkit_strings.h'
35 ],
36 },
37 ],
38 'includes': [ '../../../build/grit_target.gypi' ],
39 },
40 ]
41 }
OLDNEW
« no previous file with comments | « content/app/strings/content_strings.grd ('k') | content/app/strings/translations/content_strings_am.xtb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698