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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build/split_static_library.gni") | 9 import("//build/split_static_library.gni") |
10 import("//chrome/common/features.gni") | 10 import("//chrome/common/features.gni") |
11 import("//components/os_crypt/features.gni") | 11 import("//components/os_crypt/features.gni") |
12 import("//components/spellcheck/spellcheck_build_features.gni") | 12 import("//components/spellcheck/spellcheck_build_features.gni") |
13 import("//extensions/features/features.gni") | 13 import("//extensions/features/features.gni") |
14 import("//media/media_options.gni") | 14 import("//media/media_options.gni") |
15 import("//net/features.gni") | 15 import("//net/features.gni") |
16 import("//ppapi/features/features.gni") | 16 import("//ppapi/features/features.gni") |
17 import("//printing/features/features.gni") | 17 import("//printing/features/features.gni") |
| 18 import("//sandbox/features.gni") |
18 import("//third_party/protobuf/proto_library.gni") | 19 import("//third_party/protobuf/proto_library.gni") |
19 import("//ui/base/ui_features.gni") | 20 import("//ui/base/ui_features.gni") |
20 | 21 |
21 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which | 22 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which |
22 # produces a conflict for the "grit" template so we have to only include one. | 23 # produces a conflict for the "grit" template so we have to only include one. |
23 if (is_android) { | 24 if (is_android) { |
24 import("//build/config/android/rules.gni") | 25 import("//build/config/android/rules.gni") |
25 } else { | 26 } else { |
26 import("//tools/grit/grit_rule.gni") | 27 import("//tools/grit/grit_rule.gni") |
27 } | 28 } |
(...skipping 2557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2585 sources += [ | 2586 sources += [ |
2586 "chrome_browser_field_trials_mobile.cc", | 2587 "chrome_browser_field_trials_mobile.cc", |
2587 "chrome_browser_field_trials_mobile.h", | 2588 "chrome_browser_field_trials_mobile.h", |
2588 "policy/cloud/user_policy_signin_service_mobile.cc", | 2589 "policy/cloud/user_policy_signin_service_mobile.cc", |
2589 "policy/cloud/user_policy_signin_service_mobile.h", | 2590 "policy/cloud/user_policy_signin_service_mobile.h", |
2590 ] | 2591 ] |
2591 deps += [ | 2592 deps += [ |
2592 "//components/cdm/browser", | 2593 "//components/cdm/browser", |
2593 "//components/payments/android:payments_jni", | 2594 "//components/payments/android:payments_jni", |
2594 "//components/resources:components_resources", | 2595 "//components/resources:components_resources", |
| 2596 "//sandbox:sandbox_features", |
2595 "//third_party/android_opengl/etc1", | 2597 "//third_party/android_opengl/etc1", |
2596 "//third_party/android_tools:cpu_features", | 2598 "//third_party/android_tools:cpu_features", |
2597 "//third_party/libaddressinput:util", | 2599 "//third_party/libaddressinput:util", |
2598 ] | 2600 ] |
2599 | 2601 |
2600 deps -= [ "//components/storage_monitor" ] | 2602 deps -= [ "//components/storage_monitor" ] |
2601 if (use_seccomp_bpf) { | 2603 if (use_seccomp_bpf) { |
2602 defines += [ "USE_SECCOMP_BPF" ] | |
2603 deps += [ "//sandbox/linux:seccomp_bpf" ] | 2604 deps += [ "//sandbox/linux:seccomp_bpf" ] |
2604 } | 2605 } |
2605 } else { | 2606 } else { |
2606 # Non-Android. | 2607 # Non-Android. |
2607 sources += [ | 2608 sources += [ |
2608 "accessibility/invert_bubble_prefs.cc", | 2609 "accessibility/invert_bubble_prefs.cc", |
2609 "accessibility/invert_bubble_prefs.h", | 2610 "accessibility/invert_bubble_prefs.h", |
2610 "background/background_contents.cc", | 2611 "background/background_contents.cc", |
2611 "background/background_contents.h", | 2612 "background/background_contents.h", |
2612 "banners/app_banner_infobar_delegate_desktop.cc", | 2613 "banners/app_banner_infobar_delegate_desktop.cc", |
(...skipping 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4451 # linking all of the test support. | 4452 # linking all of the test support. |
4452 static_library("pepper_cdm_test_constants") { | 4453 static_library("pepper_cdm_test_constants") { |
4453 testonly = true | 4454 testonly = true |
4454 visibility = [ "//chrome/*" ] | 4455 visibility = [ "//chrome/*" ] |
4455 sources = [ | 4456 sources = [ |
4456 "media/pepper_cdm_test_constants.cc", | 4457 "media/pepper_cdm_test_constants.cc", |
4457 "media/pepper_cdm_test_constants.h", | 4458 "media/pepper_cdm_test_constants.h", |
4458 ] | 4459 ] |
4459 } | 4460 } |
4460 } | 4461 } |
OLD | NEW |