OLD | NEW |
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/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//native_client/build/config/nacl_defines.gni") |
8 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
9 | 10 |
10 about_credits_file = "$target_gen_dir/about_credits.html" | 11 about_credits_file = "$target_gen_dir/about_credits.html" |
11 additional_modules_list_file = | 12 additional_modules_list_file = |
12 "$root_gen_dir/chrome/browser/internal/additional_modules_list.txt" | 13 "$root_gen_dir/chrome/browser/internal/additional_modules_list.txt" |
13 | 14 |
14 gypi_values = exec_script( | 15 gypi_values = exec_script( |
15 "//build/gypi_to_gn.py", | 16 "//build/gypi_to_gn.py", |
16 [ rebase_path("../chrome_browser.gypi") ], | 17 [ rebase_path("../chrome_browser.gypi") ], |
17 "scope", | 18 "scope", |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 #TODO(GYP) Add these sources: | 122 #TODO(GYP) Add these sources: |
122 # # These files are generated by GRIT. | 123 # # These files are generated by GRIT. |
123 # '<(grit_out_dir)/grit/component_extension_resources_map.cc', | 124 # '<(grit_out_dir)/grit/component_extension_resources_map.cc', |
124 # '<(grit_out_dir)/grit/theme_resources_map.cc', | 125 # '<(grit_out_dir)/grit/theme_resources_map.cc', |
125 # '<(SHARED_INTERMEDIATE_DIR)/ui/resources/grit/ui_resources_map.cc', | 126 # '<(SHARED_INTERMEDIATE_DIR)/ui/resources/grit/ui_resources_map.cc', |
126 # | 127 # |
127 # # This file is generated by | 128 # # This file is generated by |
128 # # chrome/browser/metrics/variations/generate_resources_map.py | 129 # # chrome/browser/metrics/variations/generate_resources_map.py |
129 # '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/gener
ated_resources_map.cc', | 130 # '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/gener
ated_resources_map.cc', |
130 | 131 |
131 # TODO(GYP) Also add these nacl_defines to direct dependents. | 132 defines = nacl_defines |
132 #defines = nacl_defines | |
133 | 133 |
134 # TODO(GYP) remove this when the real webrtc target is used below. | 134 # TODO(GYP) remove this when the real webrtc target is used below. |
135 configs += [ "//content:webrtc_stub_config" ] | 135 configs += [ "//content:webrtc_stub_config" ] |
136 | 136 |
137 deps += [ | 137 deps += [ |
138 "//cc", | 138 "//cc", |
139 "//chrome/browser/extensions", | 139 "//chrome/browser/extensions", |
140 "//chrome/browser/performance_monitor", | 140 "//chrome/browser/performance_monitor", |
141 "//chrome/browser/sync_file_system:sync_file_system_proto", | 141 "//chrome/browser/sync_file_system:sync_file_system_proto", |
142 "//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_pr
oto", | 142 "//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_pr
oto", |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 # TODO(GYP) write internal action | 656 # TODO(GYP) write internal action |
657 if (false) { #if (is_chrome_branded) { | 657 if (false) { #if (is_chrome_branded) { |
658 action("chrome_internal_resources_gen") { | 658 action("chrome_internal_resources_gen") { |
659 # TODO(GYP) | 659 # TODO(GYP) |
660 } | 660 } |
661 } else { | 661 } else { |
662 group("chrome_internal_resources_gen") { | 662 group("chrome_internal_resources_gen") { |
663 # Empty placeholder. | 663 # Empty placeholder. |
664 } | 664 } |
665 } | 665 } |
OLD | NEW |