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

Side by Side Diff: chrome/BUILD.gn

Issue 2339513002: 🎀 Move repack_pseudo_locales //chrome -> //chrome/test (Closed)
Patch Set: rebase Created 4 years, 3 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 | chrome/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/locales.gni") 9 import("//build/config/locales.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after
1357 1357
1358 # Force anybody that depends on this to get the default apps as data files. 1358 # Force anybody that depends on this to get the default apps as data files.
1359 data = process_file_template(sources, outputs) 1359 data = process_file_template(sources, outputs)
1360 } 1360 }
1361 } 1361 }
1362 1362
1363 group("packed_resources") { 1363 group("packed_resources") {
1364 public_deps = [ 1364 public_deps = [
1365 ":repack_chrome_100_percent", 1365 ":repack_chrome_100_percent",
1366 ":repack_locales_pack", 1366 ":repack_locales_pack",
1367 ":repack_pseudo_locales_pack",
1368 ] 1367 ]
1369 1368
1370 if (is_chrome_branded && !is_mac && !is_android) { 1369 if (is_chrome_branded && !is_mac && !is_android) {
1371 public_deps += [ ":default_apps" ] 1370 public_deps += [ ":default_apps" ]
1372 } 1371 }
1373 1372
1374 if (enable_hidpi) { 1373 if (enable_hidpi) {
1375 public_deps += [ ":repack_chrome_200_percent" ] 1374 public_deps += [ ":repack_chrome_200_percent" ]
1376 } 1375 }
1377 } 1376 }
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1483 } 1482 }
1484 1483
1485 if (enable_resource_whitelist_generation) { 1484 if (enable_resource_whitelist_generation) {
1486 repack_whitelist = android_resource_whitelist 1485 repack_whitelist = android_resource_whitelist
1487 deps = [ 1486 deps = [
1488 ":resource_whitelist", 1487 ":resource_whitelist",
1489 ] 1488 ]
1490 } 1489 }
1491 } 1490 }
1492 1491
1493 chrome_repack_locales("repack_pseudo_locales_pack") {
1494 visibility = [ ":*" ]
1495
1496 input_locales = [ "fake-bidi" ]
1497
1498 if (is_mac) {
1499 output_locales = [ "fake_bidi" ] # Mac uses underscores.
1500 } else {
1501 output_locales = [ "fake-bidi" ]
1502 }
1503
1504 if (enable_resource_whitelist_generation) {
1505 repack_whitelist = android_resource_whitelist
1506 deps = [
1507 ":resource_whitelist",
1508 ]
1509 }
1510 }
1511
1512 # Generates a rule to repack a set of resources, substituting a given string 1492 # Generates a rule to repack a set of resources, substituting a given string
1513 # in for the percentage (e.g. "100", "200"). It generates the repacked files in 1493 # in for the percentage (e.g. "100", "200"). It generates the repacked files in
1514 # the "gen" directory, and then introduces a copy rule to copy it to the root 1494 # the "gen" directory, and then introduces a copy rule to copy it to the root
1515 # build directory. 1495 # build directory.
1516 # 1496 #
1517 # It's not clear why this two-step dance is necessary as opposed to just 1497 # It's not clear why this two-step dance is necessary as opposed to just
1518 # generating the file in the destination. However, this is what the GYP build 1498 # generating the file in the destination. However, this is what the GYP build
1519 # does, and for maintenance purposes, this keeps the same files in the same 1499 # does, and for maintenance purposes, this keeps the same files in the same
1520 # place between the two builds when possible. 1500 # place between the two builds when possible.
1521 # 1501 #
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1799 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1779 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1800 "//chrome/tools/build/linux/chrome-wrapper", 1780 "//chrome/tools/build/linux/chrome-wrapper",
1801 "//third_party/xdg-utils/scripts/xdg-mime", 1781 "//third_party/xdg-utils/scripts/xdg-mime",
1802 "//third_party/xdg-utils/scripts/xdg-settings", 1782 "//third_party/xdg-utils/scripts/xdg-settings",
1803 ] 1783 ]
1804 outputs = [ 1784 outputs = [
1805 "$root_out_dir/{{source_file_part}}", 1785 "$root_out_dir/{{source_file_part}}",
1806 ] 1786 ]
1807 } 1787 }
1808 } 1788 }
OLDNEW
« no previous file with comments | « no previous file | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698