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

Unified Diff: ios/chrome/ios_chrome_resources.gyp

Issue 809333003: Upstream //ios/chrome/browser/translate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/ios_chrome_resources.gyp
diff --git a/ios/chrome/ios_chrome_resources.gyp b/ios/chrome/ios_chrome_resources.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..8f770881d19407b02f743eddf1bd99079d5a8da5
--- /dev/null
+++ b/ios/chrome/ios_chrome_resources.gyp
@@ -0,0 +1,42 @@
+# Copyright 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.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ 'grit_base_dir': '<(SHARED_INTERMEDIATE_DIR)',
+ 'grit_out_dir': '<(grit_base_dir)/ios/chrome',
+ 'grit_defines': [
+ # TODO(lliabraa): Remove this whitelist.
+ '-w', '<(DEPTH)/ios/build/grit_whitelist.txt',
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'ios_theme_resources_gen',
+ 'type': 'none',
+ 'actions': [
+ {
+ 'action_name': 'ios_theme_resources',
+ 'variables': {
+ 'grit_grd_file': 'app/theme/ios_theme_resources.grd',
+ },
+ 'includes': [ '../../build/grit_action.gypi' ],
+ },
+ ],
+ 'includes': [ '../../build/grit_target.gypi' ],
+ # Override the exported include-dirs; ios_theme_resources.h should only be
+ # referencable as ios/chrome/grit/, to allow DEPS-time checking of usage.
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(grit_base_dir)',
+ ],
+ 'include_dirs!': [
+ '<(grit_out_dir)',
+ ],
+ },
+ },
+ ],
+}
+

Powered by Google App Engine
This is Rietveld 408576698