| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'includes': [ | 6 'includes': [ |
| 7 # Included to get 'mac_bundle_id' and other variables. | 7 # Included to get 'mac_bundle_id' and other variables. |
| 8 '../build/chrome_settings.gypi', | 8 '../build/chrome_settings.gypi', |
| 9 ], | 9 ], |
| 10 'variables': { | 10 'variables': { |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 ['configuration_policy==1', { | 96 ['configuration_policy==1', { |
| 97 'targets': [ | 97 'targets': [ |
| 98 { | 98 { |
| 99 # GN version: //components/policy:cloud_policy_code_generate | 99 # GN version: //components/policy:cloud_policy_code_generate |
| 100 'target_name': 'cloud_policy_code_generate', | 100 'target_name': 'cloud_policy_code_generate', |
| 101 'type': 'none', | 101 'type': 'none', |
| 102 'actions': [ | 102 'actions': [ |
| 103 { | 103 { |
| 104 'inputs': [ | 104 'inputs': [ |
| 105 'policy/resources/policy_templates.json', | 105 'policy/resources/policy_templates.json', |
| 106 » » '<(DEPTH)/chrome/VERSION', | 106 '<(DEPTH)/chrome/VERSION', |
| 107 '<(generate_policy_source_script_path)', | 107 '<(generate_policy_source_script_path)', |
| 108 ], | 108 ], |
| 109 'outputs': [ | 109 'outputs': [ |
| 110 '<(policy_constant_header_path)', | 110 '<(policy_constant_header_path)', |
| 111 '<(policy_constant_source_path)', | 111 '<(policy_constant_source_path)', |
| 112 '<(protobuf_decoder_path)', | 112 '<(protobuf_decoder_path)', |
| 113 '<(chrome_settings_proto_path)', | 113 '<(chrome_settings_proto_path)', |
| 114 '<(cloud_policy_proto_path)', | 114 '<(cloud_policy_proto_path)', |
| 115 '<(app_restrictions_path)', | 115 '<(app_restrictions_path)', |
| 116 ], | 116 ], |
| 117 'action_name': 'generate_policy_source', | 117 'action_name': 'generate_policy_source', |
| 118 'action': [ | 118 'action': [ |
| 119 'python', | 119 'python', |
| 120 '<@(generate_policy_source_script_path)', | 120 '<@(generate_policy_source_script_path)', |
| 121 '--policy-constants-header=<(policy_constant_header_path)', | 121 '--policy-constants-header=<(policy_constant_header_path)', |
| 122 '--policy-constants-source=<(policy_constant_source_path)', | 122 '--policy-constants-source=<(policy_constant_source_path)', |
| 123 '--chrome-settings-protobuf=<(chrome_settings_proto_path)', | 123 '--chrome-settings-protobuf=<(chrome_settings_proto_path)', |
| 124 '--cloud-policy-protobuf=<(cloud_policy_proto_path)', | 124 '--cloud-policy-protobuf=<(cloud_policy_proto_path)', |
| 125 '--cloud-policy-decoder=<(protobuf_decoder_path)', | 125 '--cloud-policy-decoder=<(protobuf_decoder_path)', |
| 126 '--app-restrictions-definition=<(app_restrictions_path)', | 126 '--app-restrictions-definition=<(app_restrictions_path)', |
| 127 » » '<(DEPTH)/chrome/VERSION', | 127 '<(DEPTH)/chrome/VERSION', |
| 128 '<(OS)', | 128 '<(OS)', |
| 129 '<(chromeos)', | 129 '<(chromeos)', |
| 130 'policy/resources/policy_templates.json', | 130 'policy/resources/policy_templates.json', |
| 131 ], | 131 ], |
| 132 'message': 'Generating policy source', | 132 'message': 'Generating policy source', |
| 133 'conditions': [ | 133 'conditions': [ |
| 134 ['OS!="android"', { | 134 ['OS!="android"', { |
| 135 'outputs!': [ | 135 'outputs!': [ |
| 136 '<(app_restrictions_path)', | 136 '<(app_restrictions_path)', |
| 137 ], | 137 ], |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 '--output', '<(resources_zip)', | 375 '--output', '<(resources_zip)', |
| 376 ], | 376 ], |
| 377 } | 377 } |
| 378 ], | 378 ], |
| 379 'all_dependent_settings': { | 379 'all_dependent_settings': { |
| 380 'variables': { | 380 'variables': { |
| 381 'additional_input_paths': ['<(resources_zip)'], | 381 'additional_input_paths': ['<(resources_zip)'], |
| 382 'dependencies_res_zip_paths': ['<(resources_zip)'], | 382 'dependencies_res_zip_paths': ['<(resources_zip)'], |
| 383 }, | 383 }, |
| 384 }, | 384 }, |
| 385 } | 385 }, |
| 386 { |
| 387 # GN: //components/policy/android:jni_headers |
| 388 'target_name': 'policy_jni_headers', |
| 389 'type': 'none', |
| 390 'sources': [ |
| 391 'policy/android/java/src/org/chromium/policy/AppRestrictionsImporter
.java', |
| 392 ], |
| 393 'variables': { |
| 394 'jni_gen_package': 'policy', |
| 395 }, |
| 396 'includes': [ '../build/jni_generator.gypi' ], |
| 397 }, |
| 398 { |
| 399 # GN: //components/policy/android:policy_java |
| 400 'target_name': 'policy_java', |
| 401 'type': 'none', |
| 402 'dependencies': [ |
| 403 '../base/base.gyp:base_java', |
| 404 ], |
| 405 'variables': { |
| 406 'java_in_dir': 'policy/android/java', |
| 407 }, |
| 408 'includes': [ '../build/java.gypi' ], |
| 409 }, |
| 386 ], | 410 ], |
| 387 }], | 411 }], |
| 388 ['OS=="win" and target_arch=="ia32" and configuration_policy==1', { | 412 ['OS=="win" and target_arch=="ia32" and configuration_policy==1', { |
| 389 'targets': [ | 413 'targets': [ |
| 390 { | 414 { |
| 391 'target_name': 'policy_win64', | 415 'target_name': 'policy_win64', |
| 392 'type': 'static_library', | 416 'type': 'static_library', |
| 393 'hard_dependency': 1, | 417 'hard_dependency': 1, |
| 394 'sources': [ | 418 'sources': [ |
| 395 '<(policy_constant_header_path)', | 419 '<(policy_constant_header_path)', |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 'message': | 539 'message': |
| 516 'Copy the Localizable.strings files to the manifest bundle', | 540 'Copy the Localizable.strings files to the manifest bundle', |
| 517 'process_outputs_as_mac_bundle_resources': 1, | 541 'process_outputs_as_mac_bundle_resources': 1, |
| 518 }, | 542 }, |
| 519 ], | 543 ], |
| 520 }, | 544 }, |
| 521 ], | 545 ], |
| 522 }], | 546 }], |
| 523 ], | 547 ], |
| 524 } | 548 } |
| OLD | NEW |