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

Side by Side Diff: components/policy.gypi

Issue 1038903002: Upstream Android App Restrictions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments: Chris Created 5 years, 8 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
« no previous file with comments | « no previous file | components/policy/BUILD.gn » ('j') | components/policy/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 ['chromeos==1', { 330 ['chromeos==1', {
331 'sources!': [ 331 'sources!': [
332 'policy/core/common/cloud/mock_user_cloud_policy_store.cc', 332 'policy/core/common/cloud/mock_user_cloud_policy_store.cc',
333 'policy/core/common/cloud/mock_user_cloud_policy_store.h', 333 'policy/core/common/cloud/mock_user_cloud_policy_store.h',
334 ], 334 ],
335 }], 335 }],
336 ], 336 ],
337 }, 337 },
338 ], 338 ],
339 }], 339 }],
340 ['OS=="android" and configuration_policy==1', {
341 'targets': [
342 {
343 'target_name': 'app_restrictions_resources',
344 'type': 'none',
345 'variables': {
346 'resources_zip': '<(PRODUCT_DIR)/res.java/<(_target_name).zip',
347 'input_resources_dir':
348 '<(SHARED_INTERMEDIATE_DIR)/chrome/app/policy/android',
349 'create_zip_script': '../build/android/gyp/zip.py',
350 },
351 'copies': [
352 {
353 'destination': '<(input_resources_dir)/xml-v21/',
pneubeck (no reviews) 2015/03/27 09:09:24 same question as in the GN file: It seems weird to
knn 2015/03/27 11:46:49 This is mainly because I felt all outputs of a tar
354 'files': [
355 '<(SHARED_INTERMEDIATE_DIR)/policy/app_restrictions.xml'
356 ],
357 },
358 ],
359 'actions': [
360 {
361 'action_name': 'create_resources_zip',
362 'inputs': [
363 '<(create_zip_script)',
364 '<(input_resources_dir)/xml-v21/app_restrictions.xml',
365 '<(input_resources_dir)/values-v21/restriction_values.xml',
366 ],
367 'outputs': [
368 '<(resources_zip)'
369 ],
370 'action': [
371 'python', '<(create_zip_script)',
372 '--input-dir', '<(input_resources_dir)',
373 '--output', '<(resources_zip)',
374 ],
375 }
376 ],
377 'all_dependent_settings': {
pneubeck (no reviews) 2015/03/27 09:09:24 i don't know what this is for.
knn 2015/03/27 11:46:49 This is a setting used in android resource targets
378 'variables': {
379 'additional_input_paths': ['<(resources_zip)'],
380 'dependencies_res_zip_paths': ['<(resources_zip)'],
381 },
382 },
383 }
384 ],
385 }],
340 ['OS=="win" and target_arch=="ia32" and configuration_policy==1', { 386 ['OS=="win" and target_arch=="ia32" and configuration_policy==1', {
341 'targets': [ 387 'targets': [
342 { 388 {
343 'target_name': 'policy_win64', 389 'target_name': 'policy_win64',
344 'type': 'static_library', 390 'type': 'static_library',
345 'hard_dependency': 1, 391 'hard_dependency': 1,
346 'sources': [ 392 'sources': [
347 '<(policy_constant_header_path)', 393 '<(policy_constant_header_path)',
348 '<(policy_constant_source_path)', 394 '<(policy_constant_source_path)',
349 ], 395 ],
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 'message': 513 'message':
468 'Copy the Localizable.strings files to the manifest bundle', 514 'Copy the Localizable.strings files to the manifest bundle',
469 'process_outputs_as_mac_bundle_resources': 1, 515 'process_outputs_as_mac_bundle_resources': 1,
470 }, 516 },
471 ], 517 ],
472 }, 518 },
473 ], 519 ],
474 }], 520 }],
475 ], 521 ],
476 } 522 }
OLDNEW
« no previous file with comments | « no previous file | components/policy/BUILD.gn » ('j') | components/policy/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698