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

Side by Side Diff: third_party/WebKit/public/blink_resources.gyp

Issue 1400383002: Separate desktop and mobile media player controls image resources. Base URL: https://chromium.googlesource.com/chromium/src.git@new_media_ui_stale_pngs
Patch Set: added desktop variants. Created 4 years, 9 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'blink_resources', 8 'target_name': 'blink_resources',
9 'type': 'none', 9 'type': 'none',
10 'variables': { 10 'variables': {
(...skipping 12 matching lines...) Expand all
23 'include_dirs': [ 23 'include_dirs': [
24 '<(SHARED_INTERMEDIATE_DIR)', 24 '<(SHARED_INTERMEDIATE_DIR)',
25 ], 25 ],
26 }, 26 },
27 }, 27 },
28 { 28 {
29 'target_name': 'blink_image_resources', 29 'target_name': 'blink_image_resources',
30 'type': 'none', 30 'type': 'none',
31 'variables': { 31 'variables': {
32 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources', 32 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources',
33 'conditions': [
34 [ 'OS == "android"', {
35 'platform_type' : 'mobile',
36 }, {
37 'platform_type' : 'desktop',
38 } ],
39 ],
33 }, 40 },
34 'actions': [ 41 'actions': [
35 { 42 {
36 'action_name': 'generate_blink_image_resources', 43 'action_name': 'generate_blink_image_resources',
37 'variables': { 44 'variables': {
38 'grit_grd_file': 'blink_image_resources.grd', 45 'grit_grd_file': 'blink_image_resources.grd',
46 'grit_additional_defines': [
47 '-E', 'platform_type=<(platform_type)',
48 ],
39 }, 49 },
40 'includes': [ '../../../build/grit_action.gypi' ], 50 'includes': [ '../../../build/grit_action.gypi' ],
41 }, 51 },
42 ], 52 ],
43 'direct_dependent_settings': { 53 'direct_dependent_settings': {
44 'include_dirs': [ 54 'include_dirs': [
45 '<(SHARED_INTERMEDIATE_DIR)', 55 '<(SHARED_INTERMEDIATE_DIR)',
46 ], 56 ],
47 }, 57 },
48 }, 58 },
49 ], 59 ],
50 } 60 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698