The sweeping legislation determines everything from how many ships, aircraft and missile systems are bought, to a pay raise for the troops, to how to address geopolitical threats.