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

Side by Side Diff: chrome/renderer/BUILD.gn

Issue 2944153002: Mojo JS bindings: introduce new targets "foo_js"/"foo_js_data_deps" for mojom("foo"). (Closed)
Patch Set: . Created 3 years, 6 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 | « chrome/browser/BUILD.gn ('k') | content/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/config/features.gni") 5 import("//build/config/features.gni")
6 import("//chrome/common/features.gni") 6 import("//chrome/common/features.gni")
7 import("//components/spellcheck/spellcheck_build_features.gni") 7 import("//components/spellcheck/spellcheck_build_features.gni")
8 import("//extensions/features/features.gni") 8 import("//extensions/features/features.gni")
9 import("//media/media_options.gni") 9 import("//media/media_options.gni")
10 import("//ppapi/features/features.gni") 10 import("//ppapi/features/features.gni")
11 import("//tools/grit/grit_rule.gni") 11 import("//tools/grit/grit_rule.gni")
12 12
13 grit("resources") { 13 grit("resources") {
14 source = "resources/renderer_resources.grd" 14 source = "resources/renderer_resources.grd"
15 defines = chrome_grit_defines 15 defines = chrome_grit_defines
16 output_dir = "$root_gen_dir/chrome" 16 output_dir = "$root_gen_dir/chrome"
17 output_name = "renderer_resources" 17 output_name = "renderer_resources"
18 outputs = [ 18 outputs = [
19 "grit/renderer_resources.h", 19 "grit/renderer_resources.h",
20 "renderer_resources_100_percent.pak", 20 "renderer_resources_100_percent.pak",
21 "renderer_resources_200_percent.pak", 21 "renderer_resources_200_percent.pak",
22 "renderer_resources_300_percent.pak", 22 "renderer_resources_300_percent.pak",
23 ] 23 ]
24 grit_flags = [ 24 grit_flags = [
25 "-E", 25 "-E",
26 "mojom_root=" + rebase_path(root_gen_dir, root_build_dir), 26 "mojom_root=" + rebase_path(root_gen_dir, root_build_dir),
27 ] 27 ]
28 deps = [ 28 deps = [
29 "//chrome/common/media_router/mojo:media_controller__generator", 29 "//chrome/common/media_router/mojo:media_controller_js",
30 "//chrome/common/media_router/mojo:media_router__generator", 30 "//chrome/common/media_router/mojo:media_router_js",
31 "//mojo/common:common_custom_types__generator", 31 "//mojo/common:common_custom_types_js",
32 "//net/interfaces:interfaces__generator", 32 "//net/interfaces:interfaces_js",
33 "//url/mojo:url_mojom_gurl__generator", 33 "//url/mojo:url_mojom_gurl_js",
34 "//url/mojo:url_mojom_origin__generator", 34 "//url/mojo:url_mojom_origin_js",
35 ] 35 ]
36 } 36 }
37 37
38 static_library("renderer") { 38 static_library("renderer") {
39 sources = [ 39 sources = [
40 "app_categorizer.cc", 40 "app_categorizer.cc",
41 "app_categorizer.h", 41 "app_categorizer.h",
42 "benchmarking_extension.cc", 42 "benchmarking_extension.cc",
43 "benchmarking_extension.h", 43 "benchmarking_extension.h",
44 "chrome_content_renderer_client.cc", 44 "chrome_content_renderer_client.cc",
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 ] 429 ]
430 } 430 }
431 431
432 if (is_android) { 432 if (is_android) {
433 sources -= [ 433 sources -= [
434 "safe_browsing/mock_feature_extractor_clock.cc", 434 "safe_browsing/mock_feature_extractor_clock.cc",
435 "safe_browsing/mock_feature_extractor_clock.h", 435 "safe_browsing/mock_feature_extractor_clock.h",
436 ] 436 ]
437 } 437 }
438 } 438 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698