| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # GN version: //content:resources | 8 # GN version: //content:resources |
| 9 'target_name': 'content_resources', | 9 'target_name': 'content_resources', |
| 10 'type': 'none', | 10 'type': 'none', |
| 11 'variables': { | 11 'variables': { |
| 12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content', | 12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content', |
| 13 }, | 13 }, |
| 14 'actions': [ | 14 'actions': [ |
| 15 { | 15 { |
| 16 'action_name': 'generate_content_resources', | 16 'action_name': 'generate_content_resources', |
| 17 'variables': { | 17 'variables': { |
| 18 'grit_grd_file': 'content_resources.grd', | 18 'grit_grd_file': 'content_resources.grd', |
| 19 'grit_additional_defines': [ |
| 20 '-E', 'root_out_dir=<(PRODUCT_DIR)', |
| 21 ], |
| 19 }, | 22 }, |
| 20 'includes': [ '../build/grit_action.gypi' ], | 23 'includes': [ '../build/grit_action.gypi' ], |
| 21 }, | 24 }, |
| 22 ], | 25 ], |
| 23 'copies': [ | 26 'copies': [ |
| 24 { | 27 { |
| 25 'destination': '<(PRODUCT_DIR)', | 28 'destination': '<(PRODUCT_DIR)', |
| 26 'files': [ | 29 'files': [ |
| 27 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak' | 30 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak' |
| 28 ], | 31 ], |
| 29 }, | 32 }, |
| 30 ], | 33 ], |
| 34 'dependencies': [ |
| 35 '<(DEPTH)/mojo/mojo_shell.gyp:mojo_catalog_manifest', |
| 36 'content_app_browser_manifest', |
| 37 'content_app_renderer_manifest', |
| 38 ], |
| 31 }, | 39 }, |
| 32 ], | 40 ], |
| 33 } | 41 } |
| OLD | NEW |