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

Side by Side Diff: ios/chrome/ios_chrome_resources.gyp

Issue 1452593002: Add support for building "ios_chrome_unittests" with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui_gfx
Patch Set: Created 5 years, 1 month 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
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'grit_base_dir': '<(SHARED_INTERMEDIATE_DIR)', 8 'grit_base_dir': '<(SHARED_INTERMEDIATE_DIR)',
9 'grit_out_dir': '<(grit_base_dir)/ios/chrome', 9 'grit_out_dir': '<(grit_base_dir)/ios/chrome',
10 'ui_string_overrider_inputs': [ 10 'ui_string_overrider_inputs': [
(...skipping 22 matching lines...) Expand all
33 'targets': [ 33 'targets': [
34 { 34 {
35 'target_name': 'ios_chrome_resources', 35 'target_name': 'ios_chrome_resources',
36 'type': 'none', 36 'type': 'none',
37 'dependencies': [ 37 'dependencies': [
38 'ios_strings_gen', 38 'ios_strings_gen',
39 'ios_theme_resources_gen', 39 'ios_theme_resources_gen',
40 ], 40 ],
41 }, 41 },
42 { 42 {
43 # GN version: //ios/chrome/app/strings
43 'target_name': 'ios_strings_gen', 44 'target_name': 'ios_strings_gen',
44 'type': 'none', 45 'type': 'none',
45 'hard_dependency': 1, 46 'hard_dependency': 1,
46 'actions': [ 47 'actions': [
47 { 48 {
49 # GN version: //ios/chrome/app/strings:ios_locale_settings
48 'action_name': 'generate_ios_locale_settings', 50 'action_name': 'generate_ios_locale_settings',
49 'variables': { 51 'variables': {
50 'grit_whitelist': '', 52 'grit_whitelist': '',
51 'grit_grd_file': 'app/strings/ios_locale_settings.grd', 53 'grit_grd_file': 'app/strings/ios_locale_settings.grd',
52 }, 54 },
53 'includes': [ '../../build/grit_action.gypi' ], 55 'includes': [ '../../build/grit_action.gypi' ],
54 }, 56 },
55 { 57 {
58 # GN version: //ios/chrome/app/strings:ios_strings
56 'action_name': 'generate_ios_strings', 59 'action_name': 'generate_ios_strings',
57 'variables': { 60 'variables': {
58 'grit_whitelist': '', 61 'grit_whitelist': '',
59 'grit_grd_file': 'app/strings/ios_strings.grd', 62 'grit_grd_file': 'app/strings/ios_strings.grd',
60 }, 63 },
61 'includes': [ '../../build/grit_action.gypi' ], 64 'includes': [ '../../build/grit_action.gypi' ],
62 }, 65 },
63 { 66 {
67 # GN version: //ios/chrome/app/strings:ios_chromium_strings
64 'action_name': 'generate_ios_chromium_strings', 68 'action_name': 'generate_ios_chromium_strings',
65 'variables': { 69 'variables': {
66 'grit_whitelist': '', 70 'grit_whitelist': '',
67 'grit_grd_file': 'app/strings/ios_chromium_strings.grd', 71 'grit_grd_file': 'app/strings/ios_chromium_strings.grd',
68 }, 72 },
69 'includes': [ '../../build/grit_action.gypi' ], 73 'includes': [ '../../build/grit_action.gypi' ],
70 }, 74 },
71 { 75 {
76 # GN version: //ios/chrome/app/strings:ios_google_chrome_strings
72 'action_name': 'generate_ios_google_chrome_strings', 77 'action_name': 'generate_ios_google_chrome_strings',
73 'variables': { 78 'variables': {
74 'grit_whitelist': '', 79 'grit_whitelist': '',
75 'grit_grd_file': 'app/strings/ios_google_chrome_strings.grd', 80 'grit_grd_file': 'app/strings/ios_google_chrome_strings.grd',
76 }, 81 },
77 'includes': [ '../../build/grit_action.gypi' ], 82 'includes': [ '../../build/grit_action.gypi' ],
78 }, 83 },
79 ], 84 ],
80 'includes': [ '../../build/grit_target.gypi' ], 85 'includes': [ '../../build/grit_target.gypi' ],
81 # Override the exported include-dirs; ios/chrome/grit/ios_*strings.h 86 # Override the exported include-dirs; ios/chrome/grit/ios_*strings.h
82 # should only be referenceable as ios/chrome/grit to allow DEPS-time 87 # should only be referenceable as ios/chrome/grit to allow DEPS-time
83 # checking of usage. 88 # checking of usage.
84 'direct_dependent_settings': { 89 'direct_dependent_settings': {
85 'include_dirs': [ 90 'include_dirs': [
86 '<(grit_base_dir)', 91 '<(grit_base_dir)',
87 ], 92 ],
88 'include_dirs!': [ 93 'include_dirs!': [
89 '<(grit_out_dir)', 94 '<(grit_out_dir)',
90 ], 95 ],
91 } 96 }
92 }, 97 },
93 { 98 {
99 # GN version: //ios/chrome/app/theme
94 'target_name': 'ios_theme_resources_gen', 100 'target_name': 'ios_theme_resources_gen',
95 'type': 'none', 101 'type': 'none',
96 'hard_dependency': 1, 102 'hard_dependency': 1,
97 'actions': [ 103 'actions': [
98 { 104 {
99 'action_name': 'ios_theme_resources', 105 'action_name': 'ios_theme_resources',
100 'variables': { 106 'variables': {
101 'grit_whitelist': '', 107 'grit_whitelist': '',
102 'grit_grd_file': 'app/theme/ios_theme_resources.grd', 108 'grit_grd_file': 'app/theme/ios_theme_resources.grd',
103 }, 109 },
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 '../../components/components.gyp:variations_service', 253 '../../components/components.gyp:variations_service',
248 'ios_chrome_ui_string_overrider_factory_gen', 254 'ios_chrome_ui_string_overrider_factory_gen',
249 ], 255 ],
250 'sources': [ 256 'sources': [
251 '<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).cc', 257 '<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).cc',
252 '<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).h', 258 '<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).h',
253 ], 259 ],
254 }, 260 },
255 ], 261 ],
256 } 262 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698